Skip to content

Commit 6d312a2

Browse files
Greatly reduce GCC build logs
1 parent 6f3eb1c commit 6d312a2

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/ci/docker/host-x86_64/dist-x86_64-linux/build-gccjit.sh

+8-3
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,14 @@ cd ../gcc-build
2020
--enable-checking=release \
2121
--disable-bootstrap \
2222
--disable-multilib \
23-
--prefix=$(pwd)/../gcc-install
24-
make
25-
make install
23+
--prefix=$(pwd)/../gcc-install \
24+
--quiet
25+
26+
# We redirect stdout because the GCC build scripts generate thousands of lines
27+
# of output. Unfortunately, even when using `--quiet` option for all commands,
28+
# the output still thousands of lines of output, forcing us to use this solution.
29+
make > /dev/null
30+
make install > /dev/null
2631

2732
rm -rf ../gcc-src
2833
ln -s /scripts/gcc-install/lib/libgccjit.so /usr/lib/x86_64-linux-gnu/libgccjit.so

0 commit comments

Comments
 (0)