llvm-project/compiler-rt/cmake/Modules
Dan Liew 6f4f0afaa8 [Compiler-rt] Fix bug when considering CMake path returned by llvm-config.
The previous check was wrong because it only checks that the LLVM CMake
directory exists. However, it's possible that the directory exists but
the `LLVMConfig.cmake` file does not. When this happens we would
incorectly try to include the non-existant file.

To fix this we make the check stricter by checking that the file
we want to include actually exists.

This is a follow up to fd28517d87.

rdar://76870467
2021-04-20 11:57:20 -07:00
..
CustomLibcxx [runtimes] Use standalone build only for compiler-rt 2021-03-03 00:06:20 -08:00
AddCompilerRT.cmake [compiler-rt] Produce the right arch suffix for arm libraries 2021-03-18 14:58:58 +02:00
BuiltinTests.cmake
CompilerRTCompile.cmake [CMake] Rename RUNTIMES_BUILD to LLVM_RUNTIMES_BUILD 2021-03-03 10:58:51 -08:00
CompilerRTDarwinUtils.cmake Re-apply "[CMake][compiler-rt][AArch64] Avoid preprocessing LSE builtins separately" 2020-12-15 08:18:07 +02:00
CompilerRTLink.cmake
CompilerRTMockLLVMCMakeConfig.cmake [CMake][Compiler-rt] Make it possible to configure standalone compiler-rt without `LLVMConfig.cmake`. 2021-04-06 08:31:18 -07:00
CompilerRTUtils.cmake [Compiler-rt] Fix bug when considering CMake path returned by llvm-config. 2021-04-20 11:57:20 -07:00
HandleCompilerRT.cmake [compiler-rt] Build with correct ABI (PR38025) 2020-04-03 11:53:40 -07:00
SanitizerUtils.cmake build: use Python3 for compiler-rt 2020-04-28 17:29:04 +00:00
UseLibtool.cmake [compiler-rt] Disable ranlib when using libtool 2020-08-24 13:48:28 -07:00