[neon/snap-packaging/kde-qt6-core-sdk/work.core24-arm64-build-test] debian: limit cores again
Carlos De Maine
null at kde.org
Tue Jul 22 23:01:23 BST 2025
Git commit 0b971c636059d74f7aaada8ba0d80ee6b07fb020 by Carlos De Maine.
Committed on 22/07/2025 at 22:01.
Pushed by carlosdem into branch 'work.core24-arm64-build-test'.
limit cores again
M +8 -0 debian/snap-snapcraft-core-lxd-proto.yml
https://invent.kde.org/neon/snap-packaging/kde-qt6-core-sdk/-/commit/0b971c636059d74f7aaada8ba0d80ee6b07fb020
diff --git a/debian/snap-snapcraft-core-lxd-proto.yml b/debian/snap-snapcraft-core-lxd-proto.yml
index 29f918b..ea23666 100644
--- a/debian/snap-snapcraft-core-lxd-proto.yml
+++ b/debian/snap-snapcraft-core-lxd-proto.yml
@@ -8,6 +8,14 @@ snap_snapcraft_core_lxd_proto:
stage: deploy
inherit:
default: true
+ before_script:
+ # of we are building the kde-qt6-core-sdk snap , ensure that lxc utilises only
+ # 24 of the available 32 cores otherwise qt-webengine will OOM.
+ - |
+ if [ "$KDE_SNAP_MODULE_NAME" == "kde-qt6-core-sdk" ]; then
+ lxc profile set default --project snapcraft limits.cpu=12
+ fi
+
script:
- echo number of cores =
- nproc
More information about the Neon-commits
mailing list