[libc-commits] [libc] [libc] support fully OOT build (PR #101287)
    Joseph Huber via libc-commits 
    libc-commits at lists.llvm.org
       
    Wed Jul 31 06:20:14 PDT 2024
    
    
  
================
@@ -327,7 +330,9 @@ endif()
 
 option(LLVM_LIBC_INCLUDE_SCUDO "Include the SCUDO standalone as the allocator for LLVM libc" OFF)
 if(LLVM_LIBC_INCLUDE_SCUDO)
-  if (NOT ("compiler-rt" IN_LIST LLVM_ENABLE_PROJECTS OR "compiler-rt" IN_LIST LLVM_ENABLE_RUNTIMES))
+  if (LLVM_LIBC_COMPILER_RT_PATH)
+    add_subdirectory(${LLVM_LIBC_COMPILER_RT_PATH} ${CMAKE_CURRENT_BINARY_DIR}/compiler-rt)
+  elseif(NOT ("compiler-rt" IN_LIST LLVM_ENABLE_PROJECTS OR "compiler-rt" IN_LIST LLVM_ENABLE_RUNTIMES))
----------------
jhuber6 wrote:
What's this part changing exactly?
https://github.com/llvm/llvm-project/pull/101287
    
    
More information about the libc-commits
mailing list