* [meta-oe][PATCH] llvm: fix parallel build
@ 2013-05-31 13:30 Jonathan Liu
0 siblings, 0 replies; only message in thread
From: Jonathan Liu @ 2013-05-31 13:30 UTC (permalink / raw)
To: openembedded-devel
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@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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-05-31 13:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-31 13:30 [meta-oe][PATCH] llvm: fix parallel build Jonathan Liu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox