summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-10-06 14:41:52 +0200
committerTobias Hieta <tobias@hieta.se>2022-10-18 08:28:56 +0200
commit6fba7854a2f0b6b3899bb156c1a0c4ae35c96e24 (patch)
tree86a62e417a04404d1fa8b0f15b104690b4527510
parente3b0721b5b7371b2f13196997f9aa096d2179369 (diff)
downloadllvm-6fba7854a2f0b6b3899bb156c1a0c4ae35c96e24.tar.gz
[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 (cherry picked from commit bc4bcbcfc820b324f680e8f260691c38052eedc9)
-rw-r--r--llvm/test/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/test/CMakeLists.txt b/llvm/test/CMakeLists.txt
index 86ca20ada7b8..e7dd22261cc4 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