This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Support parallel make check with GNU make 4.2+
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 20 Jul 2018 13:33:24 +0200
- Subject: Re: Support parallel make check with GNU make 4.2+
- References: <yddfu0e2m9f.fsf@CeBiTec.Uni-Bielefeld.DE>
On Jul 20 2018, Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> wrote:
> diff --git a/gdb/testsuite/Makefile.in b/gdb/testsuite/Makefile.in
> --- a/gdb/testsuite/Makefile.in
> +++ b/gdb/testsuite/Makefile.in
> @@ -140,7 +140,7 @@ installcheck:
> # See whether -j was given to make. Either it was given with no
> # arguments, and appears as "j" in the first word, or it was given an
> # argument and appears as "-j" in a separate word.
> -saw_dash_j = $(or $(findstring j,$(firstword $(MAKEFLAGS))),$(filter -j,$(MAKEFLAGS)))
> +saw_dash_j = $(or $(findstring j,$(firstword $(MAKEFLAGS))),$(filter -j%,$(MAKEFLAGS)))
Please also update the comment.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."