Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/scripts/build-erofs-utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,14 @@ build_windows() {
[ "$(uname -s)" = "Linux" ] || die "the windows cross-build needs a linux host"
if [ -z "${SKIP_DEPS:-}" ]; then
apt_get update
apt_get install -y autoconf automake libtool pkg-config mingw-w64
# Not the mingw-w64 metapackage: it pulls both targets (i686 and
# x86_64), both thread models (posix and win32) and g++, 277 MB in 25
# packages, which the mirror has served at a package a minute, past
# the guard, on three runs out of three. The cross build is C on one
# target with one thread model: the compiler, its binutils and the
# headers for x86_64 alone, a quarter of that.
apt_get install -y --no-install-recommends autoconf automake libtool pkg-config \
binutils-mingw-w64-x86-64 gcc-mingw-w64-x86-64-posix mingw-w64-x86-64-dev
fi
mkdir -p "$work"

Expand Down
Loading