From 90c9d41c8acc34fb68958f373eb23f53c1b1c840 Mon Sep 17 00:00:00 2001 From: David Spickett Date: Tue, 21 Jun 2022 13:12:38 +0000 Subject: [PATCH] Revert "[CMake] Enable LLVM_ENABLE_PER_TARGET_RUNTIME_DIR by default on Linux" This reverts commit 311f7839602344ca347816146edb68c0ffaaa060. Due to not working for Arm where arm and armhf configs are built. --- llvm/CMakeLists.txt | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/llvm/CMakeLists.txt b/llvm/CMakeLists.txt index 79b3557..fab16ed 100644 --- a/llvm/CMakeLists.txt +++ b/llvm/CMakeLists.txt @@ -746,13 +746,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) -# 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") - 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