[clang] [compiler-rt] [llvm] [CMake] Use Clang to infer the target triple (PR #89425)

Petr Hosek via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 24 23:43:11 PDT 2024


================
@@ -28,6 +28,19 @@ if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
   if (NOT LLVM_RUNTIMES_BUILD)
     load_llvm_config()
   endif()
+  if(LLVM_ENABLE_PER_TARGET_RUNTIME_DIR AND NOT APPLE)
----------------
petrhosek wrote:

We support building `builtins` directly by running CMake in `compiler-rt/lib/builtins` and we want to continue supporting that, but `LLVM_ENABLE_PER_TARGET_RUNTIME_DIR` is not supported for Apple platforms at the moment, this is consistent with the existing behavior.

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


More information about the cfe-commits mailing list