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

[FIX] Add cuda_lib_dir to library_dirs, allow changing UCX/RMM/Thrust/spdlog locations via envvars in setup.py #624

Merged
merged 5 commits into from
Apr 27, 2022

Conversation

trxcllnt
Copy link
Collaborator

This PR adds cuda_lib_dir to library_dirs, and allows changing the UCX/RMM/Thrust/spdlog lib/include dirs via envvars. This enables running setup.py when these libraries aren't in the default locations (like /usr/local vs. /usr), or when they're not installed globally.

Example:

env UCX_HOME=/usr/local/ucx \
        RMM_INCLUDE_DIR=/opt/rapids/rmm/include \
        THRUST_INCLUDE_DIR=/opt/rapids/rmm/build/_deps/thrust-src \
        SPDLOG_INCLUDE_DIR=/opt/rapids/rmm/build/_deps/spdlog-src/include \
    python setup.py ...

@trxcllnt trxcllnt requested a review from a team as a code owner April 25, 2022 19:44
@trxcllnt trxcllnt requested review from sevagh and cjnolet April 25, 2022 19:45
@trxcllnt trxcllnt added 3 - Ready for Review improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Apr 25, 2022
Copy link
Member

@cjnolet cjnolet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@sevagh sevagh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM also

@trxcllnt
Copy link
Collaborator Author

rerun tests

@cjnolet
Copy link
Member

cjnolet commented Apr 27, 2022

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 2a5934f into rapidsai:branch-22.06 Apr 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Ready for Review improvement Improvement / enhancement to an existing function non-breaking Non-breaking change python
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants