Re: [PATCH v2] builddeb: parallelize debug module installation

2015-04-28 Thread Chris J Arges
On Tue, Apr 28, 2015 at 12:05:19PM +0200, Michal Marek wrote: > On 2015-04-28 10:57, Riku Voipio wrote: > > On 27 April 2015 at 19:43, Chris J Arges > > wrote: > >> When building the dbg package, we use a large 'for module in $(find' loop > >> that > >> can be easily parallelized by using 'find

Re: [PATCH v2] builddeb: parallelize debug module installation

2015-04-28 Thread Michal Marek
On 2015-04-28 10:57, Riku Voipio wrote: > On 27 April 2015 at 19:43, Chris J Arges wrote: >> When building the dbg package, we use a large 'for module in $(find' loop >> that >> can be easily parallelized by using 'find | xargs'. This patch modifies this >> loop to use the later paradigm. >> >>

Re: [PATCH v2] builddeb: parallelize debug module installation

2015-04-28 Thread Riku Voipio
On 27 April 2015 at 19:43, Chris J Arges wrote: > When building the dbg package, we use a large 'for module in $(find' loop that > can be easily parallelized by using 'find | xargs'. This patch modifies this > loop to use the later paradigm. > > In addition, ensure we add '-n1 -P0' to xargs to

Re: [PATCH v2] builddeb: parallelize debug module installation

2015-04-28 Thread Chris J Arges
On Tue, Apr 28, 2015 at 12:05:19PM +0200, Michal Marek wrote: On 2015-04-28 10:57, Riku Voipio wrote: On 27 April 2015 at 19:43, Chris J Arges chris.j.ar...@canonical.com wrote: When building the dbg package, we use a large 'for module in $(find' loop that can be easily parallelized

Re: [PATCH v2] builddeb: parallelize debug module installation

2015-04-28 Thread Riku Voipio
On 27 April 2015 at 19:43, Chris J Arges chris.j.ar...@canonical.com wrote: When building the dbg package, we use a large 'for module in $(find' loop that can be easily parallelized by using 'find | xargs'. This patch modifies this loop to use the later paradigm. In addition, ensure we add

Re: [PATCH v2] builddeb: parallelize debug module installation

2015-04-28 Thread Michal Marek
On 2015-04-28 10:57, Riku Voipio wrote: On 27 April 2015 at 19:43, Chris J Arges chris.j.ar...@canonical.com wrote: When building the dbg package, we use a large 'for module in $(find' loop that can be easily parallelized by using 'find | xargs'. This patch modifies this loop to use the

[PATCH v2] builddeb: parallelize debug module installation

2015-04-27 Thread Chris J Arges
When building the dbg package, we use a large 'for module in $(find' loop that can be easily parallelized by using 'find | xargs'. This patch modifies this loop to use the later paradigm. In addition, ensure we add '-n1 -P0' to xargs to run as many processes as possible. Signed-off-by: Chris J

[PATCH v2] builddeb: parallelize debug module installation

2015-04-27 Thread Chris J Arges
When building the dbg package, we use a large 'for module in $(find' loop that can be easily parallelized by using 'find | xargs'. This patch modifies this loop to use the later paradigm. In addition, ensure we add '-n1 -P0' to xargs to run as many processes as possible. Signed-off-by: Chris J