File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -498,6 +498,8 @@ class BuildScriptInvocation(object):
498
498
impl_args += ["--skip-build-watchos-simulator" ]
499
499
if not args .build_android :
500
500
impl_args += ["--skip-build-android" ]
501
+ if not args .build_clang_tools_extra :
502
+ impl_args += ["--skip-build-clang-tools-extra" ]
501
503
502
504
if not args .test and not args .long_test and not args .stress_test :
503
505
impl_args += ["--skip-test-swift" ]
Original file line number Diff line number Diff line change @@ -615,6 +615,11 @@ def create_argument_parser():
615
615
option (['--build-libparser-only' ], store_true ('build_libparser_only' ),
616
616
help = 'build only libParser for SwiftSyntax' )
617
617
618
+ option ('--skip-build-clang-tools-extra' ,
619
+ toggle_false ('build_clang_tools_extra' ),
620
+ default = True ,
621
+ help = 'skip building clang-tools-extra as part of llvm' )
622
+
618
623
# -------------------------------------------------------------------------
619
624
in_group ('Extra actions to perform before or in addition to building' )
620
625
Original file line number Diff line number Diff line change 56
56
'build_android' : False ,
57
57
'build_args' : [],
58
58
'build_benchmarks' : True ,
59
+ 'build_clang_tools_extra' : True ,
59
60
'build_cygwin' : True ,
60
61
'build_external_benchmarks' : False ,
61
62
'build_foundation' : False ,
@@ -553,6 +554,8 @@ class BuildScriptImplOption(_BaseOption):
553
554
DisableOption ('--skip-test-swiftevolve' , dest = 'test_swiftevolve' ),
554
555
DisableOption ('--skip-test-toolchain-benchmarks' ,
555
556
dest = 'test_toolchainbenchmarks' ),
557
+ DisableOption ('--skip-build-clang-tools-extra' ,
558
+ dest = 'build_clang_tools_extra' ),
556
559
557
560
ChoicesOption ('--android-ndk-gcc-version' ,
558
561
choices = ['4.8' , '4.9' ]),
You can’t perform that action at this time.
0 commit comments