Skip to content

Commit ba960f9

Browse files
committed
do not make miopen package, only copy lib
1 parent 41e572a commit ba960f9

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

common/install_miopen.sh

+10-3
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@ if [[ $ROCM_INT -lt 40001 ]]; then
3333
exit 0
3434
fi
3535

36+
# CHANGED: Do not uninstall. To avoid out of disk space issues, we will copy lib over existing.
3637
# Uninstall existing package, to avoid errors during later yum install indicating packages did not change.
37-
yum remove -y miopen-hip
38+
#yum remove -y miopen-hip
3839

3940
# Function to retry functions that sometimes timeout or have flaky failures
4041
retry () {
@@ -114,12 +115,18 @@ PKG_CONFIG_PATH=/usr/local/lib/pkgconfig CXX=${ROCM_INSTALL_PATH}/llvm/bin/clang
114115
-DCMAKE_PREFIX_PATH="${ROCM_INSTALL_PATH}/hip;${ROCM_INSTALL_PATH}"
115116
make MIOpen -j $(nproc)
116117

118+
# CHANGED: Do not build package.
117119
# Build MIOpen package
118-
make -j $(nproc) package
120+
#make -j $(nproc) package
119121

120122
# clean up since CI runner was running out of disk space
121123
rm -rf /usr/local/cget
122124

123-
yum install -y miopen-*.rpm
125+
# CHANGED: Do not install package, just copy lib over existing.
126+
#yum install -y miopen-*.rpm
127+
dest=$(ls ${ROCM_INSTALL_PATH}/lib/libMIOpen.so.1.0.*)
128+
rm -f ${dest}
129+
cp lib/libMIOpen.so.1.0 ${dest}
130+
124131
popd
125132
rm -rf MIOpen

0 commit comments

Comments
 (0)