Skip to content

Commit

Permalink
Add cuda-nvrtc dependency for dlopen bug. (#12)
Browse files Browse the repository at this point in the history
automerged PR by conda-forge/automerge-action
  • Loading branch information
github-actions[bot] authored Apr 21, 2023
2 parents a89c4b6 + 1c15b6f commit 75d2c34
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ source:
sha256: 88f29bec81880844da2eee13f1cdc51e1ccd8b4c60af6df633577810b30f80d0 # [win]

build:
number: 1
number: 2
skip: true # [osx]

test:
Expand Down Expand Up @@ -54,6 +54,10 @@ outputs:
- cuda-version {{ cuda_version }}
run:
- {{ pin_compatible("cuda-version", max_pin="x.x") }}
# In 12.0/12.1 libcublas runtime will try to dlopen nvrtc due to a bug
# so it must be listed as a runtime dependency.
# See https://github.com/conda-forge/libcublas-feedstock/issues/9
- cuda-nvrtc
run_constrained:
- arm-variant * {{ arm_variant_type }} # [aarch64]
# Tests are defined at the top level, due to package/output name conflicts.
Expand Down Expand Up @@ -142,6 +146,10 @@ outputs:
- cuda-version {{ cuda_version }}
run:
- {{ pin_compatible("cuda-version", max_pin="x.x") }}
# In 12.0/12.1 libcublas runtime will try to dlopen nvrtc due to a bug
# so it must be listed as a runtime dependency.
# See https://github.com/conda-forge/libcublas-feedstock/issues/9
- cuda-nvrtc
run_constrained:
- arm-variant * {{ arm_variant_type }} # [aarch64]
test:
Expand Down

0 comments on commit 75d2c34

Please sign in to comment.