diff options
author | David Truby <david.truby@arm.com> | 2019-11-14 15:16:15 +0000 |
---|---|---|
committer | David Truby <david.truby@arm.com> | 2019-11-14 15:16:15 +0000 |
commit | 056f5f73b7dd0fe08468c6143a1dafb5bad8fe65 (patch) | |
tree | a50d1c9a9e46dc258e277275af6d65b771791427 /flang/.drone.star | |
parent | 877b26598da89de2df1cdcb8287062a257e0129b (diff) | |
download | llvm-056f5f73b7dd0fe08468c6143a1dafb5bad8fe65.zip llvm-056f5f73b7dd0fe08468c6143a1dafb5bad8fe65.tar.gz llvm-056f5f73b7dd0fe08468c6143a1dafb5bad8fe65.tar.bz2 |
[flang] Reduce number of threads used for building.
This is to avoid running out of memory on some builds.
Original-commit: flang-compiler/f18@f8abe443cf3d12d47d08d61530f4da4b4b96c0c5
Reviewed-on: https://github.com/flang-compiler/f18/pull/823
Diffstat (limited to 'flang/.drone.star')
-rw-r--r-- | flang/.drone.star | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/flang/.drone.star b/flang/.drone.star index 559207e..e6e23f1 100644 --- a/flang/.drone.star +++ b/flang/.drone.star @@ -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", ], }, |