File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments