From 3276afb4ec7243b037a5a4f4deb23a02e0d4f5e9 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 2706ae3..8c78b44 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 }