scripts/check-compilers
changeset 2375 e30a0fdad0d7
parent 2062 35e0355c6d9b
equal deleted inserted replaced
5:61cc2840068e 6:6028fa03238b
    21 NAME=lemon
    21 NAME=lemon
    22 DISTNAME=${NAME}-$VERSION
    22 DISTNAME=${NAME}-$VERSION
    23 TARNAME=${DISTNAME}.tar.gz
    23 TARNAME=${DISTNAME}.tar.gz
    24 
    24 
    25 function makecheck () {
    25 function makecheck () {
    26     if [ `which $CXX` ]; then
    26     if [ `which $(echo $CXX|cut -f1 -d' ' )` ]; then
    27 	make-dir $ODIR
    27 	make-dir $ODIR
    28 	cd $ODIR
    28 	cd $ODIR
    29 	time ../trunk/configure $*
    29 	time ../trunk/configure $*
    30 	time make check
    30 	time make check
    31 	cd ..
    31 	cd ..
    39 }
    39 }
    40 
    40 
    41 # CREATE TARBALL
    41 # CREATE TARBALL
    42 
    42 
    43 cd trunk
    43 cd trunk
    44 ./bootstrap --amver=1.7
    44 #./bootstrap --amver=1.7
       
    45 autoreconf -vi
    45 cd ..
    46 cd ..
    46 
    47 
    47 # CHECK COMPILERS
    48 # CHECK COMPILERS
    48 
    49 
    49 ODIR=gcc-3.3 CXX=g++-3.3 CXXFLAGS='-W -Wall -Werror' makecheck --enable-gui --enable-demo --enable-benchmark
    50 ODIR=gcc-3.3 CXX=g++-3.3 CXXFLAGS='-W -Wall -Werror' makecheck --enable-demo --enable-benchmark
    50 
    51 
    51 ODIR=gcc-3.4 CXX=g++-3.4 CXXFLAGS='-W -Wall -Werror' makecheck --enable-gui --enable-demo --enable-benchmark
    52 ODIR=gcc-3.4 CXX=g++-3.4 CXXFLAGS='-W -Wall -Werror' makecheck --enable-demo --enable-benchmark
    52 
    53 
    53 ODIR=gcc-4.0 CXX=g++-4.0 CXXFLAGS='-W -Wall -Werror' makecheck --enable-gui --enable-demo --enable-benchmark
    54 ODIR=gcc-4.0 CXX=g++-4.0 CXXFLAGS='-W -Wall -Werror' makecheck --enable-demo --enable-benchmark
    54 
    55 
    55 ODIR=gcc-4.1 CXX=g++-4.1 CXXFLAGS='-W -Wall -Werror' makecheck --enable-gui --enable-demo --enable-benchmark
    56 ODIR=gcc-4.1 CXX=g++-4.1 CXXFLAGS='-W -Wall -Werror' makecheck --enable-demo --enable-benchmark
    56 
    57 
    57 # ODIR=icc-8.0 CXX=icpc-8.0 CXXFLAGS='-Werror' makecheck --enable-gui --enable-demo --enable-benchmark
    58 # # ODIR=icc-8.0 CXX=icpc-8.0 CXXFLAGS='-Werror' makecheck --enable-demo --enable-benchmark
    58 
    59 
    59 ODIR=icc-9.0 CXX=icpc-9.0 CXXFLAGS='-Werror' makecheck --enable-gui --enable-demo --enable-benchmark
    60 # ODIR=icc-9.0 CXX='icpc-9.0' CXXFLAGS='-Werror' makecheck --enable-demo --enable-benchmark
    60 
    61 
    61 ODIR=mingw makecheck --with-msw --target=i586-mingw32msvc --host=i586-mingw32msvc --build=i386-linux --without-glpk
    62 # ODIR=mingw CXX='g++' makecheck --with-msw --target=i586-mingw32msvc --host=i586-mingw32msvc --build=i386-linux --without-glpk
    62 
    63 
    63 
    64 
    64 
    65 
    65 
    66 
    66 echo
    67 echo