about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorMartin Nowack <m.nowack@imperial.ac.uk>2022-03-25 23:09:24 +0000
committerCristian Cadar <c.cadar@imperial.ac.uk>2022-03-30 12:18:59 +0100
commit161fbe892395b1a387580a6e867d74118375687b (patch)
tree52d29d1e471716bae0305ab004ab1f81696ca8d7
parent9678ab3a6ac1fb08c12899350586ddd1548046ed (diff)
downloadklee-161fbe892395b1a387580a6e867d74118375687b.tar.gz
Build libcxx in parallel if possible
-rw-r--r--scripts/build/p-libcxx.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/p-libcxx.inc b/scripts/build/p-libcxx.inc
index 27fe4a61..3ee41660 100644
--- a/scripts/build/p-libcxx.inc
+++ b/scripts/build/p-libcxx.inc
@@ -53,7 +53,7 @@ build_libcxx() {
     export LLVM_COMPILER_PATH="$(dirname "${BITCODE_CC}")"
 
     cmake "${cmake_flags[@]}" "${LIBCXX_SRC}/llvm"
-    make cxx
+    make cxx -j$(nproc) || make cxx
   )
 }