Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 16 additions & 4 deletions ci/test_wheel_deps_wheels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,22 @@ nvidia-smi
rapids-logger "Show Numba system info"
python -m numba --sysinfo

# remove cuda-nvvm-12-5 leaving libnvvm.so from nvidia-cuda-nvcc-cu12 only
apt-get update
apt remove --purge `dpkg --get-selections | grep cuda-nvvm | awk '{print $1}'` -y
apt remove --purge `dpkg --get-selections | grep cuda-nvrtc | awk '{print $1}'` -y
# Uninstall nvvm and nvrtc packages, if any exist
nvvm_pkgs=$(dpkg --get-selections | awk '/nvvm/ {print $1}')
nvrtc_pkgs=$(dpkg --get-selections | awk '/nvrtc/ {print $1}')

if [[ -z "$nvvm_pkgs" ]]; then
echo "Error: expected to remove nvvm packages but didn't find any installed"
exit 1
fi

if [[ -z "$nvrtc_pkgs" ]]; then
echo "Error: expected to remove nvrtc packages but didn't find any installed"
exit 1
fi

apt remove --purge -y $nvvm_pkgs
apt remove --purge -y $nvrtc_pkgs

rapids-logger "Run Tests"
NUMBA_CUDA_TEST_BIN_DIR=$NUMBA_CUDA_TEST_BIN_DIR python -m pytest -v
Expand Down
Loading