From 9ac45375f1ba496a1b5bc4fdda5b1282ddb53cb1 Mon Sep 17 00:00:00 2001 From: Louis Dionne Date: Fri, 27 Aug 2021 10:01:29 -0400 Subject: [PATCH] Revert "[CMake] Enable LLVM_ENABLE_PER_TARGET_RUNTIME_DIR by default on Linux" This reverts commit abb956370ee71d018e9a88ae196f039f6c4e0dae, which broke the libc++ CI on Linux. --- llvm/CMakeLists.txt | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/llvm/CMakeLists.txt b/llvm/CMakeLists.txt index 64be2f3..c7fdc03 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 -- 2.7.4