[Lldb-commits] [compiler-rt] [libcxx] [libcxxabi] [libunwind] [lldb] [llvm] [compiler-rt] Disable LLVM_ENABLE_PER_TARGET_RUNTIME_DIR=ON on AIX. (PR #131200)

Daniel Chen via lldb-commits lldb-commits at lists.llvm.org
Tue Mar 18 12:05:02 PDT 2025


================
@@ -109,7 +109,7 @@ if(LLVM_ENABLE_PER_TARGET_RUNTIME_DIR AND NOT APPLE)
   extend_path(default_install_path "${COMPILER_RT_INSTALL_PATH}" lib)
   set(COMPILER_RT_INSTALL_LIBRARY_DIR "${default_install_path}" CACHE PATH
     "Path where built compiler-rt libraries should be installed.")
-else(LLVM_ENABLE_PER_TARGET_RUNTIME_DIR AND NOT APPLE)
+else()
----------------
DanielCChen wrote:

Thanks for the reivew!
The "old" code is confusing as the condition in `else(condition)` is ignored in this case. So remove it to make it easy to read.

https://github.com/llvm/llvm-project/pull/131200


More information about the lldb-commits mailing list