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

Update setup.py #4015

Merged
merged 2 commits into from
Jun 30, 2021
Merged

Update setup.py #4015

merged 2 commits into from
Jun 30, 2021

Conversation

ajschmidt8
Copy link
Member

This PR includes some changes that were necessary to build cuml via CMake. Namely it includes the following changes:

  • Updates the libs list to include some additionally libraries to link against
  • Moves the runtime_library_dirs to library_dirs

cc: @trxcllnt, who helped me get cuml built via CMake

@ajschmidt8 ajschmidt8 added bug Something isn't working non-breaking Non-breaking change labels Jun 29, 2021
@ajschmidt8 ajschmidt8 requested a review from a team as a code owner June 29, 2021 20:01
@github-actions github-actions bot added the Cython / Python Cython or Python issue label Jun 29, 2021
@dantegd dantegd added the 5 - Ready to Merge Testing and reviews complete, ready to merge label Jun 29, 2021
@codecov-commenter
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (branch-21.08@f71d369). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@               Coverage Diff               @@
##             branch-21.08    #4015   +/-   ##
===============================================
  Coverage                ?   85.46%           
===============================================
  Files                   ?      230           
  Lines                   ?    18116           
  Branches                ?        0           
===============================================
  Hits                    ?    15482           
  Misses                  ?     2634           
  Partials                ?        0           
Flag Coverage Δ
dask 48.11% <0.00%> (?)
non-dask 77.73% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f71d369...b663fb9. Read the comment docs.

@dantegd
Copy link
Member

dantegd commented Jun 30, 2021

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 65d0ecb into rapidsai:branch-21.08 Jun 30, 2021
@ajschmidt8 ajschmidt8 deleted the setup.py-fix branch June 30, 2021 13:41
rapids-bot bot pushed a commit to rapidsai/cugraph that referenced this pull request Jul 9, 2021
…etting UCX install location (#1698)

This PR is a continuation of #1694. Similar to rapidsai/cuml#4015, this PR updates setup.py to:

* Use `library_dirs` instead of `runtime_library_dirs` when linking Cython.
* Allow overriding UCX lib and include dirs via a `UCX_HOME` envvar.
* Link `cudart`, `cusparse`, and `cusolver`.

These are necessary to compile the Cython via `pip` when not inside a conda environment and when UCX is installed to a location other than `/usr` or `/usr/local`.

Authors:
  - Paul Taylor (https://github.com/trxcllnt)

Approvers:
  - Rick Ratzel (https://github.com/rlratzel)

URL: #1698
vimarsh6739 pushed a commit to vimarsh6739/cuml that referenced this pull request Oct 9, 2023
This PR includes some changes that were necessary to build `cuml` via CMake. Namely it includes the following changes:

- Updates the `libs` list to include some additionally libraries to link against
- Moves the `runtime_library_dirs` to `library_dirs`

cc: @trxcllnt, who helped me get `cuml` built via CMake

Authors:
  - AJ Schmidt (https://github.com/ajschmidt8)

Approvers:
  - Dante Gama Dessavre (https://github.com/dantegd)

URL: rapidsai#4015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5 - Ready to Merge Testing and reviews complete, ready to merge bug Something isn't working Cython / Python Cython or Python issue non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants