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

numpy: set runtime_library_dirs too #96423

Merged
merged 1 commit into from Sep 4, 2020

Conversation

matthewbauer
Copy link
Member

This appears to be needed in some Python distutils for the library to
get on RPATH correctly. I’m not sure why this worked before, but I
needed this value set for Python 3.8 numpy to work correctly.

This appears to be needed in some Python distutils for the library to
get on RPATH correctly. I’m not sure why this worked before, but I
needed this value set for Python 3.8 numpy to work correctly.
@FRidh
Copy link
Member

FRidh commented Aug 27, 2020

I’m not sure why this worked before, but I
needed this value set for Python 3.8 numpy to work correctly.

Could you be more specific what issue you encounter?

@jonringer
Copy link
Contributor

cc @bhipple

@matthewbauer
Copy link
Member Author

So the issue was it never got added to the RPATH. So it compiles correctly but then the dlopen fails.

@bhipple
Copy link
Contributor

bhipple commented Aug 28, 2020

I assume this is an issue for the proprietary alternatives like mkl or cuda, where we don't set the RPaths of the binaries themselves due to licensing restrictions and thus need the numpy cfg to handle it, unlike for openblas?

@FRidh FRidh changed the base branch from master to staging September 4, 2020 18:10
@FRidh FRidh merged commit b3d5272 into NixOS:staging Sep 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants