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

protoc doesn't support Apple silicon/M1 #1238

Closed
ennru opened this issue Jan 12, 2021 · 3 comments · Fixed by #1490
Closed

protoc doesn't support Apple silicon/M1 #1238

ennru opened this issue Jan 12, 2021 · 3 comments · Fixed by #1490
Milestone

Comments

@ennru
Copy link
Member

ennru commented Jan 12, 2021

Short description

Protobuf's protoc is not published pre-compiled for Apple Silicon/M1 protocolbuffers/protobuf#8062

protoc-jar: protoc version: 3.11.4, detected platform: osx-aarch_64 (mac os x/aarch64)
...
[error] stack trace is suppressed; run last Compile / protocGenerate for the full output
[error] (Compile / protocGenerate) error occurred while compiling protobuf files: Unsupported platform: protoc-3.11.4-osx-aarch_64.exe

ScalaPB instructs users to compile it locally scalapb/ScalaPB#1024

@ennru
Copy link
Member Author

ennru commented Jan 22, 2021

With the latest sbt-protoc users may choose to use a local install of protoc. The Akka gRPC docs point to the necessary settings now.

@ennru ennru closed this as completed Jan 22, 2021
@johanandren
Copy link
Member

aarch64 support is included with newer protoc artifacts (3.18.1 for example)

johanandren added a commit that referenced this issue Nov 11, 2021
raboof added a commit that referenced this issue Nov 17, 2021
* Align protoc versions with protobuf

Indirectly fixes #1238

* More tricky than I thought

* scalafmtSbt

* More tweaking

Co-authored-by: Arnout Engelen <arnout@bzzt.net>
@raboof
Copy link
Member

raboof commented Nov 23, 2021

aarch64 support is included with newer protoc artifacts (3.18.1 for example)

(which will be the default in Akka gRPC starting from version 2.1.2 onwards)

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 a pull request may close this issue.

3 participants