Skip to content

Commit

Permalink
don't remove cget until after package is built
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffdaily committed Jan 27, 2023
1 parent 04c644d commit 6d2b51e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion common/install_miopen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ fi
cmake -P install_deps.cmake --minimum

# clean up since CI runner was running out of disk space
rm -rf /usr/local/cget
rm -rf /tmp/*
yum clean all
rm -rf /var/cache/yum
Expand All @@ -114,6 +113,11 @@ PKG_CONFIG_PATH=/usr/local/lib/pkgconfig CXX=${ROCM_INSTALL_PATH}/llvm/bin/clang
${MIOPEN_CMAKE_DB_FLAGS} \
-DCMAKE_PREFIX_PATH="${ROCM_INSTALL_PATH}/hip;${ROCM_INSTALL_PATH}"
make MIOpen -j $(nproc)

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

# Build MIOpen package
make -j $(nproc) package

yum install -y miopen-*.rpm
Expand Down

0 comments on commit 6d2b51e

Please sign in to comment.