test-release.sh: Minor fixes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240334 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Hans Wennborg 2015-06-22 21:13:30 +00:00
parent 6f214c72d6
commit 33d68a5183

View File

@ -38,9 +38,9 @@ BuildDir="`pwd`"
BuildTriple="" BuildTriple=""
function usage() { function usage() {
echo "usage: `basename $0` -release X.Y -rc NUM [OPTIONS]" echo "usage: `basename $0` -release X.Y.Z -rc NUM [OPTIONS]"
echo "" echo ""
echo " -release X.Y The release number to test." echo " -release X.Y.Z The release version to test."
echo " -rc NUM The pre-release candidate number." echo " -rc NUM The pre-release candidate number."
echo " -final The final release candidate." echo " -final The final release candidate."
echo " -triple TRIPLE The target triple for this machine." echo " -triple TRIPLE The target triple for this machine."
@ -48,10 +48,7 @@ function usage() {
echo " -build-dir DIR Directory to perform testing in. [default: pwd]" echo " -build-dir DIR Directory to perform testing in. [default: pwd]"
echo " -no-checkout Don't checkout the sources from SVN." echo " -no-checkout Don't checkout the sources from SVN."
echo " -no-64bit Don't test the 64-bit version. [default: yes]" echo " -no-64bit Don't test the 64-bit version. [default: yes]"
echo " -enable-ada Build Ada. [default: disable]"
echo " -disable-clang Do not test clang. [default: enable]" echo " -disable-clang Do not test clang. [default: enable]"
echo " -enable-fortran Enable Fortran build. [default: disable]"
echo " -disable-objc Disable ObjC build. [default: enable]"
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."
@ -274,7 +271,7 @@ function configure_llvmCore() {
--disable-timestamps \ --disable-timestamps \
$build_triple_option" $build_triple_option"
env CC="$c_compiler" CXX="$cxx_compiler" \ env CC="$c_compiler" CXX="$cxx_compiler" \
$BuildDir/llvm.src/configure --prefix=$InstallDir \ $BuildDir/llvm.src/configure --prefix=$InstallDir \
--enable-optimized=$Optimized \ --enable-optimized=$Optimized \
--enable-assertions=$Assertions \ --enable-assertions=$Assertions \
--disable-timestamps \ --disable-timestamps \