Skip to content

Commit 7610f94

Browse files
Make libnvfatbin optional runtime dep for cuda-version compatibility
1 parent 956d742 commit 7610f94

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

recipe/recipe.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,6 @@ outputs:
161161
- ${{ pin_compatible('cuda-nvcc-impl', lower_bound='x', upper_bound='x') }}
162162
- if: linux and cufile_supported
163163
then: ${{ pin_compatible('libcufile', lower_bound='x', upper_bound='x') }}
164-
- if: not aarch64 or cufile_supported
165-
then: libnvfatbin >=12.0,<13.0a0
166164
- libnvjitlink >=12.3,<13
167165
ignore_run_exports:
168166
from_package:
@@ -181,6 +179,11 @@ outputs:
181179
# version with cuda.cudart.getLocalRuntimeVersion(). We ignored run-exports
182180
# of cuda-cudart-dev and instead allow a looser pinning here.
183181
- ${{ pin_compatible('cuda-cudart', lower_bound='x', upper_bound='x') }}
182+
# libnvfatbin was first introduced in CTK 12.4. In order to prevent conflicts
183+
# when the user tries to install cuda-bindings with older cuda-version packages,
184+
# let's make it an optional runtime that pins to cuda-binding's lower and upper
185+
# version bounds
186+
- ${{ pin_compatible('libnvfatbin', lower_bound='x', upper_bound='x') }}
184187
tests:
185188
- script:
186189
- if: linux

0 commit comments

Comments
 (0)