mirror of
https://github.com/apple/container.git
synced 2026-10-13 09:39:18 +00:00
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:
1 parent
39aeac3f19
commit
3cfd54cb8a
2 files changed
+2
-2
No files matched your search
@@ -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
@@ -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
|
||||
|
||||
Reference in new issue
Block a user