-
-
Notifications
You must be signed in to change notification settings - Fork 11k
BLD: fix compilation on non glibc-Linuxes #7092
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
Conversation
Ha, exactly the fix I was about to upload, right down to the blank lines. Well, almost, I just checked for |
#endif /* __GLIBC_PREREQ(2, 16) */ | ||
#endif /* defined(__GLIBC_PREREQ) */ | ||
|
||
#endif /* defined(HAVE_FEATURES_H) */ | ||
|
||
#endif /* defined(__linux__) && defined(__GNUC__) */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should go away, and the initial #if
also.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because we really don't care about linux and the compiler, just glibc. I checked for linux originally because I didn't know what would happen with mingw.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So forget comments above.
Hmm, lots of failing tests. Apparently |
Non-glibc Linuxes dont have the __GLIBC_PREREQ function and compilation of numpy fails on such platforms.
It's just because I inverted the condition on glibc version. It's good to have tests ) |
BLD: fix compilation on non glibc-Linuxes
Thanks @xdmiodz . |
Backport #7092, BLD: fix compilation on non glibc-Linuxes
Non-glibc Linuxes dont have the __GLIBC_PREREQ function and compilation of numpy
fails on such platforms.