[oe-commits] Lukas Bulwahn : libeigen: remove obsolete setting for default out-of-tree build
git at git.openembedded.org
git at git.openembedded.org
Tue Jul 15 13:09:08 UTC 2014
Module: meta-openembedded.git
Branch: master-next
Commit: ab1f825a8e5941cb9024ac3c632e28cfb8bf9753
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=ab1f825a8e5941cb9024ac3c632e28cfb8bf9753
Author: Lukas Bulwahn <lukas.bulwahn at oss.bmw-carit.de>
Date: Thu Jun 26 16:56:22 2014 +0200
libeigen: remove obsolete setting for default out-of-tree build
Since commit 783fb88f at openembedded-core, out-of-tree builds of
cmake-based recipes are the default, and the variables
OECMAKE_BUILDPATH and OECMAKE_SOURCEPATH were deprecated.
With the commit 2c23d7ab at openembedded-core, the variable
OECMAKE_SOURCEPATH was put back into action, but this causes the
libeigen recipe to fail as OECMAKE_SOURCEPATH is set in the
recipe, but OECMAKE_BUILDPATH is set to the bbclass default.
This commit simply removes both variables from the libeigen recipe
and hence sets the recipe to do a default out-of-tree build.
This resolves the build failure of libeigen with
2c23d7ab at openembedded-core, and furthermore, the adjusted recipe
still works with the cmake.bbclass of 783fb88f at openembedded-core.
The build failure was discovered during the regression testing of
the meta-ros layer. The exact build error message and its
investigation is recorded in issue #276 of the meta-ros issue
tracker at https://github.com/bmwcarit/meta-ros/issues/276.
Signed-off-by: Lukas Bulwahn <lukas.bulwahn at oss.bmw-carit.de>
Tested-by: Ash Charles <ashcharles at gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
meta-oe/recipes-support/libeigen/libeigen_3.2.0.bb | 3 ---
1 file changed, 3 deletions(-)
diff --git a/meta-oe/recipes-support/libeigen/libeigen_3.2.0.bb b/meta-oe/recipes-support/libeigen/libeigen_3.2.0.bb
index 4183f05..de5186f 100644
--- a/meta-oe/recipes-support/libeigen/libeigen_3.2.0.bb
+++ b/meta-oe/recipes-support/libeigen/libeigen_3.2.0.bb
@@ -13,9 +13,6 @@ S = "${WORKDIR}/eigen-eigen-ffa86ffb5570"
inherit cmake
-OECMAKE_SOURCEPATH = ".."
-OECMAKE_BUILDPATH = "build"
-
EXTRA_OECMAKE += "-Dpkg_config_libdir=${libdir}"
FILES_${PN} = "${includedir} ${libdir}"
More information about the Openembedded-commits
mailing list