-
Notifications
You must be signed in to change notification settings - Fork 74
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
Simplify libcuvs conda recipe. #322
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# Copyright (c) 2022-2024, NVIDIA CORPORATION. | ||
|
||
# Usage: | ||
# conda build . -c conda-forge -c nvidia -c rapidsai | ||
# conda build . -c rapidsai -c conda-forge -c nvidia | ||
{% set version = environ['RAPIDS_PACKAGE_VERSION'].lstrip('v') + environ.get('VERSION_SUFFIX', '') %} | ||
{% set minor_version = version.split('.')[0] + '.' + version.split('.')[1] %} | ||
{% set cuda_version = '.'.join(environ['RAPIDS_CUDA_VERSION'].split('.')[:2]) %} | ||
|
@@ -63,7 +63,8 @@ outputs: | |
- ninja | ||
- {{ stdlib("c") }} | ||
host: | ||
- libraft ={{ minor_version }} | ||
- librmm ={{ minor_version }} | ||
- libraft-headers ={{ minor_version }} | ||
- cuda-version ={{ cuda_version }} | ||
{% if cuda_major == "11" %} | ||
- cuda-profiler-api {{ cuda11_cuda_profiler_api_host_version }} | ||
|
@@ -84,7 +85,6 @@ outputs: | |
- libcusparse-dev | ||
{% endif %} | ||
run: | ||
- libraft ={{ minor_version }} | ||
- {{ pin_compatible('cuda-version', max_pin='x', min_pin='x') }} | ||
{% if cuda_major != "11" %} | ||
- cuda-cudart | ||
|
@@ -129,7 +129,8 @@ outputs: | |
- ninja | ||
- {{ stdlib("c") }} | ||
host: | ||
- libraft ={{ minor_version }} | ||
- librmm ={{ minor_version }} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We need |
||
- libraft-headers ={{ minor_version }} | ||
- cuda-version ={{ cuda_version }} | ||
{% if cuda_major == "11" %} | ||
- cuda-profiler-api {{ cuda11_cuda_profiler_api_host_version }} | ||
|
@@ -150,7 +151,6 @@ outputs: | |
- libcusparse-dev | ||
{% endif %} | ||
run: | ||
- libraft ={{ minor_version }} | ||
- {{ pin_compatible('cuda-version', max_pin='x', min_pin='x') }} | ||
{% if cuda_major != "11" %} | ||
- cuda-cudart | ||
|
@@ -195,7 +195,8 @@ outputs: | |
- ninja | ||
- {{ stdlib("c") }} | ||
host: | ||
- libraft ={{ minor_version }} | ||
- librmm ={{ minor_version }} | ||
- libraft-headers ={{ minor_version }} | ||
- {{ pin_subpackage('libcuvs', exact=True) }} | ||
- cuda-version ={{ cuda_version }} | ||
- openblas # required by some CPU algos in benchmarks | ||
|
@@ -228,7 +229,6 @@ outputs: | |
- libcusolver | ||
- libcusparse | ||
{% endif %} | ||
- libraft ={{ minor_version }} | ||
- {{ pin_subpackage('libcuvs', exact=True) }} | ||
about: | ||
home: https://rapids.ai/ | ||
|
@@ -248,6 +248,9 @@ outputs: | |
- {{ compiler('cuda') }} | ||
- cuda-cudart-dev | ||
- libcublas-dev | ||
- libcurand-dev | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These changes align |
||
- libcusolver-dev | ||
- libcusparse-dev | ||
{% endif %} | ||
requirements: | ||
build: | ||
|
@@ -263,17 +266,27 @@ outputs: | |
- ninja | ||
- {{ stdlib("c") }} | ||
host: | ||
- libraft ={{ minor_version }} | ||
- librmm ={{ minor_version }} | ||
- libraft-headers ={{ minor_version }} | ||
- {{ pin_subpackage('libcuvs', exact=True) }} | ||
- cuda-version ={{ cuda_version }} | ||
{% if cuda_major == "11" %} | ||
- cuda-profiler-api {{ cuda11_cuda_profiler_api_run_version }} | ||
- libcublas {{ cuda11_libcublas_host_version }} | ||
- libcublas-dev {{ cuda11_libcublas_host_version }} | ||
- libcurand {{ cuda11_libcurand_host_version }} | ||
- libcurand-dev {{ cuda11_libcurand_host_version }} | ||
- libcusolver {{ cuda11_libcusolver_host_version }} | ||
- libcusolver-dev {{ cuda11_libcusolver_host_version }} | ||
- libcusparse {{ cuda11_libcusparse_host_version }} | ||
- libcusparse-dev {{ cuda11_libcusparse_host_version }} | ||
{% else %} | ||
- cuda-cudart-dev | ||
- cuda-profiler-api | ||
- libcublas-dev | ||
- libcurand-dev | ||
- libcusolver-dev | ||
- libcusparse-dev | ||
{% endif %} | ||
run: | ||
- {{ pin_compatible('cuda-version', max_pin='x', min_pin='x') }} | ||
|
@@ -282,8 +295,10 @@ outputs: | |
{% else %} | ||
- cuda-cudart | ||
- libcublas | ||
- libcurand | ||
- libcusolver | ||
- libcusparse | ||
{% endif %} | ||
- libraft ={{ minor_version }} | ||
- {{ pin_subpackage('libcuvs', exact=True) }} | ||
about: | ||
home: https://rapids.ai/ | ||
|
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.
rmm
(Python) is not used directly incuvs
Python code. It is not needed at build or run time.