[m-rev.] diff: Enable MR_PROFILE_PARALLEL_EXECUTION for nightly builds on taura.

Paul Bone pbone at csse.unimelb.edu.au
Mon Jul 13 15:43:08 AEST 2009


Trivial diff:

Enable MR_PROFILE_PARALLEL_EXECUTION in nightly builds on taura.

tools/test_mercury:
    As above.

Index: tools/test_mercury
===================================================================
RCS file: /home/mercury1/repository/mercury/tools/test_mercury,v
retrieving revision 1.352
diff -u -p -b -r1.352 test_mercury
--- tools/test_mercury	29 Jun 2009 03:44:05 -0000	1.352
+++ tools/test_mercury	13 Jul 2009 05:38:34 -0000
@@ -229,6 +229,8 @@ rm -f $TEST_ERROR_FILE $FAILED_TESTS_FIL
 use_cp_opt=""
 # EXTRA_INSTALL_MCFLAGS can be used to customise INSTALL_MCFLAGS
 EXTRA_INSTALL_MCFLAGS=""
+# The same is true for EXTRA_INSTALL_CFLAGS
+EXTRA_INSTALL_CFLAGS=""
 case $HOST in
     # test things at different optimization levels...
 
@@ -261,6 +263,7 @@ case $HOST in
         # inlineing which is confusing for programmers using the deep profiler.
         OPTIMIZE="-O5 --intermodule-optimization"
         EXTRA_INSTALL_MCFLAGS="--profile-for-implicit-parallelism"
+        EXTRA_INSTALL_CFLAGS="-DMR_PROFILE_PARALLEL_EXECUTION"
         ;;
 
     goliath)
@@ -281,7 +284,7 @@ esac
 # Flags for building the compiler.
 INSTALL_MCFLAGS="$OPTIMIZE --opt-space $EXTRA_INSTALL_MCFLAGS"
 INSTALL_MGNUCFLAGS=""
-INSTALL_CFLAGS=""
+INSTALL_CFLAGS="$EXTRA_INSTALL_CFLAGS"
 INSTALL_MLFLAGS=""
 
 # Flags for running the tests.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 481 bytes
Desc: Digital signature
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20090713/89e7578c/attachment.sig>


More information about the reviews mailing list