Skip to content

Commit 8c71930

Browse files
authored
MIOpen build from source removed unless between 6.2.0-6.2.3 (#72)
1 parent 2b26379 commit 8c71930

File tree

1 file changed

+4
-18
lines changed

1 file changed

+4
-18
lines changed

common/install_miopen.sh

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -43,25 +43,11 @@ MIOPEN_CMAKE_COMMON_FLAGS="
4343
-DMIOPEN_USE_COMGR=ON
4444
-DMIOPEN_BUILD_DRIVER=OFF
4545
"
46-
# Pull MIOpen repo and set DMIOPEN_EMBED_DB based on ROCm version
47-
if [[ $ROCM_INT -ge 60400 ]] && [[ $ROCM_INT -lt 60500 ]]; then
48-
echo "ROCm 6.4 MIOpen does not need any patches, do not build from source"
49-
exit 0
50-
elif [[ $ROCM_INT -ge 60300 ]] && [[ $ROCM_INT -lt 60400 ]]; then
51-
echo "ROCm 6.3 MIOpen does not need any patches, do not build from source"
52-
exit 0
53-
elif [[ $ROCM_INT -ge 60200 ]] && [[ $ROCM_INT -lt 60300 ]]; then
54-
echo "ROCm 6.2 MIOpen does not need any patches, do not build from source"
55-
exit 0
56-
elif [[ $ROCM_INT -ge 60100 ]] && [[ $ROCM_INT -lt 60200 ]]; then
57-
echo "ROCm 6.1 MIOpen does not need any patches, do not build from source"
58-
exit 0
59-
elif [[ $ROCM_INT -ge 60000 ]] && [[ $ROCM_INT -lt 60100 ]]; then
60-
echo "ROCm 6.0 MIOpen does not need any patches, do not build from source"
61-
exit 0
46+
if [[ $ROCM_INT -ge 60200 ]] && [[ $ROCM_INT -lt 60204 ]]; then
47+
MIOPEN_BRANCH="release/rocm-rel-6.2-staging"
6248
else
63-
echo "Unhandled ROCM_VERSION ${ROCM_VERSION}"
64-
exit 1
49+
echo "ROCm ${ROCM_VERSION} does not need any patches, do not build from source"
50+
exit 0
6551
fi
6652

6753
# Workaround since almalinux manylinux image already has this and cget doesn't like that

0 commit comments

Comments
 (0)