[m-rev.] trivial diff: Enable --profile-for-implicit-parallelism on taura.

Paul Bone pbone at csse.unimelb.edu.au
Mon Mar 16 15:19:07 AEDT 2009


Estimated hours taken: 0.5 
Branches: main

Compile the deep profiling version of the standard library with
--profile-for-implicit-parallelism on taura.  This flag is a no-op for non
deep profiling grades with the exception that it enables inlining (which is
usually already enabled).

tools/test_mercury:
	As above.

Index: tools/test_mercury
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/tools/test_mercury,v
retrieving revision 1.346
diff -u -p -b -r1.346 test_mercury
--- tools/test_mercury	13 Jan 2009 08:14:41 -0000	1.346
+++ tools/test_mercury	16 Mar 2009 04:06:21 -0000
@@ -257,7 +257,12 @@ case $HOST in
         ;;
 
     taura)
+        # Set --profile-for-implicit-parallelism so that the deep profiling
+        # version of the standard library is suitable for Paul's implicit
+        # parallelism work.  This is not enabled by default because it enables
+        # inlining which is confusing for programmers using the deep profiler.
         OPTIMIZE="-O5 --intermodule-optimization"
+        INSTALL_MCFLAGS="--profile-for-implicit-parallelism"
         ;;
 
     goliath)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20090316/1166a7a9/attachment.sig>


More information about the reviews mailing list