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

grpcio==1.38.0 dependency can't build from source on MacOS aarch64 (M1) #3643

Closed
moodyjon opened this issue Aug 2, 2022 · 1 comment
Closed

Comments

@moodyjon
Copy link
Contributor

moodyjon commented Aug 2, 2022

The complaints from clang include -Wunreachable-code, -Wunused-but-set-variable plus a missing declaration for lseek().

(lbry-venv-3.9) swdev1@Jonathans-Mac-mini lbry-sdk % /Library/Developer/CommandLineTools/usr/bin/clang++ --version   
Apple clang version 13.1.6 (clang-1316.0.21.2.5)
Target: arm64-apple-darwin21.5.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
(lbry-venv-3.9) swdev1@Jonathans-Mac-mini lbry-sdk % /Library/Developer/CommandLineTools/usr/bin/clang --version 
Apple clang version 13.1.6 (clang-1316.0.21.2.5)
Target: arm64-apple-darwin21.5.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

I have explored various versions in the range 1.38.0 .. 1.46.0. The lowest version that would build on my machine was grpcio==1.39.0.

I propose bumping to grpcio==1.46.0, first in lbryio/herald, lbryio/hub repositories, then lbry-sdk.

Here are the downloadable pre-compiled options:
https://pypi.org/project/grpcio/1.46.0/#files

I will still have to build from source on MacOS aarch64, but it builds without hacking setup.py to change the version in my workspace.

@moodyjon
Copy link
Contributor Author

Closed by #3647

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant