Skip to content

Add option to install without building.#2135

Merged
3405691582 merged 1 commit into
swiftlang:mainfrom
3405691582:install-only
May 12, 2026
Merged

Add option to install without building.#2135
3405691582 merged 1 commit into
swiftlang:mainfrom
3405691582:install-only

Conversation

@3405691582
Copy link
Copy Markdown
Member

This allows the build action to be decoupled from the install action, so packaging systems that expect to be able to do discrete installation steps post-build can do so cheaply, without having to effectively start the build over from scratch.

To match existing behavior, this defaults to being disabled. I have not added this to the macOS branch because I am unable to test the behavior.

This behavior was introduced in other projects that use a similar build-script-helper pattern: see swiftlang/swift-package-manager#9050, swiftlang/sourcekit-lsp#2579, swiftlang/swift-format#1171, and swiftlang/swift-docc#1486.

This allows the build action to be decoupled from the install action, so
packaging systems that expect to be able to do discrete installation
steps post-build can do so cheaply, without having to effectively start
the build over from scratch.

To match existing behavior, this defaults to being disabled. I have not
added this to the macOS branch because I am unable to test the behavior.

This behavior was introduced in other projects that use a similar
build-script-helper pattern: see swiftlang/swift-package-manager#9050,
swiftlang/sourcekit-lsp#2579, swiftlang/swift-format#1171, and
swiftlang/swift-docc#1486.
@3405691582
Copy link
Copy Markdown
Member Author

@swift-ci please test.

@3405691582 3405691582 enabled auto-merge May 11, 2026 18:10
@3405691582
Copy link
Copy Markdown
Member Author

@swift-ci please test Windows platform.

@3405691582 3405691582 merged commit 708717b into swiftlang:main May 12, 2026
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants