testing/flann: don't run non-existing tests

This commit is contained in:
Bart Ribbers 2025-02-14 16:26:30 +01:00
parent 3e8c7e3380
commit a24df94df7

View File

@ -7,9 +7,16 @@ pkgdesc="Fast Library for Approximate Nearest Neighbors"
url="https://github.com/flann-lib/flann"
arch="all"
license="BSD-3-Clause"
makedepends="cmake samurai lz4-dev hdf5-dev gtest-dev"
makedepends="
cmake
gtest-dev
hdf5-dev
lz4-dev
samurai
"
subpackages="$pkgname-doc $pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/flann-lib/flann/archive/$pkgver.tar.gz"
options="!check" # No tests
build() {
cmake -B build -G Ninja \
@ -19,10 +26,6 @@ build() {
cmake --build build
}
check() {
ctest --test-dir build --output-on-failure
}
package() {
DESTDIR="$pkgdir" cmake --install build