On Saturday 22 June 2013 15:07:49 Ben Laurie wrote: > On 22 June 2013 19:04, Mike Frysinger <[email protected]> wrote: > > On Wednesday 19 June 2013 07:21:39 Ben Laurie wrote: > >> On 18 June 2013 22:35, Mike Frysinger <[email protected]> wrote: > >> > On Tuesday 18 June 2013 07:37:55 Richard Weinberger wrote: > >> >> While building openssl-1.0.1e I noticed that the parallel build > >> >> is broken. > >> > > >> > yes, it's pretty much always been broken > >> > > >> >> I found this patch on the net: > >> >> http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-libs/open > >> >> ssl /fi les/openssl-1.0.1-parallel-build.patch With it applied > >> >> openssl builds fine in parallel. > >> > > >> > heh, you've found me! the referenced ticket says it's been merged, > >> > but it doesn't seem that way (at least for the latest branch). > >> > >> You are right it hasn't been merged. One problem with it is it doesn't > >> work with BSD make (BSD make doesn't understand | in dependencies). > > > > true, but the patch posted to RT didn't include that, and that usage > > shows up only twice in the current Gentoo patch. plenty of the other > > parts can be merged now so it's not nearly as terrible. > > > > i wonder if the | can be written instead like: > > lib: > > $(MAKE) subdirs > > $(MAKE) $(LIB) > > @touch lib > > $(LIB): $(LIBOBJ) > > ... > > I don't know, but FWIW, I've also been working on -j stuff, but using > the mk1mf script (see the GitConfigure and GitMake scripts in master > and 1.0.2). My version is at least twice as fast as yours - on my > machine :-)
to be fair, i was just trying to make it work rather than rewrite things unfortunately mk1mf is a perl script, and i've been doing my damnedest to make sure perl isn't a requirement to build a base system. we've been able to avoid this so far w/openssl ... > Possibly the right answer is to simply move to a single makefile... that might work -mike
signature.asc
Description: This is a digitally signed message part.
