[m-rev.] diff: update test_mercury for taura

Julien Fischer juliensf at csse.unimelb.edu.au
Wed Aug 13 16:01:59 AEST 2008


Set up nightly builds on taura.

tools/test_mercury:
 	Add taura to the list of hosts to run nightly tests on.
 	(The current set of grades to install is fairly conservative, once
 	it up-and-running we will install others, e.g. the .rbmm grades)

 	Add a note about test directory structure that this script
 	expects.

Julien.

Index: test_mercury
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/tools/test_mercury,v
retrieving revision 1.337
diff -u -r1.337 test_mercury
--- test_mercury	25 Apr 2008 14:48:46 -0000	1.337
+++ test_mercury	13 Aug 2008 06:00:03 -0000
@@ -8,6 +8,9 @@
  # This script is used to run the nightly tests.
  # It is invoked from the `run_test' script.

+# NOTE: when adding a new host you need to add a symbolic link from
+# $TOPDIR/public/test_mercury/test_dirs to the actual build directory.
+
  echo "test_mercury starting at `date`" 1>&2

  case $# in
@@ -245,6 +248,7 @@
  	aral)		OPTIMIZE="-O3" ;;
  	ceres)		OPTIMIZE="-O5" ;;	# hlc
  	uranus)		OPTIMIZE="-O3" ;;
+	taura)		OPTIMIZE="-05 --intermodule-optimization" ;;
  esac

  # on some systems, the file system we're using does not support links
@@ -284,7 +288,7 @@
  # So if you modify this list of hosts, you need to also modify
  # run_all_tests_from_cron.
  case $HOST in
-	earth|ceres|aral|jupiter|swordfish|saturn|uranus|neptune|pluto)
+	earth|ceres|aral|jupiter|swordfish|saturn|uranus|neptune|pluto|taura)
  		INSTALL_DIR=/home/$HOST/public/$INSTALL_DIR_NAME/$FULLARCH ;;

  	# The actual architecture string for eris has the version appended to it, but
@@ -313,9 +317,9 @@
  #
  PARALLEL=
  case $HOST in
-	saturn|pluto)	PARALLEL="-j2" ;;
-	eris)		PARALLEL="-j2" ;;
-	*)		PARALLEL= ;;
+	saturn|pluto|traura) 	PARALLEL="-j2" ;;
+	eris)			PARALLEL="-j2" ;;
+	*)			PARALLEL= ;;
  esac

  # Version of the mercury compiler to use for bootstrapping
@@ -529,6 +533,17 @@
  			none.gc.tr			\
  			none.gc.tr.debug"
  		;;
+	taura)
+		CONFIG_OPTS=""
+		INSTALL_LIBGRADES="asm_fast.gc		\
+			asm_fast.gc.tr			\
+			asm_fast.par.gc			\
+			asm_fast.gc.tr.debug		\
+			asm_fast.gc.profdeep		\
+			asm_fast.gc.decldebug		\
+			hlc.gc				\
+			hlc.gc.tr"
+		;;
  	*)
  		CONFIG_OPTS="" ;;
  esac

--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list