[llvm] 9ac4537 - Revert "[CMake] Enable LLVM_ENABLE_PER_TARGET_RUNTIME_DIR by default on Linux"

Louis Dionne via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 27 07:06:10 PDT 2021


Author: Louis Dionne
Date: 2021-08-27T10:01:29-04:00
New Revision: 9ac45375f1ba496a1b5bc4fdda5b1282ddb53cb1

URL: https://github.com/llvm/llvm-project/commit/9ac45375f1ba496a1b5bc4fdda5b1282ddb53cb1
DIFF: https://github.com/llvm/llvm-project/commit/9ac45375f1ba496a1b5bc4fdda5b1282ddb53cb1.diff

LOG: Revert "[CMake] Enable LLVM_ENABLE_PER_TARGET_RUNTIME_DIR by default on Linux"

This reverts commit abb956370ee71d018e9a88ae196f039f6c4e0dae, which broke
the libc++ CI on Linux.

Added: 
    

Modified: 
    llvm/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/llvm/CMakeLists.txt b/llvm/CMakeLists.txt
index 64be2f38fd01..c7fdc0360b11 100644
--- a/llvm/CMakeLists.txt
+++ b/llvm/CMakeLists.txt
@@ -671,12 +671,7 @@ endif()
 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)
 
-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
+set(LLVM_ENABLE_PER_TARGET_RUNTIME_DIR OFF CACHE BOOL
   "Enable per-target runtimes directory")
 
 set(LLVM_PROFDATA_FILE "" CACHE FILEPATH


        


More information about the llvm-commits mailing list