Gentoo Archives: gentoo-dev

From: "Diego 'Flameeyes' Pettenò" <flameeyes@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] AutoMake and paralle safe makefiles [WAS: using -j1 with distcc?]
Date: Wed, 13 Sep 2006 15:01:00
Message-Id: 200609131658.06089@enterprise.flameeyes.is-a-geek.org
In Reply to: Re: [gentoo-dev] AutoMake and paralle safe makefiles [WAS: using -j1 with distcc?] by Alec Warner
1 On Wednesday 13 September 2006 16:51, Alec Warner wrote:
2 > If I'm using Autotools, aren't they smart enough (given that I specify
3 > the proper headers, and source files and whatnot) to generate parallel
4 > safe makefiles?  Or is it a shot in the dark as to whether it works or not?
5 If you use automake, 90% they are parallel make safe. There are issues in
6 cases
7
8 a) you refer to a library in the same directory as the Makefile providing the
9 full pathname;
10 b) you don't put the SUBDIRS variable in the correct order for things to being
11 built;
12 c) you provide custom targets for instance to run scripts that create source
13 files.
14
15 --
16 Diego "Flameeyes" Pettenò - http://farragut.flameeyes.is-a-geek.org/
17 Gentoo/Alt lead, Gentoo/FreeBSD, Video, AMD64, Sound, PAM, KDE