diff options
author | Otakar Jašek | 2020-09-06 16:40:21 +0200 |
---|---|---|
committer | Otakar Jašek | 2020-09-06 16:40:21 +0200 |
commit | cc9a69d9d18a4146e1d82c6d4cb2eea3dbed3c62 (patch) | |
tree | 1c783a9723ba3987dd238860227a0184e4d1cca2 | |
parent | d741e0710255985e3bf817cf5ba472b6f43592ed (diff) | |
download | aur-cc9a69d9d18a4146e1d82c6d4cb2eea3dbed3c62.tar.gz |
testing
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 8 insertions, 3 deletions
@@ -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 @@ -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" |