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

go: support configuring "micro-architectures" for instruction set selection #14663

Open
tdyas opened this issue Mar 1, 2022 · 1 comment
Open
Labels
backend: Go Go backend-related issues

Comments

@tdyas
Copy link
Contributor

tdyas commented Mar 1, 2022

Go supports configuring a "micro-architecture" via environment variables specific to each GOARCH. This allows selecting variants/extenions of the architecture's instruction set, for example. (And there may be other uses.) See golang/go#45453 for x86-64 example.

Pants should pass through those environment variables or support setting them via a config option. They will also need to be incorporated into the cache key.

@tdyas tdyas added the backend: Go Go backend-related issues label Mar 1, 2022
@tdyas
Copy link
Contributor Author

tdyas commented Mar 1, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend: Go Go backend-related issues
Projects
None yet
Development

No branches or pull requests

1 participant