develooper Front page | perl.perl5.porters | Postings from January 2008

MakeMaker: adjust install target dependencies to allow parallelmakes

Thread Next
From:
Brendan O'Dea
Date:
January 26, 2008 19:15
Subject:
MakeMaker: adjust install target dependencies to allow parallelmakes
Message ID:
20080127031455.GA18759@londo.c47.org
There was some discussion on the debian-devel mailing list about
problems with running make -j on various packages:

  http://lists.debian.org/debian-devel/2007/12/msg00046.html

There is an issue with the install rules generated by MakeMaker which
causes some problems.  Attached is a patch to fix this.

I can't say that this will make all module builds work with -j, but if
not it is at least a start.

As a simple example of the problem, consider the simplified MakeMaker
generated Makefile fragment attached, run with -j:

  $ make -f m1 -j install
  pure_site_install
  doc_site_install
  pure_install
  doc_install
  all
  install

The obvious problem here being that "pure_site_install" &c are attempted
before "all" completes.  A modified fragment is attached for comparison.

--bod

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About