aboutsummaryrefslogtreecommitdiff
path: root/LICENSE
diff options
context:
space:
mode:
authorMatthew Krupcale <mkrupcale@matthewkrupcale.com>2020-08-09 09:45:15 -0400
committerBoris Kolpackov <boris@codesynthesis.com>2020-08-12 14:03:10 +0200
commitd7571f706928dd023097540dfc88448cf80fdcdb (patch)
tree5e83dada2725ddf08c47f74334b2eebcf92854d3 /LICENSE
parentca2283bdc00529967f9ccd9bf0097714447af351 (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 'LICENSE')
0 files changed, 0 insertions, 0 deletions