[libc-commits] [PATCH] D151011: [CMake][libc] Fix non-runtime build when other runtimes are enabled

Aiden Grossman via Phabricator via libc-commits libc-commits at lists.llvm.org
Sat May 20 15:34:09 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG742446a837ba: [CMake][libc] Fix non-runtime build when other runtimes are enabled (authored by aidengrossman).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D151011

Files:
  libc/CMakeLists.txt


Index: libc/CMakeLists.txt
===================================================================
--- libc/CMakeLists.txt
+++ libc/CMakeLists.txt
@@ -28,7 +28,7 @@
   endif()
 endif()
 
-if(LLVM_ENABLE_RUNTIMES AND NOT LLVM_RUNTIMES_BUILD)
+if("libc" IN_LIST LLVM_ENABLE_RUNTIMES AND NOT LLVM_RUNTIMES_BUILD)
   # When libc is build as part of the runtimes/bootstrap build's CMake run, we
   # only need to build the host tools to build the libc. So, we just do enough
   # to build libc-hdrgen and return.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151011.524066.patch
Type: text/x-patch
Size: 504 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230520/23739b6a/attachment.bin>


More information about the libc-commits mailing list