From 27d1887a1c740b1f85a0072382b953f7213287df Mon Sep 17 00:00:00 2001 From: Steven Walter Date: Tue, 31 Jan 2017 08:16:12 -0500 Subject: [PATCH] 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 --- recipes-devtools/rust/rust-llvm.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes-devtools/rust/rust-llvm.inc b/recipes-devtools/rust/rust-llvm.inc index d4d9b37..4f5fa29 100644 --- a/recipes-devtools/rust/rust-llvm.inc +++ b/recipes-devtools/rust/rust-llvm.inc @@ -80,6 +80,8 @@ do_compile_prepend_class-target() { } do_compile() { + oe_runmake NATIVE_LIB_LLVMTABLEGEN + oe_runmake NativeLLVMConfig oe_runmake }