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 15, 2024
1 parent 6f3eb1c commit 664ca6f
Show file tree
Hide file tree
Showing 3 changed files with 9 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 @@ -13,16 +13,20 @@ git checkout 78dc50f0e50e6cd1433149520bd512a4e0eaa1bc
mkdir ../gcc-build ../gcc-install
cd ../gcc-build

. /tmp/shared.sh

# Building GCC.
../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 \
--quiet

hide_output make
hide_output make install

rm -rf ../gcc-src
ln -s /scripts/gcc-install/lib/libgccjit.so /usr/lib/x86_64-linux-gnu/libgccjit.so
Expand Down
1 change: 1 addition & 0 deletions src/ci/docker/host-x86_64/x86_64-gnu-llvm-16/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ ENV RUST_CONFIGURE_ARGS \
--set rust.thin-lto-import-instr-limit=10

COPY host-x86_64/x86_64-gnu-llvm-16/script.sh /tmp/
COPY host-x86_64/dist-x86_64-linux/shared.sh /tmp/

COPY host-x86_64/dist-x86_64-linux/build-gccjit.sh /scripts/

Expand Down
1 change: 1 addition & 0 deletions src/ci/docker/host-x86_64/x86_64-gnu-llvm-17/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ ENV RUST_CONFIGURE_ARGS \

COPY host-x86_64/x86_64-gnu-llvm-16/script.sh /tmp/

COPY host-x86_64/dist-x86_64-linux/shared.sh /tmp/
COPY host-x86_64/dist-x86_64-linux/build-gccjit.sh /scripts/

RUN sh /scripts/build-gccjit.sh /scripts
Expand Down

0 comments on commit 664ca6f

Please sign in to comment.