[m-rev.] trivial diff: nightly builds on eris (again)

Julien Fischer juliensf at csse.unimelb.edu.au
Mon Dec 10 19:19:25 AEDT 2007


Hi,

The following is a short summary of outstanding issues with Mercury
on eris.  I'm hoping to deal with most of these before I leave on 
Saturday (quite a lot of these were known about from the darwin powerpc
port, we just hadn't dealt with them because we didn't do regular
builds on that system.)

* gcc aborts because it runs out of registers when compiling the
   runtime in reg grades.###  (This is probably an issue with the
   default gcc (4.0.2) which had these sort of problems on other
   systems as well.)

* some parts of the scripts we use to maintain Mercury assume the GNU
   tools (OS X uses the BSD tools).  sed is the main culprit here.

* as with *powerpc*apple*darwin* the asm_fast grades don't work.

* the library doesn't link in the .par grades due to a reference
   to an undefined global variable.

* the namespace cleanliness check fails because symbols in darwin
   have are prefixed with an underscore.  (The check is turned off
   in test_mercury script for eris.)

### the default compilation environment on eris is a 32-bit x86
environment; rather than x86_64.  We should also build a 64-bit
version of Mercury on eris, but the 32-bit version is more important
for distributing G12 (because Apple laptops are still 32-bit machines.)

---------------------------

Estimated hours taken: 0.1
Branches: main

Change the settings for eris to something that works.

tools/test_mercury:
 	Only install grades that work and have been adequately tested.

 	Build with -j2, -j3 and higher cause problems for some as yet
 	unknown reason.

Julien.

Index: test_mercury
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/tools/test_mercury,v
retrieving revision 1.333
diff -u -r1.333 test_mercury
--- test_mercury	8 Dec 2007 12:46:25 -0000	1.333
+++ test_mercury	10 Dec 2007 07:59:14 -0000
@@ -314,6 +314,7 @@
  PARALLEL=
  case $HOST in
  	saturn|pluto)	PARALLEL="-j2" ;;
+	eris)		PARALLEL="-j2" ;;
  	*)		PARALLEL= ;;
  esac

@@ -523,10 +524,7 @@
  		INSTALL_GRADE="hlc.gc"
  		INSTALL_LIBGRADES="hlc.gc		\
  			hlc.gc.tr			\
-			hlc.par.gc			\
-			hlc.gc.tr.ll_debug		\
-			hlc.gc.tr.prof			\
-			hlc.gc.tr.memprof"
+			hlc.gc.tr.ll_debug"
  		;;
  	*)
  		CONFIG_OPTS="" ;;

--------------------------------------------------------------------------
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