Bug#595260: salome: FTBFS in parallel: cleanup/doc-installation race

Adam C Powell IV hazelsct at debian.org
Thu Sep 2 18:08:15 UTC 2010


On Thu, 2010-09-02 at 13:36 -0400, Aaron M. Ucko wrote:
> Adam C Powell IV <hazelsct at debian.org> writes:
> 
> > Thanks Aaron, I noticed this.
> 
> No problem; thanks for the quick response.
> 
> > What's the best way around it, while preserving the performance of a
> > parallel build?
> 
> Declaring
> 
> .NOTPARALLEL:
> 
> in debian/rules should cause make to run serially when working off of
> it but still pass -j to upstream's makefiles.  Also, make supports
> order-only prerequisites (a relatively new feature, but available even
> in stable); if you declare
> 
> build-indep-stamp: | build-arch-stamp
> 
> it will take care to complete build-arch-stamp before starting on
> build-indep-stamp when building both but still allow building just
> build-indep-stamp.

Thanks, these are really good to know!

> > Ah, just hit on a solution: I'll have the documentation build in a
> > separate directory.
> 
> That sounds like it should work as well, thanks.

Yeah I think I'll stick with this, it seems more "elegant" and in
keeping with the new build style.

-Adam
-- 
GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Engineering consulting with open source tools
http://www.opennovation.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20100902/f78eb92d/attachment.pgp>


More information about the debian-science-maintainers mailing list