llvm: fix parallel build
PATCH 1/1 llvm: fix parallel build
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 <[email protected]>
--- meta-oe/recipes-core/llvm/llvm.inc | 5 +++++ 1 file changed, 5 insertions(+)
meta-oe/recipes-core/llvm/llvm.inc +5 -0
@@ -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.
Signature · 1 line
1.8.3