[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Parallel build results

> On Sun, Dec 02, 2007 at 11:13:53PM +0000, Ben Hutchings wrote:
> >It appears that ExtUtils::MakeMaker, a standard Perl module commonly
> >used to generate Makefiles for Perl modules, emits the rule:
> >
> >install :: all pure_install doc_install
> >
> >This appears to account for the failure of some of my Perl packages, and
> >probably many others.  This should be fixed in MakeMaker, not in the
> >packages that use it.
> About the only option I can see is to use something like:
>   install :: all
>           $(MAKE) pure_install doc_install
> which I'm not terribly keen on.  I'm open to better suggestions.

I don't actually remember the part of this discussion where the real cause of
the problem with the above rule was discussed, but in case it is about some
dependencies between the rules (which is the most likely IMHO), then it should
really be fixed as follows


pure_instal: doc_install

all: pure_install

install:: all

This is not a hack but instead the only way of properly fixing the problem (and
in fact the parallel builds then only made the bug visible...).


Attachment: pgpCO0gctMgoK.pgp
Description: PGP signature

Reply to: