tornavis/build_files
Sybren A. Stüvel 8c8e1ebdd2 CMake: Use lld when using Clang compiler
When using the `WITH_LINKER_LLD` option, the logic to find the `ld.lld`
binary and actually tell the build system to use it was specific to GCC.

I've copied the Clang-specific logic for Mold and adjusted it to find
LLD.

Not entirely sure why this is necessary, as LLD is actually Clang's
linker. However, without this change, CMake would use regular old slow
`ld` to link.

Pull Request: https://projects.blender.org/blender/blender/pulls/108884
2023-06-16 10:34:01 +02:00
..
build_environment Cleanup: cmake indentation 2023-06-16 12:20:33 +10:00
buildbot License headers: use SPDX-FileCopyrightText for CMake files 2023-06-14 23:36:23 +10:00
cmake CMake: Use lld when using Clang compiler 2023-06-16 10:34:01 +02:00
config Cycles: enable HIP-RT for AMD hardware ray-tracing 2023-05-15 13:46:06 +02:00
package_spec License headers: use SPDX-FileCopyrightText for build_files/ & tools/ 2023-06-14 23:36:23 +10:00
utils License headers: use SPDX-FileCopyrightText for build_files/ & tools/ 2023-06-14 23:36:23 +10:00
windows make.bat: adjust for recent submodule changes 2023-03-16 17:51:12 -06:00