]> git.michaelhowe.org Git - packages/o/openafs.git/commit
redhat: parallel builds
authorStephan Wiesand <stephan.wiesand@desy.de>
Mon, 2 Jul 2018 12:05:47 +0000 (14:05 +0200)
committerBenjamin Kaduk <kaduk@mit.edu>
Fri, 27 Jul 2018 12:50:58 +0000 (08:50 -0400)
commit38a6a62b10ba895f77b8617a460322b5d834bbe0
tree5bff2d86823f605b8c7d3a61732d8805491e101c
parentb70c8e193c3187b4fd5367e4b1cb008f126ca9e5
redhat: parallel builds

Parallel builds can be an order of magnitude faster. Add the
_smp_mflags macro to all invocations of make in the rpm spec,
to make use of all available cores and SMT threads on the build
system. This should also help noticing new dependency issues
early. Note the macro can be overridden on the rpmbuild command
line.

Reviewed-on: https://gerrit.openafs.org/13240
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
(cherry picked from commit e60766286b7a581dcdd14466884ea7fdcae10918)

Change-Id: I3428e5acc7114a5bf1a1090352055041ef099fbd
Reviewed-on: https://gerrit.openafs.org/13249
Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Tested-by: Benjamin Kaduk <kaduk@mit.edu>
src/packaging/RedHat/openafs.spec.in