[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:21:29 PDT 2023


sivachandra updated this revision to Diff 516570.
sivachandra added a comment.

Modify according to the suggestion.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149105

Files:
  libc/CMakeLists.txt


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


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


More information about the libc-commits mailing list