From 1e573dafe0d7b5d721e2b4f8743d7ab834eeff0c Mon Sep 17 00:00:00 2001 From: Michel Van den Bergh Date: Sun, 31 Oct 2021 19:35:30 +0100 Subject: [PATCH] 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. No functional change --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index fea597e7..9308d0f3 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) > /dev/null 2>&1 @echo "" @echo "Step 3/4. Building optimized executable ..." $(MAKE) ARCH=$(ARCH) COMP=$(COMP) objclean