diff options
author | Matthew Krupcale <mkrupcale@matthewkrupcale.com> | 2020-08-09 09:45:15 -0400 |
---|---|---|
committer | Matthew Krupcale <mkrupcale@matthewkrupcale.com> | 2020-08-10 23:11:26 -0400 |
commit | c55c3335c5e86777137c8dcca504af9c1d2cadf1 (patch) | |
tree | efcfce351cc754034ba30201d2a3857cb8f6a050 /old-tests/target/out-qualified/src/buildfile | |
parent | 1276a28b88295caf27c5df97d2e61b28feed3999 (diff) |
Adjust linker arguments for LTO parallelization
GCC 10+ and Clang 4+ support controlling the number of LTO threads/jobs used
during linking. Use the build2 scheduler to allocate up to the number of
hardware threads to the GCC or Clang linker processes when -flto=auto or
-flto=thin is specified, respectively. Otherwise, GCC or Clang will attempt to
spawn the number of hardware threads detected for each linker process, which
could result in up to n^2 linker threads on a CPU with n hardware threads.
Diffstat (limited to 'old-tests/target/out-qualified/src/buildfile')
0 files changed, 0 insertions, 0 deletions