You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Geoffrey Jacoby (Jira)" <ji...@apache.org> on 2022/10/07 19:22:00 UTC
[jira] [Assigned] (PHOENIX-6806) Protobufs don't compile on ARM-based Macs (Apple Silicon)
[ https://issues.apache.org/jira/browse/PHOENIX-6806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Geoffrey Jacoby reassigned PHOENIX-6806:
----------------------------------------
Assignee: Geoffrey Jacoby
> 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
> Assignee: Geoffrey Jacoby
> Priority: Major
>
> 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)