[m-rev.] trivial diff: run nightly tests with gcc 3.4 on x86 machines
Julien Fischer
juliensf at csse.unimelb.edu.au
Mon Nov 27 14:09:07 AEDT 2006
Estimated hours taken: 0
Branches: main
tools/test_mercury:
On x86 machines bison generated code and global registers cause
internal errors in versions of gcc < 3.4. Use gcc 3.4 on jupiter,
earth and swordfish in order to avoid these problems.
Julien.
Index: test_mercury
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/tools/test_mercury,v
retrieving revision 1.305
diff -u -r1.305 test_mercury
--- test_mercury 9 Oct 2006 06:23:04 -0000 1.305
+++ test_mercury 27 Nov 2006 03:05:07 -0000
@@ -420,10 +420,10 @@
jupiter)
# Ensure that the nogc grades get installed and tested
# on at least one host
- CONFIG_OPTS="--disable-java-grade --enable-nogc-grades"
+ CONFIG_OPTS="--with-cc=/usr/bin/gcc-3.4 --disable-java-grade --enable-nogc-grades"
;;
earth)
- CONFIG_OPTS="--disable-dotnet-grades"
+ CONFIG_OPTS="--with-cc=/usr/bin/gcc-3.4 --disable-dotnet-grades"
INSTALL_LIBGRADES="asm_fast.gc \
asm_fast.gc.tr \
asm_fast.gc.debug.tr \
@@ -451,8 +451,7 @@
swordfish)
# swordfish is being used by the G12 group at the moment, so
# it requires trailing versions of most of the grades.
- # XXX Most of this should be moved to saturn when it is ready.
- CONFIG_OPTS="--disable-java-grade"
+ CONFIG_OPTS="--with-cc=/usr/bin/gcc-3.4 --disable-java-grade"
case $BRANCH in
g12)
DEFAULT_GRADE="hlc.gc.tr"
--------------------------------------------------------------------------
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