[PATCH] D80442: [runtimes] Pass COMPILER_RT* through to runtime build
Russell Gallop via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 22 09:05:52 PDT 2020
russell.gallop created this revision.
russell.gallop added reviewers: phosek, beanz.
Herald added a subscriber: mgorny.
Herald added a project: LLVM.
Without this COMPILER_RT_BUILD_SANITIZERS=OFF etc. would not work with cross compilation (e.g. with LLVM_ENABLE_RUNTIMES=compiler-rt)
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D80442
Files:
llvm/runtimes/CMakeLists.txt
Index: llvm/runtimes/CMakeLists.txt
===================================================================
--- llvm/runtimes/CMakeLists.txt
+++ llvm/runtimes/CMakeLists.txt
@@ -498,6 +498,7 @@
-DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON
-DLLVM_RUNTIMES_TARGET=${name}
${${name}_extra_args}
+ PASSTHROUGH_PREFIXES COMPILER_RT
TOOLCHAIN_TOOLS clang lld llvm-ar llvm-lipo llvm-ranlib llvm-nm llvm-objcopy llvm-objdump llvm-strip
EXTRA_TARGETS ${${name}_extra_targets}
${${name}_test_targets}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80442.265744.patch
Type: text/x-patch
Size: 734 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200522/bf3a7f7b/attachment.bin>
More information about the llvm-commits
mailing list