summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtakar Jašek2020-09-06 16:40:21 +0200
committerOtakar Jašek2020-09-06 16:40:21 +0200
commitcc9a69d9d18a4146e1d82c6d4cb2eea3dbed3c62 (patch)
tree1c783a9723ba3987dd238860227a0184e4d1cca2
parentd741e0710255985e3bf817cf5ba472b6f43592ed (diff)
downloadaur-cc9a69d9d18a4146e1d82c6d4cb2eea3dbed3c62.tar.gz
testing
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD9
2 files changed, 8 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c4c79b3e27f6..cbf2a9c5204d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
pkgbase = faiss-git
- pkgver = 1.6.1.r87.gc97f890
+ pkgver = 1.6.1.r90.g9873376
pkgrel = 1
url = https://github.com/facebookresearch/faiss
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 701ffbc427f3..d3271d7dc768 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=('faiss-git' 'python-faiss-git')
arch=('i686' 'x86_64')
url="https://github.com/facebookresearch/faiss"
license=('MIT')
-pkgver=1.6.1.r87.gc97f890
+pkgver=1.6.1.r90.g9873376
pkgrel=1
source=(${_pkgname}::git+https://github.com/facebookresearch/faiss.git)
sha256sums=('SKIP')
@@ -29,9 +29,14 @@ prepare() {
-DFAISS_ENABLE_GPU=OFF \
-DFAISS_ENABLE_PYTHON=ON \
-DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_TESTING=ON
}
+check() {
+ cd "${srcdir}/${_pkgname}/build"
+ make test
+}
build() {
cd "${srcdir}/${_pkgname}/build"