Skip to content

Commit

Permalink
Fix cuda11.8 nvcc dependency (#1542)
Browse files Browse the repository at this point in the history
`cuda-nvcc` is the CUDA 12 package name but was being included in the CUDA 11 dependencies, making the conda solve impossible. This PR uses the same nvcc matrix as defined in the build dependencies list.

Authors:
  - Paul Taylor (https://github.com/trxcllnt)

Approvers:
  - Jake Awe (https://github.com/AyodeAwe)

URL: #1542
  • Loading branch information
trxcllnt authored Apr 30, 2024
1 parent 26fa9ec commit c74dda2
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
1 change: 0 additions & 1 deletion conda/environments/all_cuda-118_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ dependencies:
- clang-tools==16.0.6
- clang==16.0.6
- cmake>=3.26.4
- cuda-nvcc
- cuda-python>=11.7.1,<12.0a0
- cuda-version=11.8
- cudatoolkit
Expand Down
20 changes: 17 additions & 3 deletions dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,21 @@ dependencies:
packages:
- pytest
- pytest-cov
# Needed for numba in tests
specific:
- output_types: conda
packages:
# Needed for numba in tests
- cuda-nvcc
matrices:
- matrix:
arch: x86_64
cuda: "11.8"
packages:
- nvcc_linux-64=11.8
- matrix:
arch: aarch64
cuda: "11.8"
packages:
- nvcc_linux-aarch64=11.8
- matrix:
cuda: "12.*"
packages:
- cuda-nvcc

0 comments on commit c74dda2

Please sign in to comment.