This is how similar booleans are handled, and seems to work for me
locally.
llvm-svn: 362039
not
)
-# Indicate if this is an MSVC environment.
-pythonize_bool(MSVC)
-
configure_lit_site_cfg(
${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.py.in
${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg.py
config.host_triple = "@LLVM_HOST_TRIPLE@"
config.target_triple = "@TARGET_TRIPLE@"
config.host_arch = "@HOST_ARCH@"
-config.is_msvc = @MSVC_PYBOOL@
+config.is_msvc = lit.util.pythonize_bool("@MSVC@")
config.llvm_use_sanitizer = "@LLVM_USE_SANITIZER@"