Skip to content

Commit 1d3b70d

Browse files
committed
build: Make --xcode imply --skip-early-swiftsyntax
One can use the package file in the swift-syntax repo for this
1 parent 515715b commit 1d3b70d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

utils/build_swift/build_swift/driver_arguments.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ def _apply_default_arguments(args):
126126
# Building with Xcode is deprecated.
127127
args.skip_build = True
128128
args.build_early_swift_driver = False
129+
args.build_early_swiftsyntax = False
129130

130131
# --ios-all etc are not supported by open-source Swift.
131132
if args.ios_all:

utils/build_swift/tests/build_swift/test_driver_arguments.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -646,3 +646,4 @@ def test_implied_defaults_xcode(self):
646646
self.assertEqual(namespace.cmake_generator, 'Xcode')
647647
self.assertTrue(namespace.skip_build)
648648
self.assertFalse(namespace.build_early_swift_driver)
649+
self.assertFalse(namespace.build_early_swiftsyntax)

0 commit comments

Comments
 (0)