Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Darwin arm64 not in binary releases #8428

Closed
karelbilek opened this issue Mar 25, 2021 · 13 comments
Closed

Darwin arm64 not in binary releases #8428

karelbilek opened this issue Mar 25, 2021 · 13 comments
Labels
mac platform related Any issue releated to specific platform or OS

Comments

@karelbilek
Copy link

karelbilek commented Mar 25, 2021

Describe the problem you are trying to solve.
Install protocol on M1 Mac

Describe the solution you'd like
osx-aarch_64 in binary releases

Describe alternatives you've considered
Rosetta support, and it actually does work.

@squallud
Copy link

squallud commented Apr 17, 2021

Describe the problem you are trying to solve.
Install protocol on M1 Mac

Describe the solution you'd like
osx-aarch_64 in binary releases

Describe alternatives you've considered
Rosetta support, and it actually does work.

hi karelbilek, could you pls introduce how to run protobuf via Rosetta?

thank you

@karelbilek
Copy link
Author

Just run x86_64 as a normal binary. It's transparent

Note that you need to install rosetta first maybe

/usr/sbin/softwareupdate --install-rosetta

@squallud
Copy link

Just run x86_64 as a normal binary. It's transparent

Note that you need to install rosetta first maybe

/usr/sbin/softwareupdate --install-rosetta

Got it, thank you.

@karelbilek
Copy link
Author

Ah it is duplicate with (closed) #8062 , which I did not see

@vtolstov
Copy link
Contributor

any news?

@jurmous
Copy link

jurmous commented Oct 28, 2021

@vtolstov A compatible build was released with 3.18.0 and later which includes builds for osx-aarch_64. The Aarch_64 build is however not included in the 4.0.0 RC releases.

https://repo1.maven.org/maven2/com/google/protobuf/protoc/3.18.0/

@vtolstov
Copy link
Contributor

oh, thanks! do you have some roadmap when the aarch_64 will be released?

@perezd
Copy link
Contributor

perezd commented Oct 28, 2021

4.0.0 RC is not something anyone should be using, and I don't think has any immediate plans to be released. Please use 3.19: https://repo1.maven.org/maven2/com/google/protobuf/protoc/3.19.0/

4.0.0 RC is dead afaik.

@perezd perezd closed this as completed Oct 28, 2021
@karelbilek
Copy link
Author

Why was this closed? The 3.* releases still don't have ARM64 support on darwin.

@karelbilek
Copy link
Author

Ah, I see, it is in maven, but not on github

https://github.com/protocolbuffers/protobuf/releases/tag/v3.19.1

@chilanglr
Copy link

chilanglr commented Nov 25, 2021

Ah, I see, it is in maven, but not on github

Looks like the binaries on maven are not really arm64 but just x84_64 with the filename change :-(
for e.g. https://repo1.maven.org/maven2/com/google/protobuf/protoc/3.19.1/

file protoc-3.19.1-osx-aarch_64.exe
protoc-3.19.1-osx-aarch_64.exe: Mach-O 64-bit executable x86_64
file protoc-3.19.1-osx-x86_64.exe
protoc-3.19.1-osx-x86_64.exe: Mach-O 64-bit executable x86_64
shasum protoc-3.19.1-osx-x86_64.exe
24d7ad4b6e9f448426755bdda95f18befd77ca23  protoc-3.19.1-osx-x86_64.exe
shasum protoc-3.19.1-osx-aarch_64.exe
24d7ad4b6e9f448426755bdda95f18befd77ca23  protoc-3.19.1-osx-aarch_64.exe
```

@karelbilek
Copy link
Author

OK. Then @perezd can reopen?

But rosetta works fine so whatwever, it's not that slow anyway

@karelbilek
Copy link
Author

karelbilek commented Jul 11, 2022

It seems solved, latest releases are universal binaries. (Since 3.20)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mac platform related Any issue releated to specific platform or OS
Projects
None yet
Development

No branches or pull requests

7 participants