mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 22:07:19 +02:00
testing/flann: don't run non-existing tests
This commit is contained in:
parent
3e8c7e3380
commit
a24df94df7
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user