Description
This is similar to PHOENIX-6475 for 64-bit Linux ARM. Maven will fail looking for an osx-aarch64 version of protoc 2.5.0
However, unlike in the Linux case, we have a good workaround that lets us keep using an official 2.5.0 binary.
MacOS versions that support Apple's ARM processors can run x64 code through a translation layer (with a perf hit). Therefore, we can change the phoenix-core pom to use the MacOS x86_64 version of protoc if it detects we're running osx-aarch64.
Unlike running all local development through an x64 JDK, which is very slow, protobuf compilation isn't a big part of the build / test time, so the perf hit for just emulating the protobuf compilation shouldn't be too bad.
Attachments
Issue Links
- relates to
-
HBASE-28208 Use x86_64 protoc 2.5.0 on Aarch64 Mac
- Resolved
- links to