From 94afbf91a48eedd57fb47dde08e885e3abcb721d Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Thu, 27 Aug 2026 17:43:42 +0100 Subject: [PATCH 1/3] Swift: Test the thinned macOS resource dir Point at the staging artifact built with the x86_64-only thinning from semmle-code. Must be reverted before merging. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 03df685d-b0f4-4920-8c7c-8e70c6c868bf --- swift/third_party/load.bzl | 1 + 1 file changed, 1 insertion(+) diff --git a/swift/third_party/load.bzl b/swift/third_party/load.bzl index 676c5f0ce847..05cac9509e11 100644 --- a/swift/third_party/load.bzl +++ b/swift/third_party/load.bzl @@ -6,6 +6,7 @@ load("//misc/bazel:lfs.bzl", "lfs_archive", "lfs_files") _override = { # these are used to test new artifacts. Must be empty before merging to main + "resource-dir-macOS-swift-6.3.3-RELEASE-228.zip": "7c4d3307c8986fb2118bb46d36637fcf82385b8a19153f3656fe5065058fbccb", } _staging_url = "https://github.com/dsp-testing/codeql-swift-artifacts/releases/download/staging-{}/{}" From 613eeaf55e5dd07084618911afdf94f3891a5d1d Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Thu, 3 Sep 2026 18:28:22 +0100 Subject: [PATCH 2/3] Swift: Point at the host-only thinned resource dir The semmle-code change now thins only `usr/lib/swift/host`, so test that artifact rather than the earlier one which also thinned the per-target libraries. --- swift/third_party/load.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swift/third_party/load.bzl b/swift/third_party/load.bzl index 05cac9509e11..2e116056e7a2 100644 --- a/swift/third_party/load.bzl +++ b/swift/third_party/load.bzl @@ -6,7 +6,7 @@ load("//misc/bazel:lfs.bzl", "lfs_archive", "lfs_files") _override = { # these are used to test new artifacts. Must be empty before merging to main - "resource-dir-macOS-swift-6.3.3-RELEASE-228.zip": "7c4d3307c8986fb2118bb46d36637fcf82385b8a19153f3656fe5065058fbccb", + "resource-dir-macOS-swift-6.3.3-RELEASE-237.zip": "0589f8b61a87447d03b4b81b915f6b341ff8bcb123effda586cba46cc9487bd6", } _staging_url = "https://github.com/dsp-testing/codeql-swift-artifacts/releases/download/staging-{}/{}" From 2c2490a7ae5a17bc1e1fe6eaa38430ca40c1c51f Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Thu, 10 Sep 2026 13:33:29 +0100 Subject: [PATCH 3/3] Swift: Adopt the smaller macOS host libraries Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- swift/third_party/load.bzl | 1 - swift/third_party/resources/resource-dir-macos.zip | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/swift/third_party/load.bzl b/swift/third_party/load.bzl index 2e116056e7a2..676c5f0ce847 100644 --- a/swift/third_party/load.bzl +++ b/swift/third_party/load.bzl @@ -6,7 +6,6 @@ load("//misc/bazel:lfs.bzl", "lfs_archive", "lfs_files") _override = { # these are used to test new artifacts. Must be empty before merging to main - "resource-dir-macOS-swift-6.3.3-RELEASE-237.zip": "0589f8b61a87447d03b4b81b915f6b341ff8bcb123effda586cba46cc9487bd6", } _staging_url = "https://github.com/dsp-testing/codeql-swift-artifacts/releases/download/staging-{}/{}" diff --git a/swift/third_party/resources/resource-dir-macos.zip b/swift/third_party/resources/resource-dir-macos.zip index 2a606b4771fe..cc53d2e44a66 100644 --- a/swift/third_party/resources/resource-dir-macos.zip +++ b/swift/third_party/resources/resource-dir-macos.zip @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:da5cbdd44ee4728606f2dc0dd0718e3c7c8748ae1ec8d6261365282d54ba8db9 -size 548170081 +oid sha256:0589f8b61a87447d03b4b81b915f6b341ff8bcb123effda586cba46cc9487bd6 +size 433044499