diff options
author | Shoaib Meenai <smeenai@fb.com> | 2017-12-01 19:06:29 +0000 |
---|---|---|
committer | Shoaib Meenai <smeenai@fb.com> | 2017-12-01 19:06:29 +0000 |
commit | db05652021121579eab67232043969ecbfaac152 (patch) | |
tree | cb5fc01124c42bee185b4cbe8a2084d73fdcce8d /cmake/base-config-ix.cmake | |
parent | 938b84c82450f523d883f8bafe6e8269673bb49c (diff) |
[compiler-rt] Add install-*-stripped targets
These targets strip during installation, and are required to support
install-distribution-stripped in LLVM (to support a stripped
distribution). LLVM has an add_llvm_install_targets function for this
purpose, but we can't rely on LLVM being present.
Differential Revision: https://reviews.llvm.org/D40687
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@319569 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake/base-config-ix.cmake')
-rw-r--r-- | cmake/base-config-ix.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/base-config-ix.cmake b/cmake/base-config-ix.cmake index 5b21b700c..b208f0852 100644 --- a/cmake/base-config-ix.cmake +++ b/cmake/base-config-ix.cmake @@ -11,6 +11,7 @@ check_include_file(unwind.h HAVE_UNWIND_H) # Top level target used to build all compiler-rt libraries. add_custom_target(compiler-rt ALL) add_custom_target(install-compiler-rt) +add_custom_target(install-compiler-rt-stripped) set_target_properties(compiler-rt PROPERTIES FOLDER "Compiler-RT Misc") # Setting these variables from an LLVM build is sufficient that compiler-rt can |