Skip to content

Commit

Permalink
Updates to libcugraph_etl conda recipe for CUDA Enhanced Compatibil…
Browse files Browse the repository at this point in the history
…ity (#1968)

Updates to `libcugraph_etl` conda recipe for CUDA Enhanced Compatibility.  These were not tested locally.

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

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

URL: #1968
  • Loading branch information
rlratzel authored Nov 23, 2021
1 parent 5f5ccc3 commit 4b8c133
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions conda/recipes/libcugraph_etl/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
{% 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', '9.2').split('.')[:2]) %}
{% set cuda_major=cuda_version.split('.')[0] %}
package:
name: libcugraph_etl
version: {{ version }}
Expand All @@ -14,7 +15,7 @@ source:

build:
number: {{ GIT_DESCRIBE_NUMBER }}
string: cuda{{ cuda_version }}_{{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }}
string: cuda{{ cuda_major }}_{{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }}
script_env:
- CC
- CXX
Expand All @@ -36,7 +37,7 @@ requirements:
- cudf {{ minor_version }}.*
- libcugraph {{ minor_version }}.*
run:
- {{ pin_compatible('cudatoolkit', max_pin='x.x') }}
- {{ pin_compatible('cudatoolkit', max_pin='x', min_pin='x') }}
- libcugraph {{ minor_version }}.*
- faiss-proc=*=cuda
- libfaiss 1.7.0 *_cuda
Expand Down

0 comments on commit 4b8c133

Please sign in to comment.