diff options
| author | Clément Péron <peron.clem@gmail.com> | 2025-10-10 13:49:55 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-10-10 19:24:38 -0700 |
| commit | d47510d4175010802b361bcfc8e1ad55599d5590 (patch) | |
| tree | 67d248202de9c44c338b23fcf8cd2d29222f24bf /meta-oe/recipes-support/libeigen/libeigen_3.4.1.bb | |
| parent | c5d239faa6224f581c6570ff9c06e34f21ddc58d (diff) | |
| download | meta-openembedded-d47510d4175010802b361bcfc8e1ad55599d5590.tar.gz | |
libeigen: upgrade 3.4.0 -> 3.4.1
- Move Eigen BLAS, LAPACK as packageconfig as they requires Fortran compiler
- Disable building TESTING
- Remove patch that has been merged
Signed-off-by: Clément Péron <peron.clem@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/libeigen/libeigen_3.4.1.bb')
| -rw-r--r-- | meta-oe/recipes-support/libeigen/libeigen_3.4.1.bb | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libeigen/libeigen_3.4.1.bb b/meta-oe/recipes-support/libeigen/libeigen_3.4.1.bb new file mode 100644 index 0000000000..c5421e4621 --- /dev/null +++ b/meta-oe/recipes-support/libeigen/libeigen_3.4.1.bb | |||
| @@ -0,0 +1,39 @@ | |||
| 1 | DESCRIPTION = "Eigen is a C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms." | ||
| 2 | HOMEPAGE = "http://eigen.tuxfamily.org/" | ||
| 3 | LICENSE = "MPL-2.0 & Apache-2.0 & BSD-3-Clause & GPL-2.0-only & Minpack" | ||
| 4 | # The GPL code is only used for benchmark tests and does not affect what is installed. | ||
| 5 | LICENSE:${PN} = "MPL-2.0 & Apache-2.0 & BSD-3-Clause & Minpack" | ||
| 6 | LICENSE:${PN}-dbg = "MPL-2.0 & Apache-2.0 & BSD-3-Clause & Minpack" | ||
| 7 | LICENSE:${PN}-dev = "MPL-2.0 & Apache-2.0 & BSD-3-Clause & Minpack" | ||
| 8 | LIC_FILES_CHKSUM = "file://COPYING.MPL2;md5=815ca599c9df247a0c7f619bab123dad \ | ||
| 9 | file://COPYING.APACHE;md5=8de23b8e93c63005353056b2475e9aa5 \ | ||
| 10 | file://COPYING.BSD;md5=2dd0510ee95e59ca28834b875bc96596 \ | ||
| 11 | file://COPYING.GPL;md5=d32239bcb673463ab874e80d47fae504 \ | ||
| 12 | file://COPYING.MINPACK;md5=71d91b0f75ce79a75d3108a72bef8116 \ | ||
| 13 | " | ||
| 14 | |||
| 15 | SRC_URI = "git://gitlab.com/libeigen/eigen.git;protocol=http;branch=3.4 \ | ||
| 16 | file://0001-Remove-LGPL-Code-and-references.patch \ | ||
| 17 | " | ||
| 18 | |||
| 19 | SRCREV = "d71c30c47858effcbd39967097a2d99ee48db464" | ||
| 20 | |||
| 21 | |||
| 22 | inherit cmake | ||
| 23 | |||
| 24 | PACKAGECONFIG ??= "" | ||
| 25 | |||
| 26 | PACKAGECONFIG[blas] = "-DEIGEN_BUILD_BLAS=ON,-DEIGEN_BUILD_BLAS=OFF,libgfortran" | ||
| 27 | PACKAGECONFIG[lapack] = "-DEIGEN_BUILD_LAPACK=ON,-DEIGEN_BUILD_LAPACK=OFF,libgfortran" | ||
| 28 | |||
| 29 | EXTRA_OECMAKE += " \ | ||
| 30 | -DEIGEN_BUILD_TESTING=OFF \ | ||
| 31 | " | ||
| 32 | |||
| 33 | FILES:${PN}-dev += "${datadir}/eigen3/cmake" | ||
| 34 | |||
| 35 | # ${PN} is empty so we need to tweak -dev and -dbg package dependencies | ||
| 36 | RDEPENDS:${PN}-dev = "" | ||
| 37 | RRECOMMENDS:${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})" | ||
| 38 | |||
| 39 | BBCLASSEXTEND = "native nativesdk" | ||
