Skip to content

Commit

Permalink
force single threaded build to make xsltproc not fail randomly
Browse files Browse the repository at this point in the history
  • Loading branch information
ogra1 committed Nov 16, 2020
1 parent 96151e1 commit 8e8aafd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,16 @@ 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)"
echo "setting version to $VER"
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
Expand Down

0 comments on commit 8e8aafd

Please sign in to comment.