Skip to content

Update setup.py - #4015

Merged
rapids-bot[bot] merged 2 commits into
NVIDIA:branch-21.08from
ajschmidt8:setup.py-fix
Jun 30, 2021
Merged

rapids-bot[bot] merged 2 commits into
NVIDIA:branch-21.08from
ajschmidt8:setup.py-fix

Conversation

@ajschmidt8

Copy link
Copy Markdown
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
Copy Markdown

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

dantegd commented Jun 30, 2021

Copy link
Copy Markdown
Contributor

@gpucibot merge

@rapids-bot
rapids-bot Bot merged commit 65d0ecb into NVIDIA: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 NVIDIA/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: NVIDIA#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