-
Notifications
You must be signed in to change notification settings - Fork 47
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
Default Cython module RUNPATH to $ORIGIN and return the list of created targets #189
Default Cython module RUNPATH to $ORIGIN and return the list of created targets #189
Conversation
f67d648
to
40fabfe
Compare
e45413b
to
38779ec
Compare
@robertmaynard I ended up choosing an approach that balances the simplicity of setting a default RPATH with giving users the flexibility to easily override it if they want. |
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.
Approved presuming we drop the RAPIDS.cmake changes.
@robertmaynard done. I've requested write access to this repo, but until I get it you will also need to update the labels before we can merge. |
@gpucibot merge |
This PR sets the default RPATH for Cython-generated Python extension modules to $ORIGIN so that they will default to finding libraries within the same directory. If rapids-cmake users want to enforce a different directory layout in their library, they are responsible for overriding the RPATHs themselves. To facilitate this as well as other potential downstream modifications,
rapids_cython_create_modules
now also returns the set of created targets in theRAPIDS_CYTHON_CREATED_TARGETS
variable.