Kyle Roarty has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/50847 )
Change subject: util-docker: Fix building gcn-gpu image
......................................................................
util-docker: Fix building gcn-gpu image
In the gcn-gpu image, rocBLAS wasn't able to be installed. This was
due to us not installing rocm-cmake, as rocBLAS is dependent on it
and will download the most recent version of rocm-cmake if it
isn't installed. The most recent version of rocm-cmake wasn't
compatible with the version of ROCm we're using.
This patch installs rocm-cmake before building and installing
rocBLAS instead of after.
Change-Id: Iaaa34d5e0d6594fddd0d1a7d147f43405163ca89
---
M util/dockerfiles/gcn-gpu/Dockerfile
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/util/dockerfiles/gcn-gpu/Dockerfile
b/util/dockerfiles/gcn-gpu/Dockerfile
index 360ab1f..dee02b0 100644
--- a/util/dockerfiles/gcn-gpu/Dockerfile
+++ b/util/dockerfiles/gcn-gpu/Dockerfile
@@ -98,6 +98,10 @@
RUN ln -s
/HIP/build/rocclr/CMakeFiles/Export/_opt/rocm/hip/lib/cmake/hip/*
/opt/rocm/hip/lib/cmake/hip/
WORKDIR /
+# rocBLAS downloads the most recent rocm-cmake if it isn't installed before
+# building
+RUN apt install rocm-cmake
+
RUN git clone -b rocm-4.0.0 \
https://github.com/ROCmSoftwarePlatform/rocBLAS.git && mkdir
rocBLAS/build
@@ -109,7 +113,7 @@
WORKDIR /
# MIOpen dependencies + MIOpen
-RUN apt install rocm-cmake rocm-clang-ocl miopen-hip
+RUN apt install rocm-clang-ocl miopen-hip
# Clone MIOpen repo so that we have the kernel sources available
RUN git clone -b rocm-4.0.1
https://github.com/ROCmSoftwarePlatform/MIOpen.git
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/50847
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: Iaaa34d5e0d6594fddd0d1a7d147f43405163ca89
Gerrit-Change-Number: 50847
Gerrit-PatchSet: 1
Gerrit-Owner: Kyle Roarty <kyleroarty1...@gmail.com>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s