Disable automatic resolution for builds. (#526)

- Improves build reproducibility by using only the pinned dependencies
in Package.resolved.
- Closes #299.
This commit is contained in:
J Logan authored and GitHub committed 2026-02-09 13:05:40 -08:00
1 parent 39aeac3f19
commit 3cfd54cb8a
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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"
+1 -1
View File
@@ -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