testing/unison: workaround possible parallel building issue

Can't reproduce locally
This commit is contained in:
Leonardo Arena 2017-01-27 16:10:55 +00:00
parent ca175ad65f
commit 8fe2d1dd23

View File

@ -2,7 +2,7 @@
# Maintainer: Jean-Louis Fuchs <ganwell@fangorn.ch>
pkgname=unison
pkgver=2.48.4
pkgrel=1
pkgrel=2
pkgdesc="Unison - efficient file-synchronization tool"
url="https://www.cis.upenn.edu/~bcpierce/unison/"
arch="x86_64 armhf aarch64"
@ -22,9 +22,9 @@ build() {
# ocamlopt doesn't know -Os nor -fomit-frame-pointer
export CFLAGS="-ccopt -Os -ccopt -fomit-frame-pointer"
for ui in text gtk2; do
make clean
make mkProjectInfo
make UISTYLE=$ui DEBUGGING=false THREADS=true || return 1
make -j1 clean
make -j1 mkProjectInfo
make -j1 UISTYLE=$ui DEBUGGING=false THREADS=true || return 1
mv unison unison-$ui
done
}