[PATCH] D67195: Adding support for overriding LLVM_ENABLE_RUNTIMES for runtimes builds.
Puyan Lotfi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 10 15:54:36 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL371566: Adding support for overriding LLVM_ENABLE_RUNTIMES for runtimes builds. (authored by zer0, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D67195?vs=218798&id=219620#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67195/new/
https://reviews.llvm.org/D67195
Files:
llvm/trunk/runtimes/CMakeLists.txt
Index: llvm/trunk/runtimes/CMakeLists.txt
===================================================================
--- llvm/trunk/runtimes/CMakeLists.txt
+++ llvm/trunk/runtimes/CMakeLists.txt
@@ -460,6 +460,10 @@
endif()
endforeach()
+ if(NOT RUNTIMES_${name}_LLVM_ENABLE_RUNTIMES)
+ list(APPEND ${name}_extra_args -DLLVM_ENABLE_RUNTIMES=${LLVM_ENABLE_RUNTIMES})
+ endif()
+
if(target IN_LIST LLVM_RUNTIME_BUILD_ID_LINK_TARGETS)
list(APPEND EXTRA_ARGS STRIP_TOOL ${CMAKE_CURRENT_BINARY_DIR}/llvm-strip-link)
endif()
@@ -482,7 +486,6 @@
-DCOMPILER_RT_DEFAULT_TARGET_ONLY=ON
-DLLVM_RUNTIMES_TARGET=${name}
${${name}_extra_args}
- PASSTHROUGH_PREFIXES LLVM_ENABLE_RUNTIMES
TOOLCHAIN_TOOLS clang lld llvm-ar 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: D67195.219620.patch
Type: text/x-patch
Size: 1117 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190910/64ecf6a2/attachment.bin>
More information about the llvm-commits
mailing list