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
1779
1779
no-assertions
1780
1780
build-libparser-only
1781
1781
swiftsyntax
1782
+ verbose-build
Original file line number Diff line number Diff line change @@ -996,6 +996,9 @@ def main_preset():
996
996
parser .add_argument (
997
997
"--swiftsyntax-install-prefix" ,
998
998
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" )
999
1002
args = parser .parse_args ()
1000
1003
if len (args .preset_file_names ) == 0 :
1001
1004
args .preset_file_names = [
@@ -1050,6 +1053,8 @@ def main_preset():
1050
1053
build_script_args += ["--install-swiftsyntax" ,
1051
1054
"--install-destdir" ,
1052
1055
args .swiftsyntax_install_prefix ]
1056
+ if args .build_dir :
1057
+ build_script_args += ["--build-dir" , args .build_dir ]
1053
1058
1054
1059
diagnostics .note ('using preset "{}", which expands to \n \n {}\n ' .format (
1055
1060
args .preset , shell .quote_command (build_script_args )))
You can’t perform that action at this time.
0 commit comments