Skip to content

[6.3][cherrypick] Add option to install without building.#2141

Open
3405691582 wants to merge 1 commit into
swiftlang:release/6.3from
3405691582:install-only_63
Open

[6.3][cherrypick] Add option to install without building.#2141
3405691582 wants to merge 1 commit into
swiftlang:release/6.3from
3405691582:install-only_63

Conversation

@3405691582

@3405691582 3405691582 commented May 20, 2026

Copy link
Copy Markdown
Member
  • Explanation:

Allows the install action to be run without rebuilding.

  • Scope:

Minor. Option is not wired up to anything.

  • Issues:

Of relevance to the OpenBSD port in swiftlang/swift#78437

  • Original PRs:

#2135

  • Risk:

Minor. Option is off by default.

  • Testing:

Local testing, passed CI.

  • Reviewers:

@artemcm
@nkcsgexi

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 3405691582 requested review from artemcm and nkcsgexi May 20, 2026 20:55
@3405691582 3405691582 changed the title Add option to install without building. [6.3][cherrypick] Add option to install without building. May 20, 2026
@shahmishal

Copy link
Copy Markdown
Member

@swift-ci test

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