mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-26 23:32:58 +00:00
Add an option to not test ObjC for those platforms which don't support it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113398 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
cff1dbfa18
commit
c248bbab04
@ -19,6 +19,7 @@ Release_no_dot=""
|
|||||||
RC=""
|
RC=""
|
||||||
do_checkout="yes"
|
do_checkout="yes"
|
||||||
do_ada="no"
|
do_ada="no"
|
||||||
|
do_objc="yes"
|
||||||
do_fortran="yes"
|
do_fortran="yes"
|
||||||
do_64bit="yes"
|
do_64bit="yes"
|
||||||
BuildDir="`pwd`"
|
BuildDir="`pwd`"
|
||||||
@ -33,6 +34,7 @@ function usage() {
|
|||||||
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 " -ada Build Ada. [default: no]"
|
echo " -ada Build Ada. [default: no]"
|
||||||
|
echo " -disable-objc Disable ObjC build. [default: build]"
|
||||||
echo " -disable-fortran Disable Fortran build. [default: build]"
|
echo " -disable-fortran Disable Fortran build. [default: build]"
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -67,6 +69,9 @@ while [ $# -gt 0 ]; do
|
|||||||
-ada | --ada )
|
-ada | --ada )
|
||||||
do_ada="yes"
|
do_ada="yes"
|
||||||
;;
|
;;
|
||||||
|
-disable-objc | --disable-objc )
|
||||||
|
do_objc="no"
|
||||||
|
;;
|
||||||
-disable-fortran | --disable-fortran )
|
-disable-fortran | --disable-fortran )
|
||||||
echo "WARNING: Do you *really* need to disable Fortran?"
|
echo "WARNING: Do you *really* need to disable Fortran?"
|
||||||
sleep 5
|
sleep 5
|
||||||
@ -250,7 +255,10 @@ function configure_llvm_gcc() {
|
|||||||
InstallDir="$4"
|
InstallDir="$4"
|
||||||
llvmObjDir="$5"
|
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
|
if [ "$do_fortran" = "yes" ]; then
|
||||||
languages="$languages,fortran"
|
languages="$languages,fortran"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user