Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Updated for CUDA-specific py packages #1709

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions conda/recipes/cugraph/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# conda build -c nvidia -c rapidsai -c conda-forge .
{% set version = environ.get('GIT_DESCRIBE_TAG', '0.0.0.dev').lstrip('v') + environ.get('VERSION_SUFFIX', '') %}
{% set minor_version = version.split('.')[0] + '.' + version.split('.')[1] %}
{% set cuda_version='.'.join(environ.get('CUDA', 'unknown').split('.')[:2]) %}
{% set py_version=environ.get('CONDA_PY', 36) %}
package:
name: cugraph
Expand All @@ -14,7 +15,7 @@ source:

build:
number: {{ GIT_DESCRIBE_NUMBER }}
string: py{{ py_version }}_{{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }}
string: cuda{{ cuda_version }}_py{{ py_version }}_{{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }}
script_env:
- CC
- CXX
Expand All @@ -29,6 +30,7 @@ requirements:
- cudf={{ minor_version }}
- ucx-py 0.21
- ucx-proc=*=gpu
- cudatoolkit {{ cuda_version }}.*
run:
- python x.x
- libcugraph={{ version }}
Expand All @@ -39,14 +41,10 @@ requirements:
- distributed>=2021.6.0
- ucx-py 0.21
- ucx-proc=*=gpu

#test:
# commands:
# - test -f $PREFIX/include/cugraph.h

- {{ pin_compatible('cudatoolkit', max_pin='x.x') }}

about:
home: http://rapids.ai/
license: Apache-2.0
license_file: ../../../LICENSE
summary: libcugraph library
summary: cuGraph library