Skip to content

Commit 589a503

Browse files
committed
Swift: update Swift 5.10 dependencies
1 parent b2e0485 commit 589a503

File tree

1 file changed

+6
-14
lines changed

1 file changed

+6
-14
lines changed

swift/third_party/load.bzl

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
22
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
33

4-
_swift_prebuilt_version = "swift-5.9.2-RELEASE.299"
4+
_swift_prebuilt_version = "swift-5.10-RELEASE.316"
55
_swift_sha_map = {
6-
"Linux-X64": "19e8150251601e7b27e76d1a405a72c459f9a3e2949a1e360fde15ebb4d87409",
7-
"macOS-ARM64": "4aaec59489c1607be0bd9ea522c1772f9368e7e29197167d3db73e0eb4fa605f",
8-
"macOS-X64": "16f3a248269a06b00c6a40567ca06d5494d9a0ce24e7dd7cb8534828639418e8",
6+
"Linux-X64": "8c6769a39ec94517ed56a9bf437ffe391ab8d76268f7ece1464deb6cf414ef40",
7+
"macOS-ARM64": "8541653cd3d78fd14a67150f12c96b9f522b2b51231b5d3085e356ed5f5f0a6b",
8+
"macOS-X64": "69fafb0c93029e1824bc70e9d3b05d6359077da41d61eed014a4c82a35e9b56c",
99
}
1010

1111
_swift_arch_map = {
@@ -20,13 +20,13 @@ _toolchain_info = {
2020
platform = "ubuntu2004",
2121
suffix = "ubuntu20.04",
2222
extension = "tar.gz",
23-
sha = "93477b80db16f3e5085738ade05478ed435793e39864418e737a10ac306cbd8c",
23+
sha = "935d0b68757d9b1aceb6410fe0b126a28a07e362553ebba0c4bcd1c9a55d0bc5",
2424
),
2525
"macos": struct(
2626
platform = "xcode",
2727
suffix = "osx",
2828
extension = "pkg",
29-
sha = "68951c313b4b559878fc5be27e460c877f98d14e161f755220b063123919e896",
29+
sha = "ef9bb6b38711324e1b1c89de44a27d9519d0711924c57f4df541734b04aaf6cc",
3030
),
3131
}
3232

@@ -124,14 +124,6 @@ def load_dependencies(module_ctx = None, repository_name = "codeql"):
124124
),
125125
build_file = _build(repository_name, "swift-llvm-support"),
126126
sha256 = sha256,
127-
patch_args = ["-p1"],
128-
patches = [
129-
"@%s//swift/third_party/swift-llvm-support:patches/%s.patch" % (repository_name, patch_name)
130-
for patch_name in (
131-
"remove-redundant-operators",
132-
"add-constructor-to-Compilation",
133-
)
134-
],
135127
)
136128

137129
_toolchains(repository_name)

0 commit comments

Comments
 (0)