[m-rev.] diff: update test_mercury script

Julien Fischer jfischer at opturion.com
Mon Apr 29 13:38:31 AEST 2013


Update the test_mercury script.

tools/test_mercury:
     Build the source distribution in the hlc.gc.pregen grade.

     Force the LLDS base grade for the source distribution to be none
     rather than asm_fast.  The latter was causing problems when
     generating the C files on Mac OS X (or anything else on which
     asm_fast doesn't work).

Julien.

diff --git a/tools/test_mercury b/tools/test_mercury
index c63f171..1ac946d 100755
--- a/tools/test_mercury
+++ b/tools/test_mercury
@@ -886,8 +886,8 @@ case $HOST in $ROTD_HOST)
      mercury_cv_low_tag_bits=2 \
      mercury_cv_bits_per_word=32 \
      mercury_cv_unboxed_floats=no \
-    sh configure --with-llds-base-grade=asm_fast --prefix=$INSTALL_DIR &&
-    $MMAKE MMAKEFLAGS="EXTRA_MCFLAGS='-O5 --opt-space --cross-compiling --no-smart-indexing' $PARALLEL" tar &&
+    sh configure --with-llds-base-grade=none --prefix=$INSTALL_DIR &&
+    $MMAKE MMAKEFLAGS="GRADE=hlc.gc.pregen EXTRA_MCFLAGS='-O5 --opt-space --cross-compiling --no-smart-indexing' $PARALLEL" tar &&
      cd .. &&
      rm -f $UNSTABLE/* &&
      cp mercury/NEWS $UNSTABLE/mercury-NEWS-$version-unstable.txt &&



More information about the reviews mailing list