Skip to content

Commit

Permalink
Use cuda-version consistently
Browse files Browse the repository at this point in the history
  • Loading branch information
vyasr committed Jun 21, 2023
1 parent 5c02adb commit 2daf310
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
8 changes: 5 additions & 3 deletions conda/recipes/kvikio/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ requirements:
- ninja
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- cuda-version ={{ cuda_version }}
{% if cuda_major == "11" %}
- {{ compiler('cuda11') }} {{ cuda_version }}
- {{ compiler('cuda11') }} ={{ cuda_version }}
{% else %}
- cuda-version {{ cuda_version }}
- {{ compiler('cuda') }}
{% endif %}
- sysroot_{{ target_platform }} {{ sysroot_version }}
Expand All @@ -61,9 +61,11 @@ requirements:
- cython >=0.29,<0.30
{% if cuda_major == "11" %}
- cudatoolkit ={{ cuda_version }}
{% else %}
- cuda-version ={{ cuda_version }}
{% endif %}
- scikit-build >=0.13.1
- libkvikio {{ version }}*=cuda{{ cuda_major }}*
- libkvikio {{ version }}
run:
- python
- numpy >=1.20
Expand Down
6 changes: 3 additions & 3 deletions conda/recipes/libkvikio/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ requirements:
- cmake {{ cmake_version }}
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- cuda-version ={{ cuda_version }}
{% if cuda_major == "11" %}
- {{ compiler('cuda11') }} {{ cuda_version }}
- {{ compiler('cuda11') }} ={{ cuda_version }}
{% else %}
- cuda-version {{ cuda_version }}
- {{ compiler('cuda') }}
{% endif %}
- ninja
Expand All @@ -50,7 +50,7 @@ requirements:
- libcufile {{ cuda11_libcufile_host_version }} # [linux64]
- libcufile-dev {{ cuda11_libcufile_host_version }} # [linux64]
{% else %}
- cuda-version {{ cuda_version }}
- cuda-version ={{ cuda_version }}
- libcufile-dev # [linux64]
{% endif %}

Expand Down

0 comments on commit 2daf310

Please sign in to comment.