[PATCH] D137977: [libc] Forward LLVM_LIBC options when using a runtimes build

Joseph Huber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 14 14:24:09 PST 2022


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG6ce341de249c: [libc] Forward LLVM_LIBC options when using a runtimes build (authored by jhuber6).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D137977/new/

https://reviews.llvm.org/D137977

Files:
  llvm/runtimes/CMakeLists.txt


Index: llvm/runtimes/CMakeLists.txt
===================================================================
--- llvm/runtimes/CMakeLists.txt
+++ llvm/runtimes/CMakeLists.txt
@@ -178,6 +178,9 @@
   if(canon_name STREQUAL "COMPILER_RT")
     list(APPEND prefixes SANITIZER DARWIN)
   endif()
+  if(canon_name STREQUAL "LLVMLIBC")
+    list(APPEND prefixes "LLVM_LIBC")
+  endif()
 
   string(FIND ${projName} "lib" LIB_IDX)
   if(LIB_IDX EQUAL 0)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137977.475277.patch
Type: text/x-patch
Size: 441 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221114/ffdb947e/attachment.bin>


More information about the llvm-commits mailing list