Skip to content

Commit 20099b9

Browse files
committed
build-mingw-w64: Use silent rules for compiling things
This reduces the amount of log output significantly. For the linux build on github actions, this reduces the log output from 8.5 MB down to 4.7 MB.
1 parent eeb1240 commit 20099b9

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

build-mingw-w64-libraries.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ for lib in winpthreads winstorecompat; do
6464
cd build-$arch
6565
arch_prefix="$PREFIX/$arch-w64-mingw32"
6666
../configure --host=$arch-w64-mingw32 --prefix="$arch_prefix" --libdir="$arch_prefix/lib" \
67+
--enable-silent-rules \
6768
CFLAGS="$USE_CFLAGS" \
6869
CXXFLAGS="$USE_CFLAGS"
6970
$MAKE -j$CORES

build-mingw-w64-tools.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ else
104104
fi
105105
ANY_ARCH=$(echo $ARCHS | awk '{print $1}')
106106

107+
CONFIGFLAGS="$CONFIGFLAGS --enable-silent-rules"
108+
107109
cd mingw-w64-tools/gendef
108110
[ -z "$CLEAN" ] || rm -rf build${CROSS_NAME}
109111
mkdir -p build${CROSS_NAME}

build-mingw-w64.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ for arch in $ARCHS; do
132132
;;
133133
esac
134134
FLAGS="$FLAGS --with-default-msvcrt=$DEFAULT_MSVCRT"
135+
FLAGS="$FLAGS --enable-silent-rules"
135136
../configure --host=$arch-w64-mingw32 --prefix="$PREFIX/$arch-w64-mingw32" $FLAGS $CFGUARD_FLAGS $CRT_CONFIG_FLAGS
136137
$MAKE -j$CORES
137138
$MAKE install

0 commit comments

Comments
 (0)