Skip to content

Commit 5c7c2ad

Browse files
dgaliffiAMDjrmadsen
authored andcommitted
Add 6.1 support to the docker build support.
Simplified this by adding 6.* to case statements, now that repo links have been standardized.
1 parent fc04fc9 commit 5c7c2ad

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docker/build-docker.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ do
177177
4.1* | 4.0*)
178178
ROCM_REPO_DIST="xenial"
179179
;;
180-
5.3 | 5.3.* | 5.4 | 5.4.* | 5.5 | 5.5.* | 5.6 | 5.6.* | 5.7 | 5.7.* | 6.0 | 6.0.*)
180+
5.3 | 5.3.* | 5.4 | 5.4.* | 5.5 | 5.5.* | 5.6 | 5.6.* | 5.7 | 5.7.* | 6.*)
181181
case "${VERSION}" in
182182
22.04)
183183
ROCM_REPO_DIST="ubuntu"
@@ -208,7 +208,7 @@ do
208208

209209
# set the sub-URL in https://repo.radeon.com/amdgpu-install/<sub-URL>
210210
case "${ROCM_VERSION}" in
211-
5.3 | 5.3.* | 5.4 | 5.4.* | 5.5 | 5.5.* | 5.6 | 5.6.* | 5.7 | 5.7.* | 6.0 | 6.0.*)
211+
5.3 | 5.3.* | 5.4 | 5.4.* | 5.5 | 5.5.* | 5.6 | 5.6.* | 5.7 | 5.7.* | 6.*)
212212
ROCM_RPM=${ROCM_VERSION}/rhel/${RPM_PATH}/amdgpu-install-${ROCM_MAJOR}.${ROCM_MINOR}.${ROCM_VERSN}-1${RPM_TAG}.noarch.rpm
213213
;;
214214
5.2 | 5.2.* | 5.1 | 5.1.* | 5.0 | 5.0.* | 4.*)
@@ -236,7 +236,7 @@ do
236236
;;
237237
esac
238238
case "${ROCM_VERSION}" in
239-
5.3 | 5.3.* | 5.4 | 5.4.* | 5.5 | 5.5.* | 5.6 | 5.6.* | 5.7 | 5.7.* | 6.0 | 6.0.*)
239+
5.3 | 5.3.* | 5.4 | 5.4.* | 5.5 | 5.5.* | 5.6 | 5.6.* | 5.7 | 5.7.* | 6.*)
240240
ROCM_RPM=${ROCM_VERSION}/sle/${VERSION}/amdgpu-install-${ROCM_MAJOR}.${ROCM_MINOR}.${ROCM_VERSN}-1.noarch.rpm
241241
;;
242242
5.2 | 5.2.*)

0 commit comments

Comments
 (0)