[postgis-devel] parallel build bug (in 2.1.8)

Sandro Santilli strk at keybit.net
Tue Jul 7 13:40:04 PDT 2015


On Tue, Jul 07, 2015 at 02:25:27PM -0400, Greg Troxel wrote:
> 
> In the pkgsrc build, make is invoked as "all docs" to build everything.
> Without -j, it works fine.  With -j, deep down in docs, there is a rule
> to build liblwgeom.a, which collides with the build from the all target.
> 
> The following patches a dependency from docs to all, and also remove the
> reach-back rule.  They appear to fix doing parallel builds.  If it
> isn't appropriate to force all from docs, then arguably liblwgeom should
> be split out and both all and docs depend on that.

+1 for splitting out liblwgeom. It's its natural path anyway.

> Does building with -j8 work for other people?

It never worked for me. I was impressed by automake when I saw
how many things it can get right which I couldn't :)

PS: no need to Cc the @refractions mailing list as it should just
    be an alias to the @osgeo one

--strk;

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html



More information about the postgis-devel mailing list