From: Michel Van den Bergh Date: Sun, 31 Oct 2021 18:35:30 +0000 (+0100) Subject: Do not output to stderr during the build. X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=0e89d6e7546d26a19a108d047b489d9ba6f7970c;hp=a8330d5c3bfeb4c9d5c55083223792e0989bb9c6 Do not output to stderr during the build. To help with debugging, the worker sends the output of stderr (suitable truncated) to the action log on the server, in case a build fails. For this to work it is important that there is no spurious output to stderr. closes https://github.com/official-stockfish/Stockfish/pull/3773 No functional change --- diff --git a/src/Makefile b/src/Makefile index fea597e7..5c52661b 100644 --- a/src/Makefile +++ b/src/Makefile @@ -751,7 +751,7 @@ profile-build: net config-sanity objclean profileclean $(MAKE) ARCH=$(ARCH) COMP=$(COMP) $(profile_make) @echo "" @echo "Step 2/4. Running benchmark for pgo-build ..." - $(PGOBENCH) > /dev/null + $(PGOBENCH) 2>&1 | tail -n 4 @echo "" @echo "Step 3/4. Building optimized executable ..." $(MAKE) ARCH=$(ARCH) COMP=$(COMP) objclean