Skip to content

Commit eef3a12

Browse files
RichBarton-Armbryanpkc
authored andcommitted
Canonicalize some ENABLE_CLASSIC_FLANG
These CMake variables are used to set python variables in the lit config. As such, they need to bet set with a valid CMake boolean value that is also a valid python boolean value (1, True, etc.) and not one that is not (ON, NO, etc.) to work. This is fragile. Call the LLVM cmake helper function on these two downstream CMake
1 parent dd4d984 commit eef3a12

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/test/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ llvm_canonicalize_cmake_booleans(
1313
ENABLE_BACKTRACES
1414
LLVM_BUILD_EXAMPLES
1515
LLVM_BYE_LINK_INTO_TOOLS
16+
LLVM_ENABLE_CLASSIC_FLANG
1617
LLVM_ENABLE_PLUGINS
1718
LLVM_ENABLE_ZLIB
1819
LLVM_ENABLE_ZSTD

0 commit comments

Comments
 (0)