rust-llvm.inc: work around build race

The way LLVM builds its native utilities is not safe (it runs a
recursive cmake in the same work directory as the main instance).  To
prevent those instances from stepping on each other, we'll build the two
native utilities separately before starting the main build.

Fixes issue #143
This commit is contained in:
Steven Walter
2017-01-31 08:16:12 -05:00
parent a58ea82720
commit 3276afb4ec
+2
View File
@@ -80,6 +80,8 @@ do_compile_prepend_class-target() {
}
do_compile() {
oe_runmake NATIVE_LIB_LLVMTABLEGEN
oe_runmake NativeLLVMConfig
oe_runmake
}