Skip to content

Commit 67ff8f5

Browse files
committed
💚 Limit nvTIFF install to x86_64 and aarch64 only
Not much CUDA binaries for RISC-V yet.
1 parent ce8b021 commit 67ff8f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ jobs:
9090
manylinux: ${{ matrix.platform.manylinux || '2_28' }}
9191
before-script-linux: |
9292
# Install nvTIFF and clang-devel
93-
if command -v dnf &> /dev/null; then
93+
if command -v dnf &> /dev/null && test $(uname -m) != "riscv64"; then
9494
# https://developer.nvidia.com/nvtiff-0-6-0-download-archive?target_os=Linux&target_arch=x86_64&Distribution=Rocky&target_version=8&target_type=rpm_network
9595
dnf config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/rhel8/${{ matrix.platform.arch || 'x86_64' }}/cuda-rhel8.repo
9696
dnf clean all
@@ -114,7 +114,7 @@ jobs:
114114
manylinux: ${{ matrix.platform.manylinux || '2_28' }}
115115
before-script-linux: |
116116
# Install nvTIFF and clang-devel
117-
if command -v dnf &> /dev/null; then
117+
if command -v dnf &> /dev/null && test $(uname -m) != "riscv64"; then
118118
# https://developer.nvidia.com/nvtiff-0-5-0-download-archive?target_os=Linux&target_arch=x86_64&Distribution=Rocky&target_version=8&target_type=rpm_network
119119
dnf config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/rhel8/${{ matrix.platform.arch || 'x86_64' }}/cuda-rhel8.repo
120120
dnf clean all

0 commit comments

Comments
 (0)