Geoffrey Jacoby created PHOENIX-6806:
----------------------------------------
Summary: Protobufs don't compile on ARM-based Macs (Apple Silicon)
Key: PHOENIX-6806
URL: https://issues.apache.org/jira/browse/PHOENIX-6806
Project: Phoenix
Issue Type: Bug
Reporter: Geoffrey Jacoby
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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)