Skip to content

Commit

Permalink
Limit the number of parallel link jobs for the full LTO builder.
Browse files Browse the repository at this point in the history
With the larger number of link jobs the build time grows significantly, and with the default value it randomly runs out of memory.
  • Loading branch information
gkistanova committed May 20, 2021
1 parent cf3881f commit bf146f5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion buildbot/osuosl/master/config/builders.py
Original file line number Diff line number Diff line change
Expand Up @@ -1094,7 +1094,11 @@
'tags' : ["clang","lld","LTO"],
'workernames' : ["as-worker-91"],
'builddir': "clang-with-lto-ubuntu",
'factory' : ClangLTOBuilder.getClangWithLTOBuildFactory(jobs=72)},
'factory' : ClangLTOBuilder.getClangWithLTOBuildFactory(
jobs=72,
extra_configure_args_lto_stage=[
'-DLLVM_PARALLEL_LINK_JOBS=14',
])},

# Builders for MLIR.

Expand Down

0 comments on commit bf146f5

Please sign in to comment.