case distinction on host for makefile flags
authorisatest
Fri, 28 Feb 2003 14:11:54 +0100
changeset 13838 fe83f2231767
parent 13837 8dd150d36c65
child 13839 e1240620f1b5
case distinction on host for makefile flags
Admin/isatest-makeall
--- a/Admin/isatest-makeall	Thu Feb 27 18:22:49 2003 +0100
+++ b/Admin/isatest-makeall	Fri Feb 28 14:11:54 2003 +0100
@@ -8,7 +8,7 @@
 #              Send email if it fails.
 
 ## global settings
-MAILTO="kleing@in.tum.de nipkow@in.tum.de wenzelm@in.tum.de berghofe@in.tum.de schirmer@in.tum.de lp15@cam.ac.uk"
+MAILTO="kleing@in.tum.de nipkow@in.tum.de berghofe@in.tum.de schirmer@in.tum.de lp15@cam.ac.uk"
 
 LOGPREFIX=~/log
 
@@ -51,6 +51,31 @@
 
 [ -d $DISTPREFIX ] || fail "$DISTPREFIX is not a directory."
 
+case $HOSTNAME in
+        atbroy51)
+	MFLAGS="-j 2"
+	# MFLAGS=""
+	;;
+
+        atbroy31)
+        MFLAGS="-j 5"
+        ;;
+	
+	atbroy12)
+	MFLAGS="-j 5"
+	;;
+
+	sunbroy2)
+	MFLAGS="-j 4"
+	;;
+
+   	*)
+	MFLAGS=""
+        ;;
+esac
+
+
+
 LOGS=""
 
 for SETTINGS in $@; do
@@ -69,7 +94,7 @@
     echo ------------------- starting test --- `date` --- $HOSTNAME > $TESTLOG 2>&1
 
     cat $SETTINGS >> $DISTPREFIX/Isabelle/etc/settings
-    nice $DISTPREFIX/Isabelle/bin/isatool makeall -j 2 all >> $TESTLOG 2>&1 
+    nice $DISTPREFIX/Isabelle/bin/isatool makeall $MFLAGS all >> $TESTLOG 2>&1 
 
     if [ $? -eq 0 ]
     then