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

x/website: add linux/riscv64 downloads #59113

Closed
ernado opened this issue Mar 18, 2023 · 6 comments
Closed

x/website: add linux/riscv64 downloads #59113

ernado opened this issue Mar 18, 2023 · 6 comments
Labels
Milestone

Comments

@ernado
Copy link
Contributor

ernado commented Mar 18, 2023

Add linux/riscv64 to go.dev/dl to downloads table under "Other Ports" (i.e. like go1.20.2.linux-ppc64le.tar.gz).

Here:
image

This is required to add riscv64 to Docker Official Image packaging for golang.

I've tried to search for repo to apply CL's, but failed (golang/build?).

@gopherbot gopherbot added this to the Unreleased milestone Mar 18, 2023
@seankhliao
Copy link
Member

As per our https://github.com/golang/go/wiki/PortingPolicy
linux/risc64 is a secondary port, the core team won't be publishing binary builds for this architecture.

See also #53383

@seankhliao seankhliao closed this as not planned Won't fix, can't repro, duplicate, stale Mar 19, 2023
@ernado
Copy link
Contributor Author

ernado commented Mar 19, 2023

@seankhliao linux/s390x is a secondary port too, same as all ports under "Other Ports" section, so port should not be first class to have binaries.

@ernado
Copy link
Contributor Author

ernado commented Mar 19, 2023

Oh, I see the porting policy now.

Removing secondary ports will break some docker official images, which is unfortunate.

It looks like there should be another process to publish binaries, I'll investigate.

@ernado
Copy link
Contributor Author

ernado commented Mar 20, 2023

Ref: #53862

@ernado
Copy link
Contributor Author

ernado commented Apr 2, 2023

I've created go-riscv/go that cross-compiles compiler for riscv64 in CI/CD.

There is a pre-compiled go distrubiton go1.20.2.linux-riscv64.tar.gz in latest release and also scripts for building it locally.

@ernado
Copy link
Contributor Author

ernado commented May 2, 2023

This was done as part of #53862.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants