Support 'arm64' macOS arch when downloading protoc
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA
uname -m
on an ARM macOS returns arm64
, but the corresponding protoc
file has aarch_64
suffix instead.
See https://github.com/protocolbuffers/protobuf/releases/download/v22.0/protoc-22.0-osx-aarch_64.zip for the currently used PROTOC_VERSION := 22.2
(https://github.com/protocolbuffers/protobuf/releases/tag/v22.0).
Edited by Nail Islamov