tornavis/build_files
Campbell Barton 8b3d798374 CMake: add WITH_LINKER_MOLD option for GCC/Clang Unix platforms
Can give considerably faster linking, especially on system with many
cores.

The mold linker recently reached 1.0, see:
https://github.com/rui314/mold

The current stable release of GCC can't use this linker via
-fuse-ld=mold, so this patch uses the "-B" argument to add a binary
directory containing an alternate "ld" command that points to
"mold" (which is part of the default mold installation).

Some timing tests for linking full builds for AMD TR 3970X:

- BFD: 20.78 seconds.
- LLD: 12.16 seconds.
- GOLD: 7.21 seconds.
- MOLD: 2.53 seconds.

Ref D13807

Reviewed by: sergey, brecht
2022-01-14 09:44:58 +11:00
..
build_environment CMake: use FFmpeg find module on Linux 2022-01-13 10:27:11 +01:00
buildbot Update all README to clearify intention or usage 2021-05-31 18:58:42 +02:00
cmake CMake: add WITH_LINKER_MOLD option for GCC/Clang Unix platforms 2022-01-14 09:44:58 +11:00
config Build: set correct buildbot submodule and library branches for 3.0 2021-10-27 20:52:49 +02:00
package_spec Fix T63805: remove outdated and unused Linux package spec files 2020-01-27 12:22:01 +01:00
utils Build: change make update to not print errors regarding submodule branches 2021-09-20 14:05:56 +02:00
windows win/make.bat: Add svnfix convenience target 2021-10-26 17:48:16 -06:00