Skip to content

Commit 047c1bf

Browse files
committed
apt priority
1 parent ed23829 commit 047c1bf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/dependencies/dependencies_hip.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ source /etc/os-release # set UBUNTU_CODENAME: focal or jammy or ...
2626
echo "deb [arch=amd64] https://repo.radeon.com/rocm/apt/${1-latest} ${UBUNTU_CODENAME} main" \
2727
| sudo tee /etc/apt/sources.list.d/rocm.list
2828

29+
echo -e 'Package: *\nPin: release o=repo.radeon.com\nPin-Priority: 600' | sudo tee /etc/apt/preferences.d/rocm-pin-600
30+
2931
sudo apt-get update
3032
sudo apt-get install -y --no-install-recommends \
3133
build-essential \
32-
rocm
34+
rocm-dev

0 commit comments

Comments
 (0)