[libcxx-commits] [PATCH] D107799: [CMake] Enable LLVM_ENABLE_PER_TARGET_RUNTIME_DIR by default on Linux
Fangrui Song via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Sep 14 13:38:38 PDT 2021
MaskRay updated this revision to Diff 372552.
MaskRay added a comment.
rebase to trigger libc++ build bots
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D107799/new/
https://reviews.llvm.org/D107799
Files:
libcxx/TODO.TXT
llvm/CMakeLists.txt
Index: llvm/CMakeLists.txt
===================================================================
--- llvm/CMakeLists.txt
+++ llvm/CMakeLists.txt
@@ -671,7 +671,12 @@
set(LLVM_TARGET_TRIPLE_ENV CACHE STRING "The name of environment variable to override default target. Disabled by blank.")
mark_as_advanced(LLVM_TARGET_TRIPLE_ENV)
-set(LLVM_ENABLE_PER_TARGET_RUNTIME_DIR OFF CACHE BOOL
+if(CMAKE_SYSTEM_NAME MATCHES "Linux")
+ set(LLVM_ENABLE_PER_TARGET_RUNTIME_DIR_default ON)
+else()
+ set(LLVM_ENABLE_PER_TARGET_RUNTIME_DIR_default OFF)
+endif()
+set(LLVM_ENABLE_PER_TARGET_RUNTIME_DIR ${LLVM_ENABLE_PER_TARGET_RUNTIME_DIR_default} CACHE BOOL
"Enable per-target runtimes directory")
set(LLVM_PROFDATA_FILE "" CACHE FILEPATH
Index: libcxx/TODO.TXT
===================================================================
--- libcxx/TODO.TXT
+++ libcxx/TODO.TXT
@@ -22,3 +22,4 @@
* run clang-tidy on libc++
* Document the "conditionally-supported" bits of libc++
* Put a static_assert in std::allocator to deny const/volatile types (LWG 2447)
+
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107799.372552.patch
Type: text/x-patch
Size: 1053 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210914/36d802be/attachment-0001.bin>
More information about the libcxx-commits
mailing list