[libc-commits] [PATCH] D156388: [libc] _INCLUDE_SCUDO: check for compiler-rt in enabled RUNTIMES too

Sam James via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed Jul 26 21:12:16 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rGfe9c3c786837: [libc] _INCLUDE_SCUDO: check for compiler-rt in enabled RUNTIMES too (authored by alfredfo, committed by thesamesam).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D156388

Files:
  libc/CMakeLists.txt


Index: libc/CMakeLists.txt
===================================================================
--- libc/CMakeLists.txt
+++ libc/CMakeLists.txt
@@ -164,8 +164,8 @@
 
 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)
-    message(FATAL_ERROR "SCUDO cannot be included without adding compiler-rt to LLVM_ENABLE_PROJECTS")
+  if (NOT ("compiler-rt" IN_LIST LLVM_ENABLE_PROJECTS OR "compiler-rt" IN_LIST LLVM_ENABLE_RUNTIMES))
+    message(FATAL_ERROR "SCUDO cannot be included without adding compiler-rt to LLVM_ENABLE_PROJECTS or LLVM_ENABLE_RUNTIMES")
   endif()
 endif()
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156388.544586.patch
Type: text/x-patch
Size: 705 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230727/77d45357/attachment-0001.bin>


More information about the libc-commits mailing list