--- /dev/null
+# Options for gcc3.1 on ultra450.iwr.uni-heidelberg.de with multithreading
+# sparc-sun-solaris2.8 gcc31
+
+# Configuration options
+
+s'compiler=.*'compiler=gcc295';
+#s!options=.*!options='--enable-multithreading --with-multithreading'!;
+
+# Commands
+
+s'CXX=.*'CXX=g++';
+s'CC=.*'CC=gcc';
+s'CVS=.*'CVS=cvs';
+s'MAKE=.*'MAKE=gmake';
+s'MAIL=.*'MAIL=mail';
+
+# Path variables
+
+s'#export PATH'export PATH=$HOME/bin';
+
+# We need to compile in the special directory data. Therefore, target is changed here.
+
+s'target=.*'target=/tmp/gcc295';
+
+# CVS account
+
+s'export CVSROOT=.*'export CVSROOT=:pserver:guido@eris.iwr.uni-heidelberg.de:/home/people/cvs/deal';
+
+
--- /dev/null
+# Options for gcc3.1 on ultra450.iwr.uni-heidelberg.de with multithreading
+# sparc-sun-solaris2.8 gcc31
+
+# Configuration options
+
+s'compiler=.*'compiler=gcc31';
+s!options=.*!options='--enable-multithreading --with-multithreading'!;
+
+# Commands
+
+s'CXX=.*'CXX=g++';
+s'CC=.*'CC=gcc';
+s'CVS=.*'CVS=cvs';
+s'MAKE=.*'MAKE="make"';
+s'MAIL=.*'MAIL=mail';
+
+# Path variables
+
+s'#export PATH'export PATH=/data/user/software/sparc-sun-solaris2.7/gcc-3.1.0/bin:/usr/local/bin';
+s'#export LD_LIBRARY_PATH'export LD_LIBRARY_PATH=/data/user/software/sparc-sun-solaris2.7/gcc-3.1.0/lib';
+
+# CVS account
+
+s'export CVSROOT=.*'export CVSROOT=:pserver:guido@eris:/home/people/cvs/deal';
# Options for configure
-options='-'
+options=''
# Name of the target directory (must be unique if you run several
# tests on the same computer). Change the value below if you use the
# Name of the C++ compiler
-export CXX=CC
+export CXX=g++
# Name of the C compiler
-export CC=cc
+export CC=gcc
# Additional command names
# Make sure the right compiler, linker and libraries are found first
-#export PATH=/mypath/bin:$PATH
-#export LD_LIBRARY_PATH=/mypath/lib:$LD_LIBRARY_PATH
+#export PATH:$PATH
+#export LD_LIBRARY_PATH:$LD_LIBRARY_PATH
######################################################################
# Mail program setup:
######################################################################
######################################################################
+if test -d $target ; then rm -rf $target ; fi
mkdir $target
cd $target
$CVS co deal.II
echo "CONFIG " $sysname $compiler $options > log
-echo "RUNNING CONFIGURE AT " `date` | tee -a log
+echo "RUNNING CONFIGURE AT " `date '+%Y-%m-%d %T'` | tee -a log
(./configure $options 2>&1) | tee -a log
-echo "BUILDING LIBRARY AT " `date` | tee -a log
+echo "BUILDING LIBRARY AT " `date '+%Y-%m-%d %T'` | tee -a log
# now build the library. either write "succeeded" or "failed"
# into the file "result", and append all the output into "log"
-(if ($MAKE all -k 2>&1) ; then
- echo "BUILDING EXAMPLES AT " `date` | tee -a log
+(if ($MAKE all -k 2>&1) ; then
+ echo "CLEANING OBJECT FILES AT " `date '+%Y-%m-%d %T'` | tee -a log
+ $MAKE clean
+ echo "BUILDING EXAMPLES AT " `date '+%Y-%m-%d %T'` | tee -a log
if (cd examples ; $MAKE -k 2>&1) ; then
result=succeeded ;
else
result=failed ;
fi ; echo $result > result ) | tee -a log
-echo "CHECKING RESULTS AT " `date` | tee -a log
+echo "CHECKING RESULTS AT " `date '+%Y-%m-%d %T'` | tee -a log
# now decide what to do with the output. if the build succeeded then
# simply delete it and replace it by a success message for mailing to
if test "`cat result`" = "failed" ; then
$MAIL build-failure@dealii.org < log
else
- rm -f log
- echo "CONFIG " $sysname $compiler $options > log
- echo "OK AT " `date` >> log
$MAIL build-success@dealii.org < log
fi
-echo "CLEANING UP AT " `date` | tee -a log
+echo "CLEANING UP AT " `date '+%Y-%m-%d %T'` | tee -a log
# finally clean up
cd ../../