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 6d312a2
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 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 @@ -20,9 +20,14 @@ cd ../gcc-build
--enable-checking=release \
--disable-bootstrap \
--disable-multilib \
--prefix=$(pwd)/../gcc-install
make
make install
--prefix=$(pwd)/../gcc-install \
--quiet

# We redirect 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.
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 6d312a2

Please sign in to comment.