-
Notifications
You must be signed in to change notification settings - Fork 681
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
Track amd64 variants #852
Comments
The golang proposal has been accepted. |
Nice catch - I think it makes sense to add the micro-architectures as variants, just a few new table entries there (though, to be pedantic, not so much because I want to track the go compiler but rather because it is an upstream agreement among the vendors). I'm somewhat indifferent on the baseline vs. "v1" debate.. https://en.wikipedia.org/wiki/X86-64#Microarchitecture_levels |
I tend to agree, but having everything be |
FYI the above accepted proposal is slated to be included in the upcoming Go 1.18: https://tip.golang.org/doc/go1.18#amd64 |
Did this make it into go 1.18? Should this be merged? |
I'm seeing it in 1.18:
This is only an issue, but I'd be open to a PR. We just need to be sure that adding this doesn't break existing implementations. |
It would be really nice to have labeling options for uarch ; use case: heterogeneous compute clusters, with mixed hardware ( zen2, zen3, haswell, skylake, etc ) |
It appears that containerd now supports amd64 variants, so I figured I'd link that PR and bump discussion here since I don't know what the greater ecosystem support is at the moment. |
golang/go#61476 (comment) is also very recent and related (but for riscv64) Personally, I agree we should document this and that we should follow Go and containerd's lead (v1, v2, etc). |
The RISC-V architecture variant names have a very bad mouthfeel :). Wrong issue for this discussion, but linux/riscv64/rva23u is probably what I would do rather than footgun myself by assuming I can make the variant a number prefixed with “v”. Or potentially linux/riscv64/a20s (in the 32-bit case, drop 64). Definitely not foo/v20 or foo/v23 though like it is with arm and x86_64. |
Doh yes, sorry, those were two separate thoughts that I didn't actually separate well -- I meant I'm +1 on v1, v2, etc for amd64 and separately that riscv64 variants are a thing we should be looking at / thinking about too. 😅 |
More: we should probably also document https://github.com/golang/go/blob/e85968670e35fc24987944c56277d80d7884e9cc/src/cmd/dist/build.go#L145-L185 The risk for We got almost that with golang/go#60905, where |
Context: golang/go#45453
I'm not sure how much we want to track go's compiler support for various platforms, but given that we already kind of do, I'm opening this issue to start a discussion because the go proposal is likely accept, and
variant
says:The text was updated successfully, but these errors were encountered: