[6.4] SwiftBuild: expose STRIP_INSTALLED_PRODUCT setting#10038
Merged
Conversation
d161a1d to
130d98e
Compare
Contributor
Author
|
@swift-ci test |
130d98e to
c0f8186
Compare
Contributor
Author
|
@swift-ci test |
c0f8186 to
660d3eb
Compare
Contributor
Author
|
@swift-ci test |
Contributor
Author
|
@swift-ci test windows |
owenv
reviewed
May 11, 2026
owenv
approved these changes
May 11, 2026
jakepetroules
approved these changes
May 11, 2026
660d3eb to
4f8cd5f
Compare
Contributor
Author
|
@swift-ci test |
Contributor
Author
|
@swift-ci test windows |
1 similar comment
Contributor
Author
|
@swift-ci test windows |
bkhouri
added a commit
to bkhouri/swift-build
that referenced
this pull request
May 13, 2026
A feature is being added to swift package manager in swiftlang/swift-package-manager#10038 to not strip binaries in release mode. However, some package product object libraries on some platforms. This change excludes stripping object libraries. Relates to swiftlang/swift-package-manager#10037
Allow the STRIP_INSTALLED_PRODUCT build setting in the Swift Build settings to be configuration in SwiftPM. Add an "enable/disable" build options that will sets the settings value accordingly. When not set, the products are not stripped, matching the native build system. Fixes: swiftlang#10037 Issue: rdar://176554583
4f8cd5f to
2e64eae
Compare
Contributor
Author
|
@swift-ci test |
Contributor
Author
|
@swift-ci test windows |
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Allow the STRIP_INSTALLED_PRODUCT build setting in the Swift Build settings to be configuration in SwiftPM.
Add an "enable/disable" build options that will sets the settings value accordingly. When not set, the products are not stripped, matching the native build system.
Fixes: #10037
Issue: rdar://176554583
Depends on: swiftlang/swift-build#1395