[llvm] bc4bcbc - [llvm] [test] Add missing canonicalization of LLVM_ENABLE_ZSTD

Michał Górny via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 6 07:09:32 PDT 2022


Author: Michał Górny
Date: 2022-10-06T16:09:19+02:00
New Revision: bc4bcbcfc820b324f680e8f260691c38052eedc9

URL: https://github.com/llvm/llvm-project/commit/bc4bcbcfc820b324f680e8f260691c38052eedc9
DIFF: https://github.com/llvm/llvm-project/commit/bc4bcbcfc820b324f680e8f260691c38052eedc9.diff

LOG: [llvm] [test] Add missing canonicalization of LLVM_ENABLE_ZSTD

Add LLVM_ENABLE_ZSTD to llvm_canonicalize_cmake_booleans().  This is
needed to ensure that the substitutions in lit.site.cfg.py resolve
to correct Python booleans.

Differential Revision: https://reviews.llvm.org/D135357

Added: 
    

Modified: 
    llvm/test/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/llvm/test/CMakeLists.txt b/llvm/test/CMakeLists.txt
index 5cf783c17584..2c2e390338bf 100644
--- a/llvm/test/CMakeLists.txt
+++ b/llvm/test/CMakeLists.txt
@@ -8,6 +8,7 @@ llvm_canonicalize_cmake_booleans(
   LLVM_ENABLE_CURL
   LLVM_ENABLE_HTTPLIB
   LLVM_ENABLE_ZLIB
+  LLVM_ENABLE_ZSTD
   LLVM_ENABLE_LIBXML2
   LLVM_INCLUDE_GO_TESTS
   LLVM_LINK_LLVM_DYLIB


        


More information about the llvm-commits mailing list