File tree 1 file changed +10
-3
lines changed
1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -33,8 +33,9 @@ if [[ $ROCM_INT -lt 40001 ]]; then
33
33
exit 0
34
34
fi
35
35
36
+ # CHANGED: Do not uninstall. To avoid out of disk space issues, we will copy lib over existing.
36
37
# 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
38
39
39
40
# Function to retry functions that sometimes timeout or have flaky failures
40
41
retry () {
@@ -114,12 +115,18 @@ PKG_CONFIG_PATH=/usr/local/lib/pkgconfig CXX=${ROCM_INSTALL_PATH}/llvm/bin/clang
114
115
-DCMAKE_PREFIX_PATH=" ${ROCM_INSTALL_PATH} /hip;${ROCM_INSTALL_PATH} "
115
116
make MIOpen -j $( nproc)
116
117
118
+ # CHANGED: Do not build package.
117
119
# Build MIOpen package
118
- make -j $( nproc) package
120
+ # make -j $(nproc) package
119
121
120
122
# clean up since CI runner was running out of disk space
121
123
rm -rf /usr/local/cget
122
124
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
+
124
131
popd
125
132
rm -rf MIOpen
You can’t perform that action at this time.
0 commit comments