[PATCH 3/3] Support the PGO build for binutils+gdb

Matthias Klose doko@ubuntu.com
Thu Dec 17 16:16:45 GMT 2020


On 10/29/20 8:11 PM, H.J. Lu via Binutils wrote:

> diff --git a/Makefile.tpl b/Makefile.tpl
> index a280a1498c..38f0b021f4 100644
> --- a/Makefile.tpl
> +++ b/Makefile.tpl
> +@if pgo-build
> +	&& $(MAKE) $(RECURSE_FLAGS_TO_PASS) \

shouldn't make called with -i here? you're not interested letting some test
failures to stop the build.

> +		$(PGO_BUILD_TRAINING_FLAGS_TO_PASS) \
> +		$(PGO_BUILD_TRAINING) \
> +	&& $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean \
> +	&& $(MAKE) $(RECURSE_FLAGS_TO_PASS) \
> +		$(PGO_BUILD_USE_FLAGS_TO_PASS) all-host all-target \
> +@endif pgo-build
>  @if gcc-bootstrap
>  	    ; \
>  	fi \

Matthias


More information about the Gcc-patches mailing list