From 7beb3ef9b7ce1634b44fd653cb7963ed95f7fd64 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 15 Apr 2021 16:02:46 +0200 Subject: extra/cmake: no parallel builds, disabled Gui on i486 for now --- extra/cmake/PKGBUILD | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 extra/cmake/PKGBUILD diff --git a/extra/cmake/PKGBUILD b/extra/cmake/PKGBUILD new file mode 100644 index 00000000..6683520d --- /dev/null +++ b/extra/cmake/PKGBUILD @@ -0,0 +1,18 @@ +# do not build in parallel on build slaves +eval "$( + declare -f build | \ + sed ' + s/--parallel=.*/--parallel=1/ + ' +)" + +# ignore gui on i486 (for now, needs Qt6, which needs atomics) +if [ "$CARCH" = 'i486' ]; then + makedepends=(${makedepends[@]//qt6-base/}) + eval "$( + declare -f build | \ + sed ' + s/--qt-gui// + ' + )" +fi -- cgit v1.2.3-70-g09d2