[PATCH] genemit.c (main): split insn-emit.c for compiling parallelly

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Wed Jul 15 09:18:39 GMT 2020


Hi Jojo,

> diff --git a/gcc/Makefile.in b/gcc/Makefile.in
> index 2ba76656dbf..3306510a9a8 100644
> --- a/gcc/Makefile.in
> +++ b/gcc/Makefile.in
> @@ -1253,6 +1253,13 @@ ANALYZER_OBJS = \
>  # We put the *-match.o and insn-*.o files first so that a parallel make
>  # will build them sooner, because they are large and otherwise tend to be
>  # the last objects to finish building.
> +
> +insn-generated-split-num = 15
> +
> +insn-emit-split-c = $(foreach o, $(shell seq 1
> $(insn-generated-split-num)), insn-emit$(o).c)

I just came across this: seq is a non-standard GNU extension and thus
not guaranteed to be available.

	Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University


More information about the Gcc-patches mailing list