2009-02-06 Marc Mutz <marc@kdab.net>
authorMarc Mutz <marc@kdab.net>
Fri, 6 Feb 2009 13:38:42 +0000 (13:38 +0000)
committerMarc Mutz <marc@kdab.net>
Fri, 6 Feb 2009 13:38:42 +0000 (13:38 +0000)
* src/gpg4win.mk.in: Inject $(GPG4WIN_PARALLEL) for building
individual packages. Try twice with it, once without, before
finally failing. Speeds up builds on n-core machines, n>1.

ChangeLog
src/gpg4win.mk.in

index 8d3a9aa..9a69b09 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-02-06  Marc Mutz <marc@kdab.net>
+
+       * src/gpg4win.mk.in: Inject $(GPG4WIN_PARALLEL) for building
+       individual packages. Try twice with it, once without, before
+       finally failing. Speeds up builds on n-core machines, n>1.
+
 2009-02-06  Emanuel Schuetze  <emanuel.schuetze@intevation.de>
 
        * packages/packages.current: Update kleopatra and kdelibs. Clear
index 469c58c..45ed31d 100644 (file)
@@ -137,6 +137,8 @@ stamps/stamp-$(1)-02-configure: stamps/stamp-$(1)-01-patch
 stamps/stamp-$(1)-03-make: stamps/stamp-$(1)-02-configure
        ($(call SETVARS,$(1));                          \
          cd "$$$${pkgbdir}";                           \
+         $(MAKE) $(AM_MAKEFLAGS) $(GPG4WIN_PARALLEL) $$$${pkgmkargs} || \
+         $(MAKE) $(AM_MAKEFLAGS) $(GPG4WIN_PARALLEL) $$$${pkgmkargs} || \
          $(MAKE) $(AM_MAKEFLAGS) $$$${pkgmkargs})
        touch stamps/stamp-$(1)-03-make