Skip to content
Snippets Groups Projects
Commit a24df94d authored by Bart Ribbers's avatar Bart Ribbers
Browse files

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

parent 3e8c7e33
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment