llvm-project/compiler-rt/cmake/Modules
Martin Storsjö 8e11bede3a [compiler-rt] Produce the right arch suffix for arm libraries
If producing libraries with an arch suffix (i.e. if
LLVM_ENABLE_PER_TARGET_RUNTIME_DIR isn't set), we append the
architecture name. However, for arm, clang doesn't look for libraries
with the full architecture name, but only looks for "arm" and "armhf".

Try to deduce what the full target triple might have been, and use
that for deciding between "arm" and "armhf".

This tries to reapply this bit from D98173, that had to be reverted
in 7b153b43d3 due to affecting how
the builtins themselves are compiled, not only affecting the output
file name.

Differential Revision: https://reviews.llvm.org/D98452
2021-03-18 14:58:58 +02: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 [cmake] Strip quotes in try_compile_only 2019-09-19 11:28:32 +00:00
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
CompilerRTUtils.cmake [compiler-rt] Partially revert 8bd2722f65 2021-03-11 22:41:10 +02: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