-
-
Notifications
You must be signed in to change notification settings - Fork 7.7k
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
Investigate Hugo build vs Apple Silicon M1 #7968
Comments
So I can confirm that the intel Mac binary works on the M1 chip under Rosetta2 (working on a MacBook Pro) without any real issues. If you want me to run any tests let me know. |
@tomekent that's great to hear. I suspect that we need to wait until Go 1.16 for a native build (February?). Does watching/live reload also work as it should? |
@bep Yes reload works fine as far as I can tell (I use the Hugo-academic theme and my main issues are due to my site being written in the pre-wowchemy). I think if you compile go from source as well you'd probably get a native build - as far as I'm aware the February date is for the official binary release. Rosetta2 works extremely well, so there's certainly no need for native at this stage. |
@tomekent thanks, I'm thinking of getting myself one of these cheapish Mac Mini M1's for Christmas to thinker around with... |
I have an Air with M1, running Hugo 0.73 and using Hugo modules. Go is installed via Brew. Right now not seeing any issues. |
Don't know if this is helpful, but I'm getting this error periodically (0.73): Details
|
@budparr the fix for that is in either Go or in Rosetta 2 in Apple -- but I notice it happens in the runtime/trace package; as I cannot ever remember using that trace for anything useful, I might as well remove it if that could help people running Hugo on their M1's. As a side note, I have a Mac Mini M1 in order ... |
Here's another one. Both of these appear to hit randomly:
|
Again this issue seems fixed since v0.81.0 was released |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Due to software incompat with a lot of the software I own/depend on, I don't plan to get a Apple M1 anytime soon (maybe a Mac Mini for Christmas ...?), but I'll open up this issue for future ref/others to chime in.
I suspect/hope that we soon can get native builds from Brew, not sure, but we probably need to do some leg work on our build chain, too.
Also see https://docs.google.com/document/d/1iWUstb66v66tTVxQWNMZ1BehgNzEmykzqDCUp5l8ip8/edit#heading=h.obhbusc2ks3k
The text was updated successfully, but these errors were encountered: