Skip to content
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

utils: make -BuildTargets optional in build.ps1 #76290

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

compnerd
Copy link
Member

@compnerd compnerd commented Sep 5, 2024

This doesn't really add much to readability and is almost always default. Simply assume the default behaviour and allow callers to alter the behaviour if needed.

@compnerd
Copy link
Member Author

compnerd commented Sep 5, 2024

@swift-ci please test

@compnerd
Copy link
Member Author

compnerd commented Sep 5, 2024

CC: @hyp @hjyamauchi

@@ -1728,7 +1723,6 @@ function Build-Dispatch([Platform]$Platform, $Arch, [switch]$Test = $false) {
-Arch $Arch `
-Platform $Platform `
-UseBuiltCompilers C,CXX,Swift `
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it okay not to keep ExperimentalTest when testing? If $Target is really dead, better to remove it from the above statement?

Copy link
Member Author

Choose a reason for hiding this comment

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

No, that needs to be preserved to run the tests.

Copy link
Contributor

Choose a reason for hiding this comment

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

So, we need to keep the -BuildTargets $Targets here?

This doesn't really add much to readability and is almost always
`default`. Simply assume the default behaviour and allow callers
to alter the behaviour if needed.
@compnerd
Copy link
Member Author

compnerd commented Sep 8, 2024

@swift-ci please test

@compnerd
Copy link
Member Author

compnerd commented Sep 8, 2024

@swift-ci please test macOS platform

@compnerd
Copy link
Member Author

compnerd commented Sep 9, 2024

@swift-ci please clean test macOS platfoorm

@compnerd
Copy link
Member Author

compnerd commented Sep 9, 2024

@swift-ci please clean test macOS platform

@compnerd
Copy link
Member Author

compnerd commented Sep 9, 2024

@swift-ci please smoke test macOS platform

@compnerd compnerd merged commit adf3bde into swiftlang:main Sep 9, 2024
4 of 5 checks passed
@compnerd compnerd deleted the targets branch September 9, 2024 20:51
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