summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorpanosk2017-01-29 18:28:26 +0200
committerpanosk2017-01-29 18:28:26 +0200
commita3c6bcce5246fcb61f2ee4f3fc18c9b43e14d4fa (patch)
tree3aec07dd96dbdceeeb96a2c867069971d2a27e42
parentf6c529e82185ddaf15eb857fdf699ae7b9ec9391 (diff)
downloadaur-mosesdecoder.tar.gz
Switched to a new branch that allows building with c++14. Added the -q switch to quit compiling as soon as en error is encountered and increased the number of threads during compiling to 4
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index dfca4fc8432b..f253b3f6d4ac 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = mosesdecoder
pkgdesc = State of the art Statistical Machine Translation system - Stable Release 3
pkgver = 3.0.0
- pkgrel = 1
+ pkgrel = 2
url = http://www.statmt.org/moses
install = mosesdecoder.install
arch = i686
@@ -18,7 +18,7 @@ pkgbase = mosesdecoder
depends = xmlrpc-c
optdepends = giza-pp-git: for training models
optdepends = mgiza: multithreaded giza for training models
- source = mosesdecoder::git+https://github.com/moses-smt/mosesdecoder.git#branch=RELEASE-3.0
+ source = mosesdecoder::git+https://github.com/moses-smt/mosesdecoder.git#branch=RELEASE-3.0-cpp14
source = mosesdecoder.sh
md5sums = SKIP
md5sums = 888ae605a7b0a816005d44923b523016
diff --git a/PKGBUILD b/PKGBUILD
index 39cf1e858ed2..9c0206f38cac 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Panos Kanavos <panoskanavos@gmail.com>
pkgname=mosesdecoder
pkgver=3.0.0
-pkgrel=1
+pkgrel=2
pkgdesc="State of the art Statistical Machine Translation system - Stable Release 3"
arch=('i686' 'x86_64')
url="http://www.statmt.org/moses"
@@ -16,7 +16,7 @@ replaces=()
backup=()
options=()
install='mosesdecoder.install'
-source=('mosesdecoder::git+https://github.com/moses-smt/mosesdecoder.git#branch=RELEASE-3.0' 'mosesdecoder.sh')
+source=('mosesdecoder::git+https://github.com/moses-smt/mosesdecoder.git#branch=RELEASE-3.0-cpp14' 'mosesdecoder.sh')
noextract=()
md5sums=('SKIP' '888ae605a7b0a816005d44923b523016')
@@ -27,7 +27,7 @@ package() {
--with-xmlrpc-c \
--with-cmph=/usr \
--install-scripts=$pkgdir/opt/moses/moses-scripts \
- -j2
+ -j4 -q
mkdir -p $pkgdir/etc/profile.d/
install -m755 $startdir/mosesdecoder.sh $pkgdir/etc/profile.d/
source $pkgdir/etc/profile.d/mosesdecoder.sh