-
Notifications
You must be signed in to change notification settings - Fork 527
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
Docs tweaks: how to install with macOS Silicon / ARM #420
Comments
Are you running prost 0.6 or 0.7? My understanding is that as of #394 prost-build should ‘just work’, and that PR is included in 0.7. Happy to take a pr to update the brew example if it’s no longer accurate. |
Actually it appears the /opt location is specific to arm macs: https://docs.brew.sh/Installation |
Ah! Indeed, we're using Prost 0.6.1 over at https://github.com/pantsbuild/pants. Sorry I hadn't caught #394 earlier, great to see that included.
Interesting, good catch. Thanks! The number of macOS Silicon users is so much lower that it makes sense to stick with the |
Ah, another possibility for the Homebrew example:
|
That's fancy, a PR to that effect would be great! |
Hello, thanks for this excellent project!
Would you be open to a PR to tweak the docs to describe how to build with macOS Silicon? There isn't yet a pre-installed Protoc binary released through GitHub releases (protocolbuffers/protobuf#8062), so I had to
brew install protobuf
. Looks like I didn't actually have to setPROTOC
orPROTOC_INCLUDE
;protoc
being on the$PATH
was sufficient iiuc.I'd be happy to update some docs. Maybe these places?
brew install protobuf
?Also, the docs from https://docs.rs/prost-build/0.7.0/prost_build/index.html#sourcing-protoc give an example for how to set Protoc via homebrew, but it looks like Homebrew has (recently?) changed its default install dirs. I'm happy to update this.
Let me know what would be helpful!
The text was updated successfully, but these errors were encountered: