From 261fdb69163ff28608b3d83ad69e20cb164dbf76 Mon Sep 17 00:00:00 2001 From: John Logan Date: Mon, 9 Feb 2026 12:14:24 -0800 Subject: [PATCH] Disable automatic resolution for builds. - Improves build reproducibility by using only the pinned dependencies in Package.resolved. --- Makefile | 2 +- vminitd/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 92efbf8a..29d71893 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ # Build configuration variables BUILD_CONFIGURATION ?= debug WARNINGS_AS_ERRORS ?= true -SWIFT_CONFIGURATION := $(if $(filter-out false,$(WARNINGS_AS_ERRORS)),-Xswiftc -warnings-as-errors) +SWIFT_CONFIGURATION := $(if $(filter-out false,$(WARNINGS_AS_ERRORS)),-Xswiftc -warnings-as-errors) --disable-automatic-resolution # Commonly used locations SWIFT := "/usr/bin/swift" diff --git a/vminitd/Makefile b/vminitd/Makefile index 53892acf..7b3c9947 100644 --- a/vminitd/Makefile +++ b/vminitd/Makefile @@ -15,7 +15,7 @@ BUILD_CONFIGURATION ?= debug WARNINGS_AS_ERRORS ?= true SWIFT_WARNING_CONFIG := $(if $(filter-out false,$(WARNINGS_AS_ERRORS)),-Xswiftc -warnings-as-errors) -SWIFT_CONFIGURATION := --swift-sdk aarch64-swift-linux-musl $(SWIFT_WARNING_CONFIG) -Xlinker -s +SWIFT_CONFIGURATION := --swift-sdk aarch64-swift-linux-musl $(SWIFT_WARNING_CONFIG) -Xlinker -s --disable-automatic-resolution SWIFT_VERSION := 6.2.3 SWIFT_SDK_URL := https://download.swift.org/swift-6.2.3-release/static-sdk/swift-6.2.3-RELEASE/swift-6.2.3-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz