On 22 June 2013 19:04, Mike Frysinger <vap...@gentoo.org> wrote: > On Wednesday 19 June 2013 07:21:39 Ben Laurie wrote: >> On 18 June 2013 22:35, Mike Frysinger <vap...@gentoo.org> 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/openssl >> >> /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 :-) Possibly the right answer is to simply move to a single makefile... ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager majord...@openssl.org