Commit 6894967 1 parent 05b09dc commit 6894967 Copy full SHA for 6894967
File tree 2 files changed +13
-11
lines changed
2 files changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,9 @@ sudo apt-key add rocm.gpg.key
33
33
34
34
source /etc/os-release # set UBUNTU_CODENAME: focal or jammy or ...
35
35
36
- echo " deb [arch=amd64] https://repo.radeon.com/rocm/apt/${1-latest} ${UBUNTU_CODENAME} main" \
36
+ VERSION=${1-6.3.2}
37
+
38
+ echo " deb [arch=amd64] https://repo.radeon.com/rocm/apt/${VERSION} ${UBUNTU_CODENAME} main" \
37
39
| sudo tee /etc/apt/sources.list.d/rocm.list
38
40
echo ' export PATH=/opt/rocm/llvm/bin:/opt/rocm/bin:/opt/rocm/profiler/bin:/opt/rocm/opencl/bin:$PATH' \
39
41
| sudo tee -a /etc/profile.d/rocm.sh
@@ -53,16 +55,16 @@ sudo apt-get install -y --no-install-recommends \
53
55
libnuma-dev \
54
56
libopenmpi-dev \
55
57
openmpi-bin \
56
- rocm-dev \
57
- roctracer-dev \
58
- rocprofiler-dev \
59
- rocrand-dev \
60
- rocfft-dev \
61
- rocprim-dev \
62
- rocsparse-dev
58
+ rocm-dev${VERSION} \
59
+ roctracer-dev${VERSION} \
60
+ rocprofiler-dev${VERSION} \
61
+ rocrand-dev${VERSION} \
62
+ rocfft-dev${VERSION} \
63
+ rocprim-dev${VERSION} \
64
+ rocsparse-dev${VERSION}
63
65
64
66
# hiprand-dev is a new package that does not exist in old versions
65
- sudo apt-get install -y --no-install-recommends hiprand-dev || true
67
+ sudo apt-get install -y --no-install-recommends hiprand-dev${VERSION} || true
66
68
67
69
# activate
68
70
#
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ concurrency:
8
8
9
9
jobs :
10
10
hip-compile :
11
- runs-on : ubuntu-20 .04
11
+ runs-on : ubuntu-24 .04
12
12
steps :
13
13
- uses : actions/checkout@v4
14
14
with :
27
27
cd ../..
28
28
29
29
- name : Dependencies
30
- run : .github/workflows/dependencies/dependencies_hip.sh
30
+ run : .github/workflows/dependencies/dependencies_hip.sh 6.3.2
31
31
32
32
- name : compile test_react with HIP (iso7)
33
33
run : |
You can’t perform that action at this time.
0 commit comments