[m-rev.] diff: fix parallel install

Peter Wang novalazy at gmail.com
Wed Jul 29 13:04:01 AEST 2009


Branches: main

Mmakefile:
        The `install_grades' target should depend on `install_main' as it
        requires the installed compiler to continue.
        This fixes `mmake -jN install'.

Index: Mmakefile
===================================================================
RCS file: /home/mercury1/repository/mercury/Mmakefile,v
retrieving revision 1.134
diff -u -p -r1.134 Mmakefile
--- Mmakefile	13 Jun 2009 02:32:11 -0000	1.134
+++ Mmakefile	29 Jul 2009 03:00:44 -0000
@@ -598,7 +598,7 @@ install_deep_profiler: deep_profiler
 #	.trans_opt .trans_opt_date .d .mh .mih .c_date  .c .o .pic_o
 
 .PHONY: install_grades
-install_grades: all
+install_grades: install_main
 	# Use the newly installed compiler to build the libraries in various
 	# different grades. We need to override MC=mmc so that we use the mmc
 	# from the scripts directory, which runs the newly installed compiler,

--------------------------------------------------------------------------
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