[libc-commits] [libc] 7b37f73 - [libc][Obvious] Enable hermetic tests only under full build.
Siva Chandra Reddy via libc-commits
libc-commits at lists.llvm.org
Mon Apr 24 16:22:06 PDT 2023
Author: Siva Chandra Reddy
Date: 2023-04-24T23:21:43Z
New Revision: 7b37f732783e9b8270cbb63ff95618594dbe011b
URL: https://github.com/llvm/llvm-project/commit/7b37f732783e9b8270cbb63ff95618594dbe011b
DIFF: https://github.com/llvm/llvm-project/commit/7b37f732783e9b8270cbb63ff95618594dbe011b.diff
LOG: [libc][Obvious] Enable hermetic tests only under full build.
Reviewed By: jhuber6
Differential Revision: https://reviews.llvm.org/D149105
Added:
Modified:
libc/CMakeLists.txt
Removed:
################################################################################
diff --git a/libc/CMakeLists.txt b/libc/CMakeLists.txt
index da669a1d5e58..e0e5b69b47cf 100644
--- a/libc/CMakeLists.txt
+++ b/libc/CMakeLists.txt
@@ -76,7 +76,7 @@ option(LIBC_GPU_BUILD "Build libc for the GPU. All CPU build options will be ign
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)
More information about the libc-commits
mailing list