-
Notifications
You must be signed in to change notification settings - Fork 24
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
Default install does not honor GOARCH #52
Comments
I'd also add installation instructions in the docs for ARM :)
|
It does not use GOARCH. It is supposed to support the
You must already have the darwin/amd64 version of gvm installed, because it defaults to using the architecture of gvm (via runtime.GOARCH). So if you install the darwin/arm64 release then it should default to arm64. |
Relates: #53 (fixes |
In general, that environment variable won't be made available to the subshell. So it would be surprising to have GOARCH affect anything within that subshell. |
I tested the fix for the On a M1 mac I tested using an amd64 gvm binary with the
The env var works too:
Or when using
|
I forgot we have a universal binary for mac so I now changed the readme to use that. |
I'm trying to install Go on my Macbook Pro M1 with GVM, but it always installs the AMD64 version of Go:
It's not until I add the GOARCH variable when it respects the architecture of my machine:
The text was updated successfully, but these errors were encountered: