Skip to content
This repository has been archived by the owner on Dec 8, 2024. It is now read-only.

Commit

Permalink
Add strip for smaller binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
rfay committed Oct 21, 2021
1 parent ab50ede commit 65fafcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xtrabackup-8.0/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ cmake .. -DWITH_NUMA=1 -DDOWNLOAD_BOOST=1 -DWITH_BOOST=${BOOSTDIR} -DWITH_NUMA=1
make -j ${CONCURRENCY}
rm -rf ${INSTALLDIR:-/nowhere}/*
make install

cd ${INSTALLDIR}
strip -s bin/xtrabackup bin/xbcloud bin/xbcrypt bin/xbstream
tar -czf xtrabackup-${VERSION}-arm64.tar.gz lib bin
shasum -a 256 xtrabackup-${VERSION}-arm64.tar.gz >xtrabackup-${VERSION}-arm64.tar.gz.sha256.txt

0 comments on commit 65fafcf

Please sign in to comment.