@@ -185,7 +185,6 @@ def parse_global_args(args):
185
185
args.source_dirs["swift-argument-parser"] = os.path.join(args.project_root, "..", "swift-argument-parser")
186
186
args.source_dirs["swift-driver"] = os.path.join(args.project_root, "..", "swift-driver")
187
187
args.source_dirs["swift-crypto"] = os.path.join(args.project_root, "..", "swift-crypto")
188
- args.source_dirs["swift-collections"] = os.path.join(args.project_root, "..", "swift-collections")
189
188
args.source_root = os.path.join(args.project_root, "Sources")
190
189
191
190
if platform.system() == 'Darwin':
@@ -342,7 +341,6 @@ def build(args):
342
341
]
343
342
build_dependency(args, "swift-driver", swift_driver_cmake_flags)
344
343
build_dependency(args, "swift-crypto")
345
- build_dependency(args, "swift-collections")
346
344
build_swiftpm_with_cmake(args)
347
345
348
346
build_swiftpm_with_swiftpm(args,integrated_swift_driver=False)
@@ -555,12 +553,11 @@ def build_swiftpm_with_cmake(args):
555
553
556
554
cmake_flags = [
557
555
get_llbuild_cmake_arg(args),
558
- "-DTSC_DIR=" + os.path.join(args.build_dirs["tsc"], "cmake/modules"),
559
- "-DYams_DIR=" + os.path.join(args.build_dirs["yams"], "cmake/modules"),
560
- "-DArgumentParser_DIR=" + os.path.join(args.build_dirs["swift-argument-parser"], "cmake/modules"),
561
- "-DSwiftDriver_DIR=" + os.path.join(args.build_dirs["swift-driver"], "cmake/modules"),
562
- "-DSwiftCrypto_DIR=" + os.path.join(args.build_dirs["swift-crypto"], "cmake/modules"),
563
- "-DSwiftCollections_DIR=" + os.path.join(args.build_dirs["swift-collections"], "cmake/modules"),
556
+ "-DTSC_DIR=" + os.path.join(args.build_dirs["tsc"], "cmake/modules"),
557
+ "-DYams_DIR=" + os.path.join(args.build_dirs["yams"], "cmake/modules"),
558
+ "-DArgumentParser_DIR=" + os.path.join(args.build_dirs["swift-argument-parser"], "cmake/modules"),
559
+ "-DSwiftDriver_DIR=" + os.path.join(args.build_dirs["swift-driver"], "cmake/modules"),
560
+ "-DSwiftCrypto_DIR=" + os.path.join(args.build_dirs["swift-crypto"], "cmake/modules"),
564
561
]
565
562
566
563
if platform.system() == 'Darwin':
@@ -577,7 +574,6 @@ def build_swiftpm_with_cmake(args):
577
574
add_rpath_for_cmake_build(args, os.path.join(args.build_dirs["swift-argument-parser"], "lib"))
578
575
add_rpath_for_cmake_build(args, os.path.join(args.build_dirs["swift-driver"], "lib"))
579
576
add_rpath_for_cmake_build(args, os.path.join(args.build_dirs["swift-crypto"], "lib"))
580
- add_rpath_for_cmake_build(args, os.path.join(args.build_dirs["swift-collections"], "lib"))
581
577
582
578
def build_swiftpm_with_swiftpm(args, integrated_swift_driver):
583
579
"""Builds SwiftPM using the version of SwiftPM built with CMake."""
@@ -676,7 +672,6 @@ def get_swiftpm_env_cmd(args):
676
672
os.path.join(args.build_dirs["swift-argument-parser"], "lib"),
677
673
os.path.join(args.build_dirs["swift-driver"], "lib"),
678
674
os.path.join(args.build_dirs["swift-crypto"], "lib"),
679
- os.path.join(args.build_dirs["swift-collections"], "lib"),
680
675
] + args.target_info["paths"]["runtimeLibraryPaths"])
681
676
682
677
if platform.system() == 'Darwin':
0 commit comments