* 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.
(From meta-openembedded rev:
a3ccaa1009bcbb852f2a95c5982df2af14b1b7ad)
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
${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.
SRC_URI_append_libc-uclibc = " file://arm_fenv_uclibc.patch "
-PARALLEL_MAKE_virtclass-native = ""
-
LLVM_EXTRA_ARCH = "X86;"
LLVM_EXTRA_ARCH_x86 = ""
LLVM_EXTRA_ARCH_x86-64 = ""