From: Roman Lebedev Date: Tue, 28 Sep 2021 15:23:17 +0000 (+0300) Subject: Revert "[CMake] Enable LLVM_ENABLE_PER_TARGET_RUNTIME_DIR by default on Linux" X-Git-Tag: upstream/15.0.7~30275 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c93da7d9cf161ffda2366a96eb060c3b824cb549;p=platform%2Fupstream%2Fllvm.git Revert "[CMake] Enable LLVM_ENABLE_PER_TARGET_RUNTIME_DIR by default on Linux" See original review https://reviews.llvm.org/D107799 This reverts commit f9dbca68d48e705f6d45df8f58d6b2ee88bce76c. --- diff --git a/llvm/CMakeLists.txt b/llvm/CMakeLists.txt index 069fb8b..f10f8d6 100644 --- a/llvm/CMakeLists.txt +++ b/llvm/CMakeLists.txt @@ -677,13 +677,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