@@ -23,7 +23,7 @@ import platform
23
23
import re
24
24
import shutil
25
25
import subprocess
26
- from helpers import note , warning , error , symlink_force , mkdir_p , call , call_output
26
+ from helpers import note , error , symlink_force , mkdir_p , call , call_output
27
27
28
28
g_macos_deployment_target = '10.15'
29
29
@@ -144,10 +144,6 @@ def add_build_args(parser):
144
144
dest = "cross_compile_hosts" ,
145
145
help = "List of cross compile hosts targets." ,
146
146
default = [])
147
- parser .add_argument (
148
- "--skip-package-syntax" ,
149
- action = "store_true" ,
150
- help = "Build the second stage without PackageSyntax support." )
151
147
152
148
def add_test_args (parser ):
153
149
"""Configures the parser with the arguments necessary for the test action."""
@@ -177,7 +173,6 @@ def parse_global_args(args):
177
173
args .swift_argument_parser_source_dir = os .path .join (args .project_root , ".." , "swift-argument-parser" )
178
174
args .swift_driver_source_dir = os .path .join (args .project_root , ".." , "swift-driver" )
179
175
args .swift_crypto_source_dir = os .path .join (args .project_root , ".." , "swift-crypto" )
180
- args .swift_syntax_source_dir = os .path .join (args .project_root , ".." , "swift-syntax" )
181
176
args .source_root = os .path .join (args .project_root , "Sources" )
182
177
183
178
if platform .system () == 'Darwin' :
@@ -728,13 +723,6 @@ def get_swiftpm_env_cmd(args):
728
723
if args .llbuild_link_framework :
729
724
env_cmd .append ("SWIFTPM_LLBUILD_FWK=1" )
730
725
env_cmd .append ("SWIFTCI_USE_LOCAL_DEPS=1" )
731
-
732
- # Build package editor support if swift-syntax is checked out.
733
- if os .path .exists (args .swift_syntax_source_dir ) and not args .skip_package_syntax :
734
- env_cmd .append ("SPM_BUILD_PACKAGE_SYNTAX=1" )
735
- elif not args .skip_package_syntax :
736
- warning ("Skipping build of PackageSyntax because no SwiftSyntax checkout was found" )
737
-
738
726
env_cmd .append ("SWIFTPM_MACOS_DEPLOYMENT_TARGET=%s" % g_macos_deployment_target )
739
727
740
728
if args .bootstrap :
0 commit comments