Skip to content

Commit

Permalink
Delete Unused ROCm and HIP Libraries (#102)
Browse files Browse the repository at this point in the history
Fixes build problems in GridTools CI due to too large container image sizes.
  • Loading branch information
fthaler authored Oct 29, 2024
1 parent 44e3be3 commit 1daca10
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hip/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ RUN wget https://repo.radeon.com/amdgpu-install/6.2.2/ubuntu/noble/amdgpu-instal
DEBIAN_FRONTEND=noninteractive apt-get install -qq -y ./amdgpu-install_6.2.60202-1_all.deb && \
apt-get update -qq && \
amdgpu-install -y --usecase=hiplibsdk --no-dkms --rocmrelease=${ROCM_VERSION} && \
rm -rf /var/lib/apt/lists/*
rm -rf /var/lib/apt/lists/* && \
cd /opt/rocm-${ROCM_VERSION}/lib && rm -rf hipblaslt hipsparselt rocblas rocfft libdevice_*_operations.a librocsolver* librocblas* libhipblas* librocsparse* librocrand* librccl* libhiptensor*

ENV ROCM_PATH=/opt/rocm-${ROCM_VERSION}
ENV PATH=${ROCM_PATH}/bin:${PATH} CXX=${ROCM_PATH}/bin/hipcc

0 comments on commit 1daca10

Please sign in to comment.