From cdcc09f63bcb140033e2e84e4a3d3cac200fa74a Mon Sep 17 00:00:00 2001 From: Ben Wiederhake Date: Sat, 1 Aug 2020 15:32:04 +0200 Subject: [PATCH] Travis: 'configure' is too chatty for CI ./configure generates about 3500 lines in a few seconds. Noone will ever read those lines and they make loading the Travis webpage slower. And if there is ever a problem, it will be because the Travis base image changed (which happens only rarely) in a way that interferes with compiling gcc (which is incredibly unlikely), or we update gcc (which happens very rarely) and gcc doesn't like the Travis iamge (which again is incredibly unlikely). In all of these cases, finding the culprit will be self-evident. --- Toolchain/BuildIt.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Toolchain/BuildIt.sh b/Toolchain/BuildIt.sh index fc601b8fd5..0e308b4922 100755 --- a/Toolchain/BuildIt.sh +++ b/Toolchain/BuildIt.sh @@ -197,11 +197,13 @@ pushd "$DIR/Build/" unset PKG_CONFIG_LIBDIR # Just in case pushd binutils + echo "XXX configure binutils" "$DIR"/Tarballs/binutils-2.33.1/configure --prefix="$PREFIX" \ --target="$TARGET" \ --with-sysroot="$SYSROOT" \ --enable-shared \ - --disable-nls || exit 1 + --disable-nls \ + ${TRY_USE_LOCAL_TOOLCHAIN:+"--quiet"} || exit 1 if [ "$(uname)" = "Darwin" ]; then # under macOS generated makefiles are not resolving the "intl" # dependency properly to allow linking its own copy of @@ -211,6 +213,7 @@ pushd "$DIR/Build/" "$MAKE" all-yes popd fi + echo "XXX build binutils" "$MAKE" -j "$MAKEJOBS" || exit 1 "$MAKE" install || exit 1 popd @@ -220,13 +223,15 @@ pushd "$DIR/Build/" perl -pi -e 's/-no-pie/-nopie/g' "$DIR/Tarballs/gcc-$GCC_VERSION/gcc/configure" fi + echo "XXX configure gcc and libgcc" "$DIR/Tarballs/gcc-$GCC_VERSION/configure" --prefix="$PREFIX" \ --target="$TARGET" \ --with-sysroot="$SYSROOT" \ --disable-nls \ --with-newlib \ --enable-shared \ - --enable-languages=c,c++ || exit 1 + --enable-languages=c,c++ \ + ${TRY_USE_LOCAL_TOOLCHAIN:+"--quiet"} || exit 1 echo "XXX build gcc and libgcc" "$MAKE" -j "$MAKEJOBS" all-gcc all-target-libgcc || exit 1