Skip to content

Commit 06e1c2d

Browse files
committed
Update default to ROCm 6.2
* Add Ubuntu 24.04 stuffs * Update default to Ubuntu 24.04 and ROCm 6.2 * Add USER_NAME argument
1 parent 5f036d4 commit 06e1c2d

21 files changed

+269
-56
lines changed

.env

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
OS_VARIANT=ubuntu-22.04
2-
ROCM_VERSION=6.1
3-
AMDGPU_VERSION=6.1
1+
OS_VARIANT=ubuntu-24.04
2+
ROCM_VERSION=6.2
3+
AMDGPU_VERSION=6.2
44
TERM_FLAVOR=-complete-sdk
55
XTERM_FLAVOR=-complete
66
UID=

build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#!/bin/sh
22

33
OS=${OS:-ubuntu}
4-
OS_VERSION=${OS_VERSION:-22.04}
4+
OS_VERSION=${OS_VERSION:-24.04}
55
OS_VARIANT=${OS_VARIANT:-${OS}-${OS_VERSION}}
6-
ROCM_VERSION=${ROCM_VERSION:-6.1}
7-
AMDGPU_VERSION=${AMDGPU_VERSION:-6.1}
6+
ROCM_VERSION=${ROCM_VERSION:-6.2}
7+
AMDGPU_VERSION=${AMDGPU_VERSION:-6.2}
88
#TERM_FLAVOR=""
99
TERM_FLAVOR="-complete-sdk"
1010
XTERM_FLAVOR="-complete"

dev/Dockerfile-ubuntu-22.04

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
FROM ubuntu:22.04
55

66
# Register the ROCM package repository, and install rocm-dev package
7-
ARG ROCM_VERSION=6.1
8-
ARG AMDGPU_VERSION=6.1
7+
ARG ROCM_VERSION=6.2
8+
ARG AMDGPU_VERSION=6.2
99

1010
RUN apt-get update \
1111
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends apt-utils \
@@ -15,7 +15,7 @@ RUN apt-get update \
1515
&& echo "deb [arch=amd64] https://repo.radeon.com/amdgpu/$AMDGPU_VERSION/ubuntu jammy main" | tee /etc/apt/sources.list.d/amdgpu.list \
1616
&& DEBIAN_FRONTEND=noninteractive apt-get purge -y curl gnupg \
1717
&& DEBIAN_FRONTEND=noninteractive apt-get --purge -y autoremove
18-
COPY 90-rocm-jammy /etc/apt/preferences.d/
18+
COPY rocm-pin-600 /etc/apt/preferences.d/
1919

2020
RUN apt-get update \
2121
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \

dev/Dockerfile-ubuntu-24.04

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# This dockerfile is meant to serve as a rocm base image.
2+
# It registers the debian rocm package repository, and installs the rocm-language-runtime package.
3+
4+
FROM ubuntu:24.04
5+
6+
# Register the ROCM package repository, and install rocm-dev package
7+
ARG ROCM_VERSION=6.2
8+
ARG AMDGPU_VERSION=6.2
9+
10+
RUN apt-get update \
11+
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends apt-utils \
12+
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ca-certificates curl gnupg \
13+
&& curl -sL https://repo.radeon.com/rocm/rocm.gpg.key | gpg --dearmor -o /etc/apt/trusted.gpg.d/rocm.gpg \
14+
&& echo "deb [arch=amd64] https://repo.radeon.com/rocm/apt/$ROCM_VERSION noble main" | tee /etc/apt/sources.list.d/rocm.list \
15+
&& echo "deb [arch=amd64] https://repo.radeon.com/amdgpu/$AMDGPU_VERSION/ubuntu noble main" | tee /etc/apt/sources.list.d/amdgpu.list \
16+
&& DEBIAN_FRONTEND=noninteractive apt-get purge -y curl gnupg \
17+
&& DEBIAN_FRONTEND=noninteractive apt-get --purge -y autoremove
18+
COPY rocm-pin-600 /etc/apt/preferences.d/
19+
20+
RUN apt-get update \
21+
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
22+
sudo \
23+
libelf1t64 \
24+
kmod \
25+
file \
26+
python3 \
27+
rocm-language-runtime \
28+
rocminfo \
29+
&& apt-get clean \
30+
&& rm -rf /var/lib/apt/lists/*
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Dockerfile-ubuntu-22.04-complete
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Dockerfile-ubuntu-22.04-complete-sdk

dev/Dockerfile-ubuntu-24.04-hip

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Dockerfile-ubuntu-22.04-hip
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Dockerfile-ubuntu-22.04-hip-sdk

dev/Dockerfile-ubuntu-24.04-ml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Dockerfile-ubuntu-22.04-ml

dev/Dockerfile-ubuntu-24.04-ml-sdk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Dockerfile-ubuntu-22.04-ml-sdk

0 commit comments

Comments
 (0)