File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -1779,3 +1779,4 @@ lto
17791779no-assertions
17801780build-libparser-only
17811781swiftsyntax
1782+ verbose-build
Original file line number Diff line number Diff line change @@ -996,6 +996,9 @@ def main_preset():
996996 parser .add_argument (
997997 "--swiftsyntax-install-prefix" ,
998998 help = "specify the directory to where SwiftSyntax should be installed" )
999+ parser .add_argument (
1000+ "--build-dir" ,
1001+ help = "specify the directory where build artifact should be stored" )
9991002 args = parser .parse_args ()
10001003 if len (args .preset_file_names ) == 0 :
10011004 args .preset_file_names = [
@@ -1050,6 +1053,8 @@ def main_preset():
10501053 build_script_args += ["--install-swiftsyntax" ,
10511054 "--install-destdir" ,
10521055 args .swiftsyntax_install_prefix ]
1056+ if args .build_dir :
1057+ build_script_args += ["--build-dir" , args .build_dir ]
10531058
10541059 diagnostics .note ('using preset "{}", which expands to \n \n {}\n ' .format (
10551060 args .preset , shell .quote_command (build_script_args )))
You can’t perform that action at this time.
0 commit comments