Explorar o código

Keep memory usage under control when running compile_clang

Seth Brenith %!s(int64=7) %!d(string=hai) anos
pai
achega
7abd4d991a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
     mkdir binutils_compile; cd binutils_compile
     LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${ROOT}/build/lib/"
     LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${ROOT}/build/lib/"
     ../binutils/configure --enable-gold --enable-plugins --disable-werror --prefix="${ROOT}/build"
     ../binutils/configure --enable-gold --enable-plugins --disable-werror --prefix="${ROOT}/build"
-    make -j
+    make -j4
     make install
     make install
     if [ $? != 0 ]; then
     if [ $? != 0 ]; then
         exit 1
         exit 1