See the docs in the new function for details.
I think I found every instance of this copy pasted code. Polly could
also use it, but currently does something different, so I will save the
behavior change for a future revision.
We get the shared, non-installed CMake modules following the pattern
established in D116472.
It might be good to have LLD and Flang also use this, but that would be
a functional change and so I leave it as future work.
Hi, adding this module path overwrites the llvm_check_linker_flag from llvm/cmake/modules/LLVMCheckLinkerFlag.cmake with the one defined in cmake/Modules/CheckLinkerFlag.cmake, which does not check the linker but the compiler.
This breaks our gcc+ld build because ld does not support --color-diagnostics.
Our downstream issue is here: https://github.com/GPUOpen-Drivers/llpc/issues/1645