Skip to content

Commit 0028fb7

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

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

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

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

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

0 commit comments

Comments
 (0)