Building bottles for arm64 #2896
Unanswered
ValentinTrinque
asked this question in
Tap maintenance and brew development
Replies: 1 comment 7 replies
-
Not out of the box. One way might be to patch the call to Note sure if this will work, but I don't see a reason why it shouldn't. If you don't want to patch |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to find a way to build arm64 bottles on a tap, using the Github Actions generated by
brew tap-new
that usesbrew test-bot
, but I couldn't find out how. I had a look to the homebrew-core repository to find out how it's doing it, but got lost.I tried to keep it simple.
My formula is targeting a golang project, so I can cross-compile by setting the GOARCH env var.
At this point, I assume the project is correctly compiled for arm64.
However, the default file name of the bottle, when creating it, resolves on the underlaying CPU architecture (x86-64) (job):
Is there a way to make brew test-bot resolve to arm64 during the bottling ?
Is this possible to reproduce what homebrew-core is doing to auto create the arm64 bottles ?
Supporting this out of the box could be nice by the Github Action.
Reference:
Beta Was this translation helpful? Give feedback.
All reactions