[libc-commits] [PATCH] D149105: [libc][Obvious] Enable hermetic tests only under full build.

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Mon Apr 24 16:08:47 PDT 2023


sivachandra created this revision.
sivachandra added a reviewer: jhuber6.
Herald added subscribers: libc-commits, ecnelises, tschuett.
Herald added projects: libc-project, All.
sivachandra requested review of this revision.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D149105

Files:
  libc/CMakeLists.txt


Index: libc/CMakeLists.txt
===================================================================
--- libc/CMakeLists.txt
+++ libc/CMakeLists.txt
@@ -76,7 +76,9 @@
 set(LIBC_TARGET_TRIPLE "" CACHE STRING "The target triple for the libc build.")
 
 set(LIBC_ENABLE_UNITTESTS ON)
-set(LIBC_ENABLE_HERMETIC_TESTS ON)
+if(LLVM_LIBC_FULL_BUILD)
+  set(LIBC_ENABLE_HERMETIC_TESTS ON)
+endif()
 
 # Defines LIBC_TARGET_ARCHITECTURE and associated macros.
 include(LLVMLibCArchitectures)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149105.516565.patch
Type: text/x-patch
Size: 477 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230424/c94e6c6b/attachment.bin>


More information about the libc-commits mailing list