-
Notifications
You must be signed in to change notification settings - Fork 48
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
Use cmake-build-extention #174
Comments
Thank you, Tyson @twhitehead . We'll consider such a thing. If you have any recipes for building/installing Libra package on your cluster, and you think this would be useful to other users, we'd appreciate if you could share them here or via a pull-request to one of the README.md files |
@alexvakimov thanks for you kind response. It isn't actually too bad to build on any of the Compute Canada (now Digital Research Alliance of Canada) clusters. Here are the directions (updated 2024-07-04 to uses the older environment, python 3.7, and clean up the
|
Thank you, Tyson, @twhitehead for such nice instructions. We shall try that out. I just wonder what kind of problems did you run when you were setting the LD_LIBRARY_PATH to point to the built binaries? |
We run a mix of glibc versions. All our binaries are compiled with RPATHs so they can find their libraries (our compilers are actually all wrapped to insert PPATHs to libraries). Setting LD_LIBRARY_PATH generally breaks stuff as it overrides the RPATHs, causing program to suck in libraries that have conflicting base library requirements. In your case, there is just the So we try and get them to not set it unless they really need to, in which case we would look at either creating a wrapper that just sets it for that executable or, sometimes a wrapper won't work as it is inherited by any processes that process starts, even use |
This is just a suggestion, but as someone who just finished building you project for one of our user's on the Canadian super computer systems where conda is entirely broken and setting LD_LIBRARY_PATH causes a lot of pain, I think your project could really benefit from using the setuptools cmake-build-extension.
Ideally then an install could then become as easy as
inside a virtual environment, and there would be no need to mess around with PATH, LD_LIBRARY_PATH, or PYTHON_PATH to use to package as well.
The text was updated successfully, but these errors were encountered: