[PATCH] D62410: [CMake] [Runtimes] Set *_STANDALONE_BUILD
Phabricator via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 29 11:36:38 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL362007: [CMake] [Runtimes] Set *_STANDALONE_BUILD (authored by cbieneman, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D62410?vs=201283&id=202007#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62410/new/
https://reviews.llvm.org/D62410
Files:
llvm/trunk/runtimes/CMakeLists.txt
Index: llvm/trunk/runtimes/CMakeLists.txt
===================================================================
--- llvm/trunk/runtimes/CMakeLists.txt
+++ llvm/trunk/runtimes/CMakeLists.txt
@@ -128,6 +128,12 @@
string(REPLACE "-" "_" canon_name ${projName})
string(TOUPPER ${canon_name} canon_name)
+ # The subdirectories need to treat this as standalone builds. D57992 tried
+ # to get rid of this, but the runtimes treat *_STANDALONE_BUILD=OFF as if
+ # llvm & clang are configured in the same CMake, and setup dependencies
+ # against their targets.
+ set(${canon_name}_STANDALONE_BUILD ON)
+
if(LLVM_RUNTIMES_LIBDIR_SUBDIR)
set(${canon_name}_LIBDIR_SUBDIR "${LLVM_RUNTIMES_LIBDIR_SUBDIR}" CACHE STRING "" FORCE)
endif()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62410.202007.patch
Type: text/x-patch
Size: 766 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190529/68671cda/attachment.bin>
More information about the llvm-commits
mailing list