Skip to content

Commit a2d598e

Browse files
committed
fixup
1 parent 723154b commit a2d598e

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

Tests/BuildTests/BuildPlanTests.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2222,7 +2222,7 @@ final class BuildPlanTests: XCTestCase {
22222222
XCTAssertNoDiagnostics(observability.diagnostics)
22232223

22242224
let result = try BuildPlanResult(plan: try BuildPlan(
2225-
buildParameters: mockBuildParameters(shouldLinkStaticSwiftStdlib: true),
2225+
buildParameters: mockBuildParameters(),
22262226
graph: graph,
22272227
fileSystem: fs,
22282228
observabilityScope: observability.topScope
@@ -2327,7 +2327,7 @@ final class BuildPlanTests: XCTestCase {
23272327
XCTAssertNoDiagnostics(observability.diagnostics)
23282328

23292329
let result = try BuildPlanResult(plan: try BuildPlan(
2330-
buildParameters: mockBuildParameters(shouldLinkStaticSwiftStdlib: true),
2330+
buildParameters: mockBuildParameters(),
23312331
graph: graph,
23322332
fileSystem: fs,
23332333
observabilityScope: observability.topScope
@@ -2438,7 +2438,7 @@ final class BuildPlanTests: XCTestCase {
24382438
XCTAssertNoDiagnostics(observability.diagnostics)
24392439

24402440
let result = try BuildPlanResult(plan: try BuildPlan(
2441-
buildParameters: mockBuildParameters(shouldLinkStaticSwiftStdlib: true),
2441+
buildParameters: mockBuildParameters(),
24422442
graph: graph,
24432443
fileSystem: fs,
24442444
observabilityScope: observability.topScope
@@ -2550,7 +2550,7 @@ final class BuildPlanTests: XCTestCase {
25502550
XCTAssertNoDiagnostics(observability.diagnostics)
25512551

25522552
let result = try BuildPlanResult(plan: try BuildPlan(
2553-
buildParameters: mockBuildParameters(shouldLinkStaticSwiftStdlib: true),
2553+
buildParameters: mockBuildParameters(),
25542554
graph: graph,
25552555
fileSystem: fs,
25562556
observabilityScope: observability.topScope
@@ -2998,7 +2998,7 @@ final class BuildPlanTests: XCTestCase {
29982998

29992999
let observability = ObservabilitySystem.makeForTesting()
30003000
let graph = try loadPackageGraph(
3001-
fs: fs,
3001+
fileSystem: fs,
30023002
manifests: [
30033003
Manifest.createRootManifest(
30043004
name: "Pkg",

Utilities/Docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ ENV LC_ALL en_US.UTF-8
2020
ENV LANG en_US.UTF-8
2121
ENV LANGUAGE en_US.UTF-8
2222

23-
# SwiftPM dependencies
23+
# SwiftPM dependancies
2424
#---------------------
2525

2626
RUN apt-get update && apt-get install -y \

Utilities/bootstrap

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -616,6 +616,10 @@ def build_swiftpm_with_swiftpm(args, integrated_swift_driver):
616616
if integrated_swift_driver:
617617
swiftpm_args.append("--use-integrated-swift-driver")
618618

619+
620+
# tools distributed in the toolchain should not statically link the swift runtime
621+
swiftpm_args.append("--disable-static-swift-runtime")
622+
619623
# Build SwiftPM, including libSwiftPM, all the command line tools, and the current variant of PackageDescription.
620624
call_swiftpm(args, swiftpm_args)
621625

0 commit comments

Comments
 (0)