HIP
HIP copied to clipboard
ROCm-dkms Fails to Install on Ubuntu 20.04
I have a GitHub Actions workflow that builds a HIP application. When I set it up a week ago it worked, I haven't changed anything, and now I get the following error
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
rocm-dkms : Depends: rocm-dev but it is not going to be installed
Depends: rock-dkms but it is not installable
E: Unable to correct problems, you have held broken packages.
How do I fix this? My full install script is
sudo apt install wget gnupg2
wget -q -O - https://repo.radeon.com/rocm/rocm.gpg.key | sudo apt-key add -
echo 'deb [arch=amd64] https://repo.radeon.com/rocm/apt/debian/ ubuntu main' | sudo tee /etc/apt/sources.list.d/rocm.list
sudo apt update
sudo apt install mesa-common-dev
sudo apt install comgr
sudo apt install rocm-dkms
sudo apt install hipfft
https://github.com/RadeonOpenCompute/ROCm/issues/1614