Skip to content

Commit

Permalink
Rename version to driver_version
Browse files Browse the repository at this point in the history
  • Loading branch information
adibbley committed Jun 21, 2023
1 parent 92763df commit ce2c174
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions recipes/cuda-compat/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% set name = "cuda-compat" %}
{% set version = "525.60.13" %}
{% set driver_version = "525.60.13" %}
{% set cuda_version = "12.0.0" %}
{% set platform = "linux-x86_64" %} # [linux64]
{% set platform = "linux-ppc64le" %} # [ppc64le]
Expand All @@ -11,7 +11,7 @@ package:
version: {{ cuda_version }}

source:
url: https://developer.download.nvidia.com/compute/cuda/redist/nvidia_driver/{{ platform }}/nvidia_driver-{{ platform }}-{{ version }}-archive.{{ extension }}
url: https://developer.download.nvidia.com/compute/cuda/redist/nvidia_driver/{{ platform }}/nvidia_driver-{{ platform }}-{{ driver_version }}-archive.{{ extension }}
sha256: a42691822f6e87060da5682a8e0662c86d1b20fbf31d12cb2969b819995e4138 # [linux64]
sha256: 4ad08f8431195580349f4984fae2d93697d2f5572837c1e7ae59c37feab291c8 # [ppc64le]
sha256: 1708ae3ba857559cbfc4e6c06267ed6126eff2c68fa5321a95906f50e984148c # [aarch64]
Expand All @@ -20,7 +20,7 @@ build:
number: 0
skip: true # [osx or win]
script_env:
- DRV_VERSION={{ version }}
- DRV_VERSION={{ driver_version }}

outputs:
- name: cuda-compat
Expand All @@ -43,7 +43,7 @@ outputs:
doc_url: https://docs.nvidia.com/cuda/index.html

- name: cuda-compat-impl
version: {{ version }}
version: {{ driver_version }}
files:
- cuda-compat
requirements:
Expand All @@ -52,15 +52,15 @@ outputs:
- {{ compiler("cxx") }}
test:
commands:
- test -f $PREFIX/cuda-compat/libcuda.so.{{ version }}
- test -f $PREFIX/cuda-compat/libcuda.so.{{ driver_version }}
- test -L $PREFIX/cuda-compat/libcuda.so.1
- test -L $PREFIX/cuda-compat/libcuda.so
- test -f $PREFIX/cuda-compat/libnvidia-nvvm.so.{{ version }}
- test -f $PREFIX/cuda-compat/libnvidia-nvvm.so.{{ driver_version }}
- test -L $PREFIX/cuda-compat/libnvidia-nvvm.so.4
- test -L $PREFIX/cuda-compat/libnvidia-nvvm.so
- test -f $PREFIX/cuda-compat/libnvidia-ptxjitcompiler.so.{{ version }}
- test -f $PREFIX/cuda-compat/libnvidia-ptxjitcompiler.so.{{ driver_version }}
- test -L $PREFIX/cuda-compat/libnvidia-ptxjitcompiler.so.1
- test -f $PREFIX/cuda-compat/libcudadebugger.so.{{ version }}
- test -f $PREFIX/cuda-compat/libcudadebugger.so.{{ driver_version }}
- test -L $PREFIX/cuda-compat/libcudadebugger.so.1
about:
home: https://developer.nvidia.com/cuda-toolkit
Expand Down

0 comments on commit ce2c174

Please sign in to comment.