mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Default to a better compression algorithm.
llvm-svn: 195567
This commit is contained in:
parent
6a8a859a63
commit
7f1c6f3d84
@ -27,6 +27,7 @@ Release=""
|
|||||||
Release_no_dot=""
|
Release_no_dot=""
|
||||||
RC=""
|
RC=""
|
||||||
Triple=""
|
Triple=""
|
||||||
|
use_gzip="no"
|
||||||
do_checkout="yes"
|
do_checkout="yes"
|
||||||
do_ada="no"
|
do_ada="no"
|
||||||
do_clang="yes"
|
do_clang="yes"
|
||||||
@ -58,6 +59,7 @@ function usage() {
|
|||||||
echo " -test-debug Test the debug build. [default: no]"
|
echo " -test-debug Test the debug build. [default: no]"
|
||||||
echo " -test-asserts Test with asserts on. [default: no]"
|
echo " -test-asserts Test with asserts on. [default: no]"
|
||||||
echo " -no-compare-files Don't test that phase 2 and 3 files are identical."
|
echo " -no-compare-files Don't test that phase 2 and 3 files are identical."
|
||||||
|
echo " -use-gzip Use gzip instead of xz."
|
||||||
}
|
}
|
||||||
|
|
||||||
while [ $# -gt 0 ]; do
|
while [ $# -gt 0 ]; do
|
||||||
@ -119,6 +121,9 @@ while [ $# -gt 0 ]; do
|
|||||||
-no-compare-files | --no-compare-files )
|
-no-compare-files | --no-compare-files )
|
||||||
do_compare="no"
|
do_compare="no"
|
||||||
;;
|
;;
|
||||||
|
-use-gzip | --use-gzip )
|
||||||
|
use_gzip="yes"
|
||||||
|
;;
|
||||||
-help | --help | -h | --h | -\? )
|
-help | --help | -h | --h | -\? )
|
||||||
usage
|
usage
|
||||||
exit 0
|
exit 0
|
||||||
@ -382,7 +387,11 @@ function package_release() {
|
|||||||
cwd=`pwd`
|
cwd=`pwd`
|
||||||
cd $BuildDir/Phase3/Release
|
cd $BuildDir/Phase3/Release
|
||||||
mv llvmCore-$Release-$RC.install $Package
|
mv llvmCore-$Release-$RC.install $Package
|
||||||
|
if [ "$use_gzip" = "yes" ]; then
|
||||||
tar cfz $BuildDir/$Package.tar.gz $Package
|
tar cfz $BuildDir/$Package.tar.gz $Package
|
||||||
|
else
|
||||||
|
tar cfJ $BuildDir/$Package.tar.xz $Package
|
||||||
|
fi
|
||||||
mv $Package llvmCore-$Release-$RC.install
|
mv $Package llvmCore-$Release-$RC.install
|
||||||
cd $cwd
|
cd $cwd
|
||||||
}
|
}
|
||||||
@ -588,6 +597,10 @@ set +e
|
|||||||
|
|
||||||
# Woo hoo!
|
# Woo hoo!
|
||||||
echo "### Testing Finished ###"
|
echo "### Testing Finished ###"
|
||||||
echo "### Package: $Package.tar.gz"
|
if [ "$use_gzip" = "yes" ]; then
|
||||||
|
echo "### Package: $Package.tar.gz"
|
||||||
|
else
|
||||||
|
echo "### Package: $Package.tar.xz"
|
||||||
|
fi
|
||||||
echo "### Logs: $LogDir"
|
echo "### Logs: $LogDir"
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user