Skip to content

Commit bf4d079

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

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

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

+7-3
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,19 @@ mkdir ../gcc-build ../gcc-install
1414
cd ../gcc-build
1515

1616
# Building GCC.
17+
# We redirect all stdout because the GCC build scripts generate thousands of lines
18+
# of output. Unfortunately, even when using `--quiet` option for all commands,
19+
# the output still thousands of lines of output, forcing us to use this solution.
1720
../gcc-src/configure \
1821
--enable-host-shared \
1922
--enable-languages=jit \
2023
--enable-checking=release \
2124
--disable-bootstrap \
2225
--disable-multilib \
23-
--prefix=$(pwd)/../gcc-install
24-
make
25-
make install
26+
--prefix=$(pwd)/../gcc-install > /dev/null
27+
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)