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

Paul Bone pbone at csse.unimelb.edu.au
Tue Mar 17 18:05:03 AEDT 2009


On Mon, Mar 16, 2009 at 03:19:07PM +1100, Paul Bone wrote:
> 
> 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).
> 

Estimated hours taken: 0.5 
Branches: main

Fix the previous change that was supposed to enable
--profile-for-implicit-parallelism on taura's nightly builds.

tools/test_mercury:
	As above.

Index: tools/test_mercury
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/tools/test_mercury,v
retrieving revision 1.347
diff -u -p -b -r1.347 test_mercury
--- tools/test_mercury	16 Mar 2009 04:17:54 -0000	1.347
+++ tools/test_mercury	17 Mar 2009 07:04:31 -0000
@@ -227,6 +227,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=""
 case $HOST in
     # test things at different optimization levels...
 
@@ -262,7 +264,7 @@ case $HOST in
         # parallelism work.  This is not enabled by default because it enables
         # inlineing which is confusing for programmers using the deep profiler.
         OPTIMIZE="-O5 --intermodule-optimization"
-        INSTALL_MCFLAGS="--profile-for-implicit-parallelism"
+        EXTRA_INSTALL_MCFLAGS="--profile-for-implicit-parallelism"
         ;;
 
     goliath)
@@ -281,7 +283,7 @@ case $HOST in
 esac
 
 # Flags for building the compiler.
-INSTALL_MCFLAGS="$OPTIMIZE --opt-space"
+INSTALL_MCFLAGS="$OPTIMIZE --opt-space $EXTRA_INSTALL_MCFLAGS"
 INSTALL_MGNUCFLAGS=""
 INSTALL_CFLAGS=""
 INSTALL_MLFLAGS=""
-------------- 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/20090317/bff627e6/attachment.sig>


More information about the reviews mailing list