[llvm] [test] Add missing canonicalization of LLVM_ENABLE_ZSTD
authorMichał Górny <mgorny@gentoo.org>
Thu, 6 Oct 2022 12:41:52 +0000 (14:41 +0200)
committerMichał Górny <mgorny@gentoo.org>
Thu, 6 Oct 2022 14:09:19 +0000 (16:09 +0200)
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

llvm/test/CMakeLists.txt

index 5cf783c..2c2e390 100644 (file)
@@ -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