-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
cmd/dist: add support for broken ports #56679
Comments
CC @toothrot |
Change https://go.dev/cl/458516 mentions this issue: |
Change https://go.dev/cl/458515 mentions this issue: |
Change https://go.dev/cl/458517 mentions this issue: |
When a port is restored after being marked as broken, its builder won't be able to test the port unless the -force flag is passed to make.bash. This change makes it possible to configure such builders as so: makeScriptArgs: []string{ // TODO(go.dev/issue/nnn): Temporarily force build // until the port is no longer marked as broken. "-force", }, To see test results before the port is no longer marked as broken. This change stops reusing the value of allScriptArgs for make.bash args. That doesn't break anything since only the misc-compile builders have a non-empty allScriptArgs set, and that value is needed for buildall.bash, not for make.bash. For golang/go#56679. Change-Id: I6b7a51a7dc1a00674bae4bddf4fca5c96c06fa15 Reviewed-on: https://go-review.googlesource.com/c/build/+/458517 Run-TryBot: Dmitri Shuralyov <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Auto-Submit: Dmitri Shuralyov <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]>
It's empty so far. The next CL adds linux/sparc64. Also add -force flag to the bootstrap.bash script so that it's possible to use it with broken ports. For #56679. Change-Id: I09c733d0df0a68df34fb808eae29be010a6da461 Reviewed-on: https://go-review.googlesource.com/c/go/+/458515 Run-TryBot: Dmitri Shuralyov <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> Auto-Submit: Dmitri Shuralyov <[email protected]> TryBot-Result: Gopher Robot <[email protected]>
The linux/sparc64 port is incomplete—it doesn't work, and it doesn't have a builder. Now that dist supports broken ports, mark it as such. The incomplete map was created to hide ports that aren't functional from dist list output. Now that we have the broken port concept, it seems largely redundant, so remove it for now. For #56679. Updates #28944. Change-Id: I34bd23e913ed6d786a4d0aa8d2852f2b926fe4b6 Reviewed-on: https://go-review.googlesource.com/c/go/+/458516 Auto-Submit: Dmitri Shuralyov <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> Run-TryBot: Dmitri Shuralyov <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
With the changes above, I believe this is complete. Closing. Please comment if I missed something. (For now, only the incomplete linux/sparc64 port was marked as broken. If some approvers believe another port should be marked, that should be handled by filing a new issue.) |
In #53383 we said the following:
make.bash
orgo tool dist
is invoked with a new option-force
.This issue is about adding that support to cmd/dist:
-force
option for both cmd/dist and make.bash to build a port that is marked as broken.The text was updated successfully, but these errors were encountered: