Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2e96468

Browse files
committedNov 22, 2022
Clean up disk space
1 parent c1a5043 commit 2e96468

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed
 

‎common/install_miopen.sh

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,15 @@ PKG_CONFIG_PATH=/usr/local/lib/pkgconfig CXX=${ROCM_INSTALL_PATH}/llvm/bin/clang
104104
-DCMAKE_PREFIX_PATH="${ROCM_INSTALL_PATH}/hip;${ROCM_INSTALL_PATH}"
105105
make MIOpen -j $(nproc)
106106
make -j $(nproc) package
107-
yum install -y miopen-*.rpm
108-
popd
109-
rm -rf MIOpen
110107

111-
# Cleanup
108+
# clean up since CI runner was running out of disk space
109+
rm -rf /usr/local/cget
110+
rm -rf /tmp/*
112111
yum clean all
113112
rm -rf /var/cache/yum
114113
rm -rf /var/lib/yum/yumdb
115114
rm -rf /var/lib/yum/history
115+
116+
yum install -y miopen-*.rpm
117+
popd
118+
rm -rf MIOpen

0 commit comments

Comments
 (0)
Please sign in to comment.