forked from OSchip/llvm-project
[flang] Reduce number of threads used for building.
This is to avoid running out of memory on some builds. Original-commit: flang-compiler/f18@f8abe443cf Reviewed-on: https://github.com/flang-compiler/f18/pull/823
This commit is contained in:
parent
877b26598d
commit
056f5f73b7
|
@ -10,7 +10,7 @@ def clang(arch):
|
|||
"dnf -y install clang cmake ninja-build lld llvm-devel libcxx-devel diffutils",
|
||||
"mkdir build && cd build",
|
||||
'env CC=clang CXX=clang++ CXXFLAGS="-UNDEBUG -stdlib=libc++" LDFLAGS="-fuse-ld=lld" cmake -GNinja -DCMAKE_BUILD_TYPE=Release ..',
|
||||
"ninja -j16",
|
||||
"ninja -j12",
|
||||
"ctest --output-on-failure -j24",
|
||||
],
|
||||
},
|
||||
|
@ -30,7 +30,7 @@ def gcc(arch):
|
|||
"dnf -y install cmake ninja-build g++ llvm-devel diffutils",
|
||||
"mkdir build && cd build",
|
||||
'env CC=gcc CXX=g++ CXXFLAGS="-UNDEBUG" LDFLAGS="-fuse-ld=gold" cmake -GNinja -DCMAKE_BUILD_TYPE=Release ..',
|
||||
"ninja -j16",
|
||||
"ninja -j12",
|
||||
"ctest --output-on-failure -j24",
|
||||
],
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue