diff --git a/build_all.sh b/build_all.sh index 012dbdd..69060fb 100755 --- a/build_all.sh +++ b/build_all.sh @@ -1,5 +1,5 @@ -ROCM_VERSION=5.3 -AMDGPU_VERSION=5.3 +ROCM_VERSION=5.4.2 +AMDGPU_VERSION=5.4.2 cp -r scripts rocm-terminal cp -r scripts dev @@ -14,6 +14,10 @@ cd ../dev sudo docker build . -f Dockerfile-centos-7 -t rocm/dev-centos-7:$ROCM_VERSION --build-arg=ROCM_VERSION=$ROCM_VERSION --build-arg=AMDGPU_VERSION=$AMDGPU_VERSION sudo docker tag rocm/dev-centos-7:$ROCM_VERSION rocm/dev-centos-7:latest +#manylinux2014_x86_64 +sudo docker build . -f Dockerfile-manylinux2014_x86_64 -t rocm/dev-manylinux2014_x86_64:$ROCM_VERSION --build-arg=ROCM_VERSION=$ROCM_VERSION --build-arg=AMDGPU_VERSION=$AMDGPU_VERSION +sudo docker tag rocm/dev-manylinux2014_x86_64:$ROCM_VERSION rocm/dev-manylinux2014_x86_64:latest + #ubuntu20.04 sudo docker build . -f Dockerfile-ubuntu-20.04 -t rocm/dev-ubuntu-20.04:$ROCM_VERSION --build-arg=ROCM_VERSION=$ROCM_VERSION --build-arg=AMDGPU_VERSION=$AMDGPU_VERSION sudo docker tag rocm/dev-ubuntu-20.04:$ROCM_VERSION rocm/dev-ubuntu-20.04:latest diff --git a/dev/Dockerfile-manylinux2014_x86_64 b/dev/Dockerfile-manylinux2014_x86_64 new file mode 100644 index 0000000..085e6f7 --- /dev/null +++ b/dev/Dockerfile-manylinux2014_x86_64 @@ -0,0 +1,14 @@ +FROM quay.io/pypa/manylinux2014_x86_64 +LABEL maintainer=jeff.daily@amd.com + +#NOTE: manylinux image already has devtoolset installed + +ARG ROCM_VERSION=5.4.2 +ARG AMDGPU_VERSION=5.4.2 + +# Install the ROCm rpms +RUN yum clean all +RUN echo -e "[ROCm]\nname=ROCm\nbaseurl=https://repo.radeon.com/rocm/yum/$ROCM_VERSION/main\nenabled=1\ngpgcheck=0" >> /etc/yum.repos.d/rocm.repo +RUN echo -e "[amdgpu]\nname=amdgpu\nbaseurl=https://repo.radeon.com/amdgpu/$AMDGPU_VERSION/rhel/7.9/main/x86_64\nenabled=1\ngpgcheck=0" >> /etc/yum.repos.d/amdgpu.repo + +RUN yum install -y rocm-dev