Skip to content

Commit 84a0c70

Browse files
Copy db files from rpm to ROCm install path
1 parent 91b0c8d commit 84a0c70

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

common/install_rocm_miopen_rpm.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ else
3030
echo 'ERROR: either the source or destination path for libMIOpen.so.1.0 does not exist'
3131
exit 1
3232
fi
33+
# Copy db files over existing
34+
source="opt/rocm*/share/miopen/db/*"
35+
dest="/opt/rocm-${ROCM_VERSION}*/share/miopen/db/"
36+
# Use backslash to run cp in (non-aliased) non-interactive mode
37+
\cp -R $source $dest
38+
3339
echo "libMIOpen so file from RPM copied to existing MIOpen install..."
3440

3541
# Clean up extracted dir

0 commit comments

Comments
 (0)