Skip to content

Commit

Permalink
Add more version builds
Browse files Browse the repository at this point in the history
  • Loading branch information
fluidnumerics-joe committed Sep 20, 2023
1 parent bd9bb5f commit a0a7811
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 4 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,37 @@ jobs:
fail-fast: false
matrix:
include:
- rocm_version: '5.3'
rocm_package_set: 'rocm-dev'
operating_system: 'centos8'

- rocm_version: '5.4'
rocm_package_set: 'rocm-dev'
operating_system: 'centos8'

- rocm_version: '5.5'
rocm_package_set: 'rocm-dev'
operating_system: 'centos8'

- rocm_version: '5.6'
rocm_package_set: 'rocm-dev'
operating_system: 'centos8'

- rocm_version: '5.7'
rocm_package_set: 'rocm-dev'
operating_system: 'centos8'

- rocm_version: '5.3'
rocm_package_set: 'rocm-dev'
operating_system: 'ubuntu2204'

- rocm_version: '5.4'
rocm_package_set: 'rocm-dev'
operating_system: 'ubuntu2204'

- rocm_version: '5.5'
rocm_package_set: 'rocm-dev'
operating_system: 'ubuntu2204'

- rocm_version: '5.6'
rocm_package_set: 'rocm-dev'
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile.centos8
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM centos:centos8 as bootstrap

ARG ROCM_VERSION=5.6
ARG PACKAGE_SET="rocm-dev"

RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* && \
sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* &&\
Expand All @@ -21,4 +22,4 @@ gpgkey=https://repo.radeon.com/rocm/rocm.gpg.key" > /etc/yum.repos.d/rocm.repo &
cat /etc/yum.repos.d/rocm.repo &&\
yum clean all -y &&\
yum update -y &&\
yum install -y rocm-dev
yum install -y ${PACKAGE_SET}
3 changes: 2 additions & 1 deletion Dockerfile.ubuntu2204
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM ubuntu:22.04 as bootstrap

ARG ROCM_VERSION=5.7
ARG PACKAGE_SET="rocm-dev"

ENV DEBIAN_FRONTEND=noninteractive \
LANGUAGE=en_US.UTF-8 \
Expand Down Expand Up @@ -29,4 +30,4 @@ RUN mkdir --parents --mode=0755 /etc/apt/keyrings &&\
echo "Package: *\nPin: release o=repo.radeon.com\nPin-Priority: 600" | \
tee /etc/apt/preferences.d/rocm-pin-600 && \
apt-get -y update && \
apt-get -y install rocm-dev
apt-get -y install ${PACKAGE_SET}
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,18 @@ docker inspect -f "{{ .Size }}" IMAGE

| Operating System | ROCm Version | Package set | Size |
| :--------------: | :----------: | :----------: |:--------: |
| ubuntu 22.04 | rocm 5.6 | rocm-dev | 5.726 GB |
| centos 8 | rocm 5.6 | rocm-dev | 5.184 GB |
| Ubuntu 22.04 | rocm 5.6 | rocm-dev | 5.726 GB |
| CentOS 8 | rocm 5.6 | rocm-dev | 5.184 GB |

## ROCm versions
Ok, we lied. Really it took a few minutes of thought to realize where you can find the available versions of ROCm, for each operating system. Essentially, you can peruse the indexes for the yum or apt repositories that are posted by ROCm. Sure would be nice though if this was just in documentation somewhere.

To find the currently available versions of ROCm, see

| Operating System | Index URL |
| :--------------: | :---------------------------------: |
| Ubuntu 22.04 | https://repo.radeon.com/rocm/apt/ |
| CentOS 8 | https://repo.radeon.com/rocm/rhel8/ |
## ROCm Packages

If you're interested in generating a package list for ROCm, you can add the following line to your Docker recipe file
Expand Down

0 comments on commit a0a7811

Please sign in to comment.