[oe] [PATCH] libeigen: remove obsolete setting for default out-of-tree build

Lukas Bulwahn lukas.bulwahn at oss.bmw-carit.de
Thu Jun 26 14:56:22 UTC 2014


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>
---
 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}"
-- 
1.9.3




More information about the Openembedded-devel mailing list