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

Add Darwin ARM64 build #8003

Closed
bep opened this issue Nov 29, 2020 · 8 comments
Closed

Add Darwin ARM64 build #8003

bep opened this issue Nov 29, 2020 · 8 comments
Assignees
Labels
Milestone

Comments

@bep
Copy link
Member

bep commented Nov 29, 2020

So Hugo can be run on MacOS with M1 via Rosetta 2.

@bep bep self-assigned this Nov 29, 2020
@bep bep added this to the v0.80 milestone Nov 29, 2020
@moorereason moorereason changed the title Add Darwing ARM64 build Add Darwin ARM64 build Nov 30, 2020
@Androz2091
Copy link

Androz2091 commented Dec 1, 2020

It stuck to "Building hugo" on a Mac mini m1. Is this normal?

@bep
Copy link
Member Author

bep commented Dec 1, 2020

It's certainly not related to this particular issue, try https://discourse.gohugo.io/

@ghost
Copy link

ghost commented Dec 2, 2020

Go currently does not have a builder for Darwin/arm64

https://github.com/golang/go/wiki/PortingPolicy#requirements-for-a-new-port

using go build -x . may shed some light on what is failing under rosetta

@klakegg
Copy link
Contributor

klakegg commented Dec 4, 2020

Would it be possible to add support for linux/arm64 for extended edition too?

@bep
Copy link
Member Author

bep commented Dec 4, 2020

Would it be possible to add support for linux/arm64 for extended edition too?

That should be doable, I think. Or, it would certainly be simpler than the topic title, with the new story of codesigning in the newest MacOS (which I suspect I need to wait until Go 1.16 to get out the door ...). My main challenge with the extended edition is that I somehow need to verify that my crossbuild setup is correct, meaning I need to run hugo on the target platform.

What runs linux/arm64? Is that Android?

@bep bep modified the milestones: v0.80, v0.81 Jan 2, 2021
@klakegg
Copy link
Contributor

klakegg commented Feb 17, 2021

What runs linux/arm64? Is that Android?

Raspberry Pi 4 with 8 GM RAM, and Android. 😄

@bep
Copy link
Member Author

bep commented Feb 17, 2021

@klakegg you timed that comment pretty good.

@github-actions
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants