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

Compile from source on linux arch64 #133

Open
g-poveda opened this issue Nov 22, 2024 · 0 comments
Open

Compile from source on linux arch64 #133

g-poveda opened this issue Nov 22, 2024 · 0 comments

Comments

@g-poveda
Copy link

Somehow related to #80 ,
I didn't manage to pip install pynng on manylinux docker instance running on arm64.
Therefore i tried installing from source, though i had the same issue at the end the flag "-latomic" was an issue (even though i had it installed) and made the compil buggued.
bug_pynng

So when looking at this piece of code, i found a workaround

# this is a pretty heuristic... but let's go with it anyway.

by not adding the "atomic" library also in my corner case (linux arch64), and it worked.

From this piece of code i highlight, it may be worth to consider the case of linuxArch64 in the "if" conditions, if my problem occurs on all linuxarch64 instance. It may make the direct pip install pynng working too.

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