[PATCH] D110126: [CMake] Enable LLVM_ENABLE_PER_TARGET_RUNTIME_DIR by default on *BSD
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 20 00:03:58 PDT 2022
MaskRay updated this revision to Diff 454167.
MaskRay retitled this revision from "[CMake] Enable LLVM_ENABLE_PER_TARGET_RUNTIME_DIR by default on FreeBSD" to "[CMake] Enable LLVM_ENABLE_PER_TARGET_RUNTIME_DIR by default on *BSD".
MaskRay edited the summary of this revision.
MaskRay added a comment.
Herald added subscribers: StephenFan, kristof.beyls.
Herald added a reviewer: ctetreau.
Herald added a project: All.
Enable for all *BSD
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D110126/new/
https://reviews.llvm.org/D110126
Files:
llvm/CMakeLists.txt
Index: llvm/CMakeLists.txt
===================================================================
--- llvm/CMakeLists.txt
+++ llvm/CMakeLists.txt
@@ -774,7 +774,7 @@
mark_as_advanced(LLVM_TARGET_TRIPLE_ENV)
# Per target dir not yet supported on Arm 32 bit due to arm vs armhf handling
-if(CMAKE_SYSTEM_NAME MATCHES "Linux" AND NOT CMAKE_SYSTEM_PROCESSOR MATCHES "^arm")
+if(CMAKE_SYSTEM_NAME MATCHES "BSD|Linux" AND NOT CMAKE_SYSTEM_PROCESSOR MATCHES "^arm")
set(LLVM_ENABLE_PER_TARGET_RUNTIME_DIR_default ON)
else()
set(LLVM_ENABLE_PER_TARGET_RUNTIME_DIR_default OFF)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110126.454167.patch
Type: text/x-patch
Size: 577 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220820/9c42c518/attachment.bin>
More information about the llvm-commits
mailing list