Skip to content

Commit 791e10b

Browse files
committed
Always enable clang-tools-extra when building LLVM
1 parent f1b176c commit 791e10b

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

master/master.cfg

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -891,6 +891,7 @@ def get_llvm_cmake_definitions(builder_type):
891891
"LLVM_ENABLE_RTTI": "ON",
892892
"LLVM_ENABLE_ZLIB": "ON",
893893
"LLVM_TARGETS_TO_BUILD": "X86;ARM;NVPTX;AArch64;Hexagon;PowerPC;WebAssembly;RISCV",
894+
"LLVM_ENABLE_PROJECTS": "clang;lld;clang-tools-extra",
894895
}
895896

896897
for off in _LLVM_OFF_OPTS:
@@ -904,11 +905,6 @@ def get_llvm_cmake_definitions(builder_type):
904905

905906
if builder_type.handles_sanitizers():
906907
definitions["LLVM_ENABLE_RUNTIMES"] = "compiler-rt;libcxx;libcxxabi;libunwind"
907-
# We only need clang-tools-extra if building for sanitizers -- skip them
908-
# if the builder will never do this, to save time & space.
909-
definitions["LLVM_ENABLE_PROJECTS"] = "clang;lld;clang-tools-extra"
910-
else:
911-
definitions["LLVM_ENABLE_PROJECTS"] = "clang;lld"
912908

913909
# Some versions of GCC will flood the output with useless warnings about
914910
# "parameter passing for argument of type foo changed in GCC 7.1" unless

0 commit comments

Comments
 (0)