Skip to content

Commit

Permalink
Fix host/run sections using run_exports.
Browse files Browse the repository at this point in the history
  • Loading branch information
bdice committed Jun 29, 2023
1 parent 5b6372d commit cbd9ac1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
4 changes: 4 additions & 0 deletions conda/recipes/cuspatial/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ requirements:
- scikit-build >=0.13.1
- setuptools
run:
{% if cuda_major == "11" %}
- cudatoolkit
{% endif %}
- {{ pin_compatible('cuda-version', max_pin='x', min_pin='x') }}
- cudf ={{ minor_version }}
- geopandas >=0.11.0
- python
Expand Down
14 changes: 10 additions & 4 deletions conda/recipes/libcuspatial/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,16 @@ outputs:
- ninja
host:
- cuda-version ={{ cuda_version }}
run:
{% if cuda_major == "11" %}
- cudatoolkit
{% else %}
- cuda-cudart
- cuda-cudart-dev
{% endif %}
run:
- {{ pin_compatible('cuda-version', max_pin='x', min_pin='x') }}
{% if cuda_major == "11" %}
- cudatoolkit
{% endif %}
- libcudf ={{ minor_version }}
- librmm ={{ minor_version }}
- sqlite
Expand Down Expand Up @@ -111,12 +114,15 @@ outputs:
- cmake {{ cmake_version }}
host:
- cuda-version ={{ cuda_version }}
{% if cuda_major == "11" %}
- cudatoolkit
{% else %}
- cuda-cudart-dev
{% endif %}
run:
- {{ pin_subpackage('libcuspatial', exact=True) }}
{% if cuda_major == "11" %}
- cudatoolkit
{% else %}
- cuda-cudart
{% endif %}
- {{ pin_compatible('cuda-version', max_pin='x', min_pin='x') }}
- gmock {{ gtest_version }}
Expand Down

0 comments on commit cbd9ac1

Please sign in to comment.