llvm-project/compiler-rt/cmake/Modules
Petr Hosek 887f26d470 Support for multiarch runtimes layout
This change adds a support for multiarch style runtimes layout, so in
addition to the existing layout where runtimes get installed to:

lib/clang/$version/lib/$os

Clang now allows runtimes to be installed to:

lib/clang/$version/$target/lib

This also includes libc++, libc++abi and libunwind; today those are
assumed to be in Clang library directory built for host, with the
new layout it is possible to install libc++, libc++abi and libunwind
into the runtime directory built for different targets.

The use of new layout is enabled by setting the
LLVM_ENABLE_RUNTIME_TARGET_DIR CMake variable and is supported by both
projects and runtimes layouts. The runtimes CMake build has been further
modified to use the new layout when building runtimes for multiple
targets.

Differential Revision: https://reviews.llvm.org/D45604

llvm-svn: 335809
2018-06-28 03:11:52 +00:00
..
AddCompilerRT.cmake Support for multiarch runtimes layout 2018-06-28 03:11:52 +00:00
BuiltinTests.cmake Really fix warnings about passing -std=gnu99 to MSVC 2016-09-08 16:25:34 +00:00
CompilerRTCompile.cmake [cmake] Fix skipping DEPS (typo) in sanitizer_test_compile() 2017-10-12 18:51:37 +00:00
CompilerRTDarwinUtils.cmake [CMake] Tidy up the organisation of compiler-rt when configured as a standalone 2018-06-27 12:56:34 +00:00
CompilerRTLink.cmake Make cmake link flag naming consistent 2017-01-10 04:33:04 +00:00
CompilerRTUtils.cmake Support for multiarch runtimes layout 2018-06-28 03:11:52 +00:00
HandleCompilerRT.cmake [CMake] Cleanup find_compiler_rt_library function [NFC] 2018-05-17 20:35:55 +00:00
SanitizerUtils.cmake Support for multiarch runtimes layout 2018-06-28 03:11:52 +00:00