Jojo R <jiejie_r...@c-sky.com> writes:

> gcc/ChangeLog:
>
>       * genemit.c (main): Print 'split line'.
>       * Makefile.in (insn-emit.c): Define split count and file
[...]
> diff --git a/gcc/Makefile.in b/gcc/Makefile.in
> index 2ba76656dbf..75841e49127 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 = $(shell grep -c ^processor /proc/cpuinfo)

This is highly unportable, probably Linux-only.  It certainly doesn't
exist on at least Solaris and macOS.  Maybe gnulib has something here.

        Rainer

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

Reply via email to