Przeglądaj źródła

Keep memory usage under control when running compile_clang

Seth Brenith 7 lat temu
rodzic
commit
7abd4d991a
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      tools/compile_clang.sh

+ 1 - 1
tools/compile_clang.sh

@@ -112,7 +112,7 @@ if [ ! -d ./cc-toolchain/src/llvm/projects/compiler-rt ]; then
     mkdir binutils_compile; cd binutils_compile
     LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${ROOT}/build/lib/"
     ../binutils/configure --enable-gold --enable-plugins --disable-werror --prefix="${ROOT}/build"
-    make -j
+    make -j4
     make install
     if [ $? != 0 ]; then
         exit 1