Skip to content

Commit

Permalink
Greatly reduce GCC build logs
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Mar 14, 2024
1 parent 6f3eb1c commit bf4d079
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/ci/docker/host-x86_64/dist-x86_64-linux/build-gccjit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,19 @@ mkdir ../gcc-build ../gcc-install
cd ../gcc-build

# Building GCC.
# We redirect all stdout because the GCC build scripts generate thousands of lines
# of output. Unfortunately, even when using `--quiet` option for all commands,
# the output still thousands of lines of output, forcing us to use this solution.
../gcc-src/configure \
--enable-host-shared \
--enable-languages=jit \
--enable-checking=release \
--disable-bootstrap \
--disable-multilib \
--prefix=$(pwd)/../gcc-install
make
make install
--prefix=$(pwd)/../gcc-install > /dev/null

make > /dev/null
make install > /dev/null

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

0 comments on commit bf4d079

Please sign in to comment.