-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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
Conversation
@swift-ci please test |
CC: @hyp @hjyamauchi |
@@ -1728,7 +1723,6 @@ function Build-Dispatch([Platform]$Platform, $Arch, [switch]$Test = $false) { | |||
-Arch $Arch ` | |||
-Platform $Platform ` | |||
-UseBuiltCompilers C,CXX,Swift ` |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
@swift-ci please test |
@swift-ci please test macOS platform |
@swift-ci please clean test macOS platfoorm |
@swift-ci please clean test macOS platform |
@swift-ci please smoke test macOS platform |
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.