pcp
[Top] [All Lists]

pcp update: more make -j support

To: pcp developers <pcp@xxxxxxxxxxx>
Subject: pcp update: more make -j support
From: "Frank Ch. Eigler" <fche@xxxxxxxxxx>
Date: Thu, 14 May 2015 21:08:09 -0400
Delivered-to: pcp@xxxxxxxxxxx
User-agent: Mutt/1.4.2.2i
Hi -

The following patches, on git://sourceware.org/git/pcpfans.git
fche/make-j improve pcp build times for multiprocessor machines.  This
is follow-on work from much older commits de9f1e5cd and 91917ccf3, and
benefits even ordinary Makepkgs and top level make.  Some directories
and operations remain non-parallelized, but the core build is
considerably faster - apprx. half time on a 4vcpu box.


commit 0c51ecba55ba8aef3232d668910a697da9e3d9ca
Author: Frank Ch. Eigler <fche@xxxxxxxxxx>
Date:   Thu May 14 14:02:57 2015 -0400

    build GNUmakefiles: allow more parallel (make -j) jobs
    
    For GNU make's -jNNN to propagate from an outer parent make to child
    processes, macros that invoke $(MAKE) internally need to be decorated
    with a "+" prefix.  On a 4 vcpu machine, this allows the complete pcp
    tree to be built in less than half the time.
    
    There are still some ".NOTPARALLEL:" markers in a few GNUmakefiles
    that lack full dependency declarations, and subdirectory make jobs
    tend to be invoked serially (due to the use of explicit shell-script
    loops), so we have some further potential speedups too.

commit 82595e3f0fd36e6e50045a3c5f85f2be9afe49cf
Author: Frank Ch. Eigler <fche@xxxxxxxxxx>
Date:   Thu May 14 10:46:21 2015 -0400

    rpm build scripts: use make %{?_smp_mflags} for faster building
    
    On SMP build hosts, we should benefit from the available parallelism.


<Prev in Thread] Current Thread [Next in Thread>