Skip to content

Commit 6571b34

Browse files
authored
[6.1] Update SwiftPM/CMake dependencies to match toolchain build (#1181)
1 parent 3158574 commit 6571b34

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

Benchmarks/Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,11 @@ switch usePackage {
7171

7272
case .useGitHubPackage:
7373
#if os(macOS)
74-
packageDependency.append(.package(url: "https://github.com/apple/swift-foundation", branch: "main"))
74+
packageDependency.append(.package(url: "https://github.com/apple/swift-foundation", branch: "release/6.1"))
7575
targetDependency.append(.product(name: "FoundationEssentials", package: "swift-foundation"))
7676
targetDependency.append(.product(name: "FoundationInternationalization", package: "swift-foundation"))
7777
#else
78-
packageDependency.append(.package(url: "https://github.com/apple/swift-corelibs-foundation", branch: "main"))
78+
packageDependency.append(.package(url: "https://github.com/apple/swift-corelibs-foundation", branch: "release/6.1"))
7979
targetDependency.append(.product(name: "Foundation", package: "swift-corelibs-foundation"))
8080
#endif
8181

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ else()
6868
message(STATUS "_SwiftFoundationICU_SourceDIR not provided, checking out local copy of swift-foundation-icu")
6969
FetchContent_Declare(SwiftFoundationICU
7070
GIT_REPOSITORY https://github.com/apple/swift-foundation-icu.git
71-
GIT_TAG 0.0.9)
71+
GIT_TAG release/6.1)
7272
endif()
7373

7474
if (_SwiftCollections_SourceDIR)

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ var dependencies: [Package.Dependency] {
6262
from: "1.1.0"),
6363
.package(
6464
url: "https://github.com/apple/swift-foundation-icu",
65-
branch: "main"),
65+
branch: "release/6.1"),
6666
.package(
6767
url: "https://github.com/swiftlang/swift-syntax",
68-
branch: "main")
68+
branch: "release/6.1")
6969
]
7070
}
7171
}

Sources/FoundationMacros/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ if(NOT SwiftSyntax_FOUND)
4343
# If building at desk, check out and link against the SwiftSyntax repo's targets
4444
FetchContent_Declare(SwiftSyntax
4545
GIT_REPOSITORY https://github.com/swiftlang/swift-syntax.git
46-
GIT_TAG 600.0.0)
46+
GIT_TAG release/6.1)
4747
FetchContent_MakeAvailable(SwiftSyntax)
4848
else()
4949
message(STATUS "SwiftSyntax_DIR provided, using swift-syntax from ${SwiftSyntax_DIR}")

0 commit comments

Comments
 (0)