blob: ac463038aac73fc94bd3b5bf53fccc671f85a8a3 [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001DESCRIPTION = "Ceres Solver is an open source C++ library for modeling and solving large, complicated optimization problems."
2AUTHOR = "Sameer Agarwal and Keir Mierle and Others"
3HOMEPAGE = "http://ceres-solver.org/"
Brad Bishop316dfdd2018-06-25 12:45:53 -04004LICENSE = "BSD-3-Clause"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=35e00f0c4c96a0820a03e0b31e6416be"
6
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08007DEPENDS = "libeigen glog"
8
Brad Bishop316dfdd2018-06-25 12:45:53 -04009SRC_URI = "git://github.com/ceres-solver/ceres-solver.git"
10SRCREV = "facb199f3eda902360f9e1d5271372b7e54febe1"
11
12S = "${WORKDIR}/git"
13
Brad Bishop316dfdd2018-06-25 12:45:53 -040014inherit cmake
15
Brad Bishopa891d152019-09-13 06:17:45 -040016# We don't want path to eigen3 in ceres-solver RSS to be
17# used by components which use CeresConfig.cmake from their
18# own RSS
19# ceres-solver/1.14-r0/packages-split/ceres-solver-dev/usr/lib/cmake/Ceres/CeresConfig.cmake: set(Eigen3_DIR ceres-solver/1.14-r0/recipe-sysroot/usr/share/eigen3/cmake)
20# ceres-solver/1.14-r0/packages-split/ceres-solver-dev/usr/lib/cmake/Ceres/CeresConfig.cmake: list(APPEND EIGEN_INCLUDE_DIR_HINTS ceres-solver/1.14-r0/recipe-sysroot/usr/include/eigen3)
21# ceres-solver/1.14-r0/packages-split/ceres-solver-dev/usr/lib/cmake/Ceres/CeresConfig.cmake: set(glog_DIR ceres-solver/1.14-r0/recipe-sysroot/usr/lib/cmake/glog)
22SSTATE_SCAN_FILES += "*.cmake"
23
24PACKAGECONFIG ??= ""
25
26# suitesparse* recipes will be in meta-ros layer
27PACKAGECONFIG[suitesparse] = "-DSUITESPARSE=ON,-DSUITESPARSE=OFF,suitesparse-config suitesparse-amd suitesparse-camd suitesparse-colamd suitesparse-ccolamd suitesparse-cholmod suitesparse-metis suitesparse-spqr"
28PACKAGECONFIG[cxsparse] = "-DCXSPARSE=ON,-DCXSPARSE=OFF,suitesparse-cxsparse"
29PACKAGECONFIG[lapack] = "-DLAPACK=ON,-DLAPACK=OFF,lapack"
30
Brad Bishop316dfdd2018-06-25 12:45:53 -040031# Only a static library and headers are created
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080032RDEPENDS_${PN}-dev = ""
33RRECOMMENDS_${PN}-dev = "${PN}-staticdev"
34RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})"