aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pcl/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/pcl/APKBUILD')
-rw-r--r--testing/pcl/APKBUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/testing/pcl/APKBUILD b/testing/pcl/APKBUILD
index 32c1adb272..ae68f07171 100644
--- a/testing/pcl/APKBUILD
+++ b/testing/pcl/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Bradley J Chambers <brad.chambers@gmail.com>
pkgname=pcl
pkgver=1.8.1
-pkgrel=0
+pkgrel=1
pkgdesc="Point Cloud Library (PCL)"
url="https://github.com/PointCloudLibrary/pcl"
arch="all"
@@ -20,6 +20,10 @@ build() {
mkdir build && cd build
+ local disable_segtests=
+ case "$CARCH" in
+ ppc64le | aarch64) disable_segtests="-DBUILD_tests_segmentation=OFF"
+ esac
# Five tests are disabled below. This is in keeping with PCL's own
# Appveyor configuration
# (https://github.com/PointCloudLibrary/pcl/blob/master/.appveyor.yml),
@@ -50,6 +54,7 @@ build() {
-DBUILD_tests_features=OFF \
-DBUILD_tests_filters=OFF \
-DBUILD_tests_io=OFF \
+ $disable_segtests \
-DBUILD_tests_registration=OFF \
-DGTEST_SRC_DIR=$srcdir/googletest-release-$_gtestver/googletest \
-DGTEST_INCLUDE_DIR=$srcdir/googletest-release-$_gtestver/googletest/include