Skip to content

Conversation

@conormcd
Copy link

Versions of com.google.protobuf/protoc prior to 3.17.3 don't ship binaries suitable for Apple Arm chips. Those machines can run the x86_64 versions of protoc, so for versions before 3.17.3 we choose that architecture instead.

Also, improve the error messages for when lein-protoc is used on an unsupported OS or architecture.

If we haven't been able to find an appropriate copy of protoc then
build-cmd should return nil in order to prevent compile-proto! from
executing a malformed command line.
If Leiningen fails to return a value for either the operating system or
architecture then we emit a warning message explaining what happened.
Versions of com.google.protobuf/protoc prior to 3.17.3 don't ship
binaries suitable for Apple Arm chips. Those laptops can run the x86_64
versions of protoc, so for versions before 3.17.3 we choose that
architecture instead.
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.

1 participant