Skip to content

utils: add support to package the Windows toolchain #38839

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 12, 2021

Conversation

compnerd
Copy link
Member

Package up the toolchain into the MSI set for distribution.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

Package up the toolchain into the MSI set for distribution.
@compnerd
Copy link
Member Author

@swift-ci please test

@compnerd
Copy link
Member Author

CC: @shahmishal

-p:RunWixToolsOutOfProc=true ^
-p:OutputPath=%PackageRoot%\installer\ ^
-p:IntermediateOutputPath=%PackageRoot%\installer\ ^
-p:MSI_LOCATION=%PackageRoot%\
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need the \ here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, in general, its far safer to provide the trailing \ for paths.

-p:RunWixToolsOutOfProc=true ^
-p:OutputPath=%PackageRoot%\runtime\ ^
-p:IntermediateOutputPath=%PackageRoot%\runtime\ ^
-p:SDK_ROOT=%SDKInstallRoot%\
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, here too (do we need \?)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar.

@compnerd compnerd merged commit 437302f into swiftlang:main Aug 12, 2021
@compnerd compnerd deleted the package branch August 12, 2021 15:50
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.

2 participants