From: Peter Korsgaard Date: Mon, 27 Nov 2017 23:52:18 +0100 Subject: [Buildroot] [PATCH 2/3] package/dvb-apps: is not parallel-safe In-Reply-To: (Yann E. MORIN's message of "Mon, 27 Nov 2017 11:48:55 +0100") References: Message-ID: <87r2sj9vx9.fsf@dell.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "Yann" == Yann E MORIN writes: > This is invisible because the timings make it excessively difficult to > hit, but the Makefile is inherently flawed for parallel build, as it > contains: > $(objects): atsc_psip_section.c atsc_psip_section.h > atsc_psip_section.c atsc_psip_section.h: > perl section_generate.pl atsc_psip_section.pl > and the perl script section_generate.pl will create both the .c and .h > files in one go, but given the construct above, there can be two such > script that run in parallel, which can clobber the generated .c and/or > .h files. > So, make dvb-apps a MAKE1 package. > Signed-off-by: "Yann E. MORIN" > --- > The time to build increased by one third, from ~7.5s to ~10s, on a > core-i7 quad-core, which is not much in the end, and totally acceptable. Committed to 2017.02.x and 2017.08.x, thanks. -- Bye, Peter Korsgaard