[llvm-commits] [llvm] r113398 - /llvm/trunk/utils/release/test-release.sh
Bill Wendling
isanbard at gmail.com
Wed Sep 8 13:09:14 PDT 2010
Author: void
Date: Wed Sep 8 15:09:14 2010
New Revision: 113398
URL: http://llvm.org/viewvc/llvm-project?rev=113398&view=rev
Log:
Add an option to not test ObjC for those platforms which don't support it.
Modified:
llvm/trunk/utils/release/test-release.sh
Modified: llvm/trunk/utils/release/test-release.sh
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/release/test-release.sh?rev=113398&r1=113397&r2=113398&view=diff
==============================================================================
--- llvm/trunk/utils/release/test-release.sh (original)
+++ llvm/trunk/utils/release/test-release.sh Wed Sep 8 15:09:14 2010
@@ -19,6 +19,7 @@
RC=""
do_checkout="yes"
do_ada="no"
+do_objc="yes"
do_fortran="yes"
do_64bit="yes"
BuildDir="`pwd`"
@@ -33,6 +34,7 @@
echo " -no-checkout Don't checkout the sources from SVN."
echo " -no-64bit Don't test the 64-bit version. [default: yes]"
echo " -ada Build Ada. [default: no]"
+ echo " -disable-objc Disable ObjC build. [default: build]"
echo " -disable-fortran Disable Fortran build. [default: build]"
}
@@ -67,6 +69,9 @@
-ada | --ada )
do_ada="yes"
;;
+ -disable-objc | --disable-objc )
+ do_objc="no"
+ ;;
-disable-fortran | --disable-fortran )
echo "WARNING: Do you *really* need to disable Fortran?"
sleep 5
@@ -250,7 +255,10 @@
InstallDir="$4"
llvmObjDir="$5"
- languages="c,c++,objc,obj-c++"
+ languages="c,c++"
+ if [ "$do_objc" = "yes" ]; then
+ languages="$languages,objc,obj-c++"
+ fi
if [ "$do_fortran" = "yes" ]; then
languages="$languages,fortran"
fi
More information about the llvm-commits
mailing list