Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-04-15 16:02:46 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2021-04-15 16:02:46 +0200
commit7beb3ef9b7ce1634b44fd653cb7963ed95f7fd64 (patch)
tree9494ab492c5f8a19ab5ee9174bd408a9dd59e8e1
parent35157983a9e1be875519190f7fa90d921180cdeb (diff)
extra/cmake: no parallel builds, disabled Gui on i486 for now
-rw-r--r--extra/cmake/PKGBUILD18
1 files changed, 18 insertions, 0 deletions
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