From 8e8aafd195e4dce5e0de5261fb16c1dd96f8b4b8 Mon Sep 17 00:00:00 2001 From: Oliver Grawert Date: Mon, 16 Nov 2020 12:33:19 +0000 Subject: [PATCH] force single threaded build to make xsltproc not fail randomly --- snap/snapcraft.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 7a91494..7a2d849 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -43,8 +43,6 @@ parts: source-depth: 1 source-tag: v4.1.0 plugin: make - build-environment: - - SNAPCRAFT_PARALLEL_BUILD_COUNT: "1" override-build: | # set version VER="$(git tag|tail -1)" @@ -52,7 +50,9 @@ parts: snapcraftctl set-version $VER # force wayland-only build sed -i 's/^WINDOWS=all/WINDOWS=wayland/g' config.mk - snapcraftctl build + # force single threaded build to make xsltproc not fail + make -j1 + make install DESTDIR=$SNAPCRAFT_PART_INSTALL build-packages: - asciidoc - libfreeimage-dev