소스 검색

Keep memory usage under control when running compile_clang

Seth Brenith 7 년 전
부모
커밋
7abd4d991a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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