Skip to content

Commit faf972c

Browse files
authored
Merge pull request #50204 from alesj/proto_arm1
Add aarch64 warning to docs
2 parents fdecf97 + cc42efc commit faf972c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/src/main/asciidoc/grpc-generation-reference.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,8 @@ The next table lists the different variants of the `protoc` and plugin artifacts
348348

349349
Because of the packaging of `protoc` and the plugin (using classifier), it's not possible to exclude undesired platforms individually.
350350

351+
WARNING: When using https://en.wikipedia.org/wiki/AArch64[AArch64] on macOS be aware of this https://github.com/grpc/grpc-java/issues/11844[issue]: meaning that the macOS https://en.wikipedia.org/wiki/X86[x86_64] protoc and macOS aarch_64 protoc are the `same` - both are macOS x86_64. So you need to enable https://en.wikipedia.org/wiki/Rosetta_(software)[Rosetta] (`softwareupdate --install-rosetta`) on your ARM based macOS if you want to generate protobuf classes.
352+
351353
You can, however, exclude the `protoc` dependency altogether and use the `quarkus.grpc.protoc-path` system property to configure the path to the `protoc` executable installed on your machine.
352354
Thus, you don't need to download any `protoc` variants:
353355

0 commit comments

Comments
 (0)