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 support for darwin/arm64 (Apple Silicon M1) #310

Merged
merged 4 commits into from
Jan 11, 2022

Conversation

chrisgoffinet
Copy link
Contributor

No description provided.

@sindhusegment
Copy link
Contributor

Hey @chrisgoffinet so this PR is very similar to another one merged recently: #307

For this, if you wish to generate a new github release and also have a release to packagecloud, you would want to include publish-github-darwin-arm64 on

publish-github: publish-github-darwin publish-github-linux publish-github-windows publish-github-deb publish-github-rpm publish-github-sha256sums
and
publish-packagecloud: publish-packagecloud-deb publish-packagecloud-rpm

@chrisgoffinet
Copy link
Contributor Author

Hey @chrisgoffinet so this PR is very similar to another one merged recently: #307

For this, if you wish to generate a new github release and also have a release to packagecloud, you would want to include publish-github-darwin-arm64 on

publish-github: publish-github-darwin publish-github-linux publish-github-windows publish-github-deb publish-github-rpm publish-github-sha256sums

and

publish-packagecloud: publish-packagecloud-deb publish-packagecloud-rpm

Thanks. I was just following the convention from prior commit. Might be a bug we don't push the linux-arm64, as thats how I missed that. I pushed up a change to include darwin-arm64 on github now.

@sindhusegment
Copy link
Contributor

Yeah it is a bug - I've just created a PR for it: #311
Not sure what the procedure is to get your PR approved but we're looking into it

@chrisgoffinet
Copy link
Contributor Author

@sindhusegment does this look good now?

@sindhusegment
Copy link
Contributor

@sindhusegment does this look good now?

Hey @chrisgoffinet sorry for the delayed response on this. So we've actually got a linux-arm64 PR that we merged recently but we're having issues generating an arm64 release in CircleCI for both a github binary and a packagecloud debian release. Were you able to test to see if you can successfully build the package and release it? If you have, then this would be super helpful for us and it will move along both your release for darwin-arm64 and ours for linux-arm64

@eddeee888
Copy link

Hi @sindhusegment @chrisgoffinet , how are we going with this PR? What's needed to push this over the line? :)

@asaf-erlich
Copy link
Contributor

Hello @eddeee888 , unfortunately getting chamber to successfully build for arm64 did not get finished during @sindhusegment 's internship here. It is still on our team's roadmap for this year but I don't know 100% for sure which quarter that will get prioritized.

In the meantime if whoever owns this PR can just make sure to test a local build for darwin arm64 I'm happy to get this approved and merged. Potentially in that case if comments in the code can mention that it would be nice. We can worry about automatic building and uploading to packagecloud at a later time. This way at minimum people can be unblocked if they need it.

@asaf-erlich
Copy link
Contributor

cc @emmy-byrne-segment so you're aware of this PR as well ^^

@emmy-byrne-segment
Copy link
Contributor

This all seems correct to me. Doing some local checks before we merge.

@emmy-byrne-segment
Copy link
Contributor

Tested with a rudimentary test on an M1 machine and build output is functional and correct arch.

@emmy-byrne-segment emmy-byrne-segment merged commit d5feac9 into segmentio:master Jan 11, 2022
@chrisgoffinet chrisgoffinet deleted the darwin-arm64 branch January 12, 2022 07:18
@eddeee888
Copy link

Thank you so much! Does this mean the next release should have the arm64 version? If so, when would that be if you don't mind me asking?
In the meantime, if I need to use a specific binary, would the recommendation be to check this out and build the binaries locally? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants