[m-rev.] trivial diff: fix parallel builds

Julien Fischer juliensf at csse.unimelb.edu.au
Sun Dec 9 02:27:04 AEDT 2007


Estimated hours taken: 1
Branches: main

Fix a problem that sometimes prevents parallel builds from working.

deep_profiler/Mmakefile:
slice/Mmakefile:
 	Only build the .depend targets in the above directories
 	*after* the required files have been copied from the
 	mdbcomp directory.

Julien.

Index: deep_profiler/Mmakefile
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/deep_profiler/Mmakefile,v
retrieving revision 1.26
diff -u -r1.26 Mmakefile
--- deep_profiler/Mmakefile	5 Dec 2007 05:38:54 -0000	1.26
+++ deep_profiler/Mmakefile	8 Dec 2007 15:23:30 -0000
@@ -80,7 +80,7 @@
  .PHONY: depend
  depend:	$(MDBCOMP_MODULES) $(DEPEND)

-$(DEPEND): DEEP_FLAGS 
+$(DEPEND): DEEP_FLAGS $(MDBCOMP_MODULES)

  .PHONY: all
  all:	$(MDBCOMP_MODULES) $(ALL_DEEP_MODULES) $(TAGS_FILE_EXISTS)
Index: slice/Mmakefile
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/slice/Mmakefile,v
retrieving revision 1.14
diff -u -r1.14 Mmakefile
--- slice/Mmakefile	24 Oct 2007 09:21:18 -0000	1.14
+++ slice/Mmakefile	8 Dec 2007 15:23:30 -0000
@@ -66,7 +66,7 @@
  .PHONY: depend
  depend:	$(MDBCOMP_MODULES) $(DEPENDS)

-$(DEPENDS): SLICE_FLAGS
+$(DEPENDS): SLICE_FLAGS $(MDBCOMP_MODULES)

  .PHONY: all
  all:	$(MDBCOMP_MODULES) $(MERCURY_MAIN_MODULES) $(TAGS_FILE_EXISTS)

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