-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Support for darwin/arm64 (Apple Silicon) #9408
Labels
Comments
If I disable cgo, we can at least get past the runtime error.
However we then fail at CPU fingerprinting
|
shoenig
added a commit
that referenced
this issue
Dec 15, 2020
Add a build target for Apple Silicon (m1) macs. Note that Go must have been built with c4f497da6f for Nomad to work on darwin/arm64 (i.e. wait for go1.16). Closes #9408
shoenig
added a commit
that referenced
this issue
Dec 15, 2020
Add a build target for Apple Silicon (m1) macs. Note that Go must have been built with c4f497da6f for Nomad to work on darwin/arm64 (i.e. wait for go1.16). Closes #9408
backspace
pushed a commit
that referenced
this issue
Jan 22, 2021
Add a build target for Apple Silicon (m1) macs. Note that Go must have been built with c4f497da6f for Nomad to work on darwin/arm64 (i.e. wait for go1.16). Closes #9408
Going to reopen this issue so that we have a place to gather information about what would be needed to get these builds back. Cross-compiling seems to be running into gopsutil issues: #11046. It might not be a bad idea to investigate getting M1 builders on CI. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please note support for these M1 chips won't be officially supported by Go until the release of 1.16 (golang/go#38485)
With a little cross compiling, fixed build targets, and codesign kludging we can start to play around with building Go programs.
At the moment, nomad compiles but launching results in some runtime crash
Looks like it's a cgo thing golang/go#42738
The text was updated successfully, but these errors were encountered: