llvm-project/cmake/Modules
John Ericson 44e3365775 [CMake] Factor out config prefix finding logic
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.

Reviewed By: beanz, lebedev.ri

Differential Revision: https://reviews.llvm.org/D116521
2022-01-07 20:16:18 +00:00
..
CheckLinkerFlag.cmake [libunwind] Try to add --unwindlib=none while configuring and building libunwind 2021-11-05 10:10:19 +02:00
EnableLanguageNolink.cmake [libunwind] Try to add --unwindlib=none while configuring and building libunwind 2021-11-05 10:10:19 +02:00
ExtendPath.cmake [cmake] Tweak warning in `extend_path` helper function 2021-12-30 07:00:50 +00:00
FindPrefixFromConfig.cmake [CMake] Factor out config prefix finding logic 2022-01-07 20:16:18 +00:00
HandleCompilerRT.cmake [CMake] Cache the compiler-rt library search results 2021-10-27 17:53:03 -07:00
SetPlatformToolchainTools.cmake [CMake] Move the AIX archiver settings to a module 2022-01-05 11:46:30 -08:00