From 7cfe4ee9f2d15420aa7c3db57c085dd85941a1d1 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 22 Apr 2020 18:26:02 +0200 Subject: [PATCH] Disable GUI parts build for PPC and S/390 Travis platforms People are unlikely to use wxGTK on those anyhow, and it takes an awfully long time to build, especially on PPC. --- .travis.yml | 4 ++-- build/tools/before_install.sh | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 889ee215a7..f3682e1396 100644 --- a/.travis.yml +++ b/.travis.yml @@ -67,11 +67,11 @@ matrix: name: wxGTK ARM64 - os: linux arch: ppc64le - env: wxCONFIGURE_FLAGS="--disable-sys-libs" wxLXC=1 + env: wxCONFIGURE_FLAGS="--disable-sys-libs --disable-gui" wxLXC=1 name: wxGTK PowerPC64 - os: linux arch: s390x - env: wxCONFIGURE_FLAGS="--disable-sys-libs" wxLXC=1 + env: wxCONFIGURE_FLAGS="--disable-sys-libs --disable-gui" wxLXC=1 name: wxGTK S/390 branches: diff --git a/build/tools/before_install.sh b/build/tools/before_install.sh index 0411254cfd..8ad9fc453d 100755 --- a/build/tools/before_install.sh +++ b/build/tools/before_install.sh @@ -16,6 +16,7 @@ case $(uname -s) in *--with-motif*) libtoolkit_dev='libmotif-dev libxmu-dev' ;; *--with-qt*) libtoolkit_dev='qtdeclarative5-dev libqt5opengl5-dev';; *--with-x11*) extra_deps='libpango1.0-dev' ;; + *--disable-gui*) ;; *) case "$wxGTK_VERSION" in 3) libtoolkit_dev=libgtk-3-dev