[oe] [meta-oe][PATCH] llvm: fix parallel build
Jonathan Liu
net147 at gmail.com
Fri May 31 13:30:30 UTC 2013
Doing a parallel build may result in the following:
*** No rule to make target `native/bin/tblgen', needed by `include/llvm/Intrinsics.gen.tmp'
Avoid this by building tblgen first before building the rest of llvm.
Signed-off-by: Jonathan Liu <net147 at gmail.com>
---
meta-oe/recipes-core/llvm/llvm.inc | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/meta-oe/recipes-core/llvm/llvm.inc b/meta-oe/recipes-core/llvm/llvm.inc
index 546a40b..a56fda0 100644
--- a/meta-oe/recipes-core/llvm/llvm.inc
+++ b/meta-oe/recipes-core/llvm/llvm.inc
@@ -104,6 +104,11 @@ FILES_${PN}-dev = " \
${libdir}/llvm${LLVM_RELEASE}/*.a \
"
+base_do_compile_prepend() {
+ # Avoid *** No rule to make target `native/bin/tblgen', needed by `include/llvm/Intrinsics.gen.tmp'
+ oe_runmake tblgen
+}
+
do_install() {
# Install into a private directory to be able to reorganize the files.
--
1.8.3
More information about the Openembedded-devel
mailing list