[oe] [meta-oe][dylan][PATCH 04/12] llvm2.9: remove X86 from LLVM_TARGETS_TO_BUILD

Martin Jansa martin.jansa at gmail.com
Tue Apr 30 16:32:54 UTC 2013


* when building for qemux86* it tries to build X86 twice and fails with:
  | CMake Error at lib/Target/CMakeLists.txt:24 (add_subdirectory):
  |   The binary directory
  |
  |     /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/x86_64-oe-linux/llvm2.9/2.9-r2.0/llvm-2.9/build/lib/Target/X86
  |
  |   is already used to build a source directory.  It cannot be used to build
  |   source directory
  |
  |     /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/x86_64-oe-linux/llvm2.9/2.9-r2.0/llvm-2.9/lib/Target/X86
  |
  |   Specify a unique binary directory name.

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta-oe/recipes-core/llvm/llvm2.9_2.9.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-core/llvm/llvm2.9_2.9.bb b/meta-oe/recipes-core/llvm/llvm2.9_2.9.bb
index dc7f873..04195d9 100644
--- a/meta-oe/recipes-core/llvm/llvm2.9_2.9.bb
+++ b/meta-oe/recipes-core/llvm/llvm2.9_2.9.bb
@@ -19,7 +19,7 @@ PARALLEL_MAKE_virtclass-native = ""
 
 EXTRA_OECMAKE = "\
     -DLLVM_TABLEGEN=${STAGING_BINDIR_NATIVE}/llvm${LLVM_RELEASE}/tblgen \
-    -DLLVM_TARGETS_TO_BUILD="X86;${LLVM_ARCH}" \
+    -DLLVM_TARGETS_TO_BUILD="${LLVM_ARCH}" \
     -DCMAKE_LINKER:FILEPATH=${LD} \
     -DCMAKE_AR:FILEPATH=${AR} \
     -DCMAKE_OBJCOPY:FILEPATH=${OBJCOPY} \
-- 
1.8.2.1





More information about the Openembedded-devel mailing list