diff options
author | Maarten de Vries | 2022-01-04 23:14:12 +0100 |
---|---|---|
committer | Maarten de Vries | 2022-01-04 23:14:12 +0100 |
commit | ba193ab9b05cba07b20f02075a392c02b319489c (patch) | |
tree | a70dba7316d5f2200f0b7621ea4be4d3f501b791 /PKGBUILD | |
parent | 0a8bdd2a01d48384d7c242f0a290048631b57702 (diff) | |
download | aur-ba193ab9b05cba07b20f02075a392c02b319489c.tar.gz |
Fix the build.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 25 |
1 files changed, 16 insertions, 9 deletions
@@ -6,7 +6,7 @@ # Contributor: lubosz pkgname=pcl-git -pkgver=r9837.e97b664 +pkgver=r13641.c1835f442 pkgrel=1 pkgdesc="a standalone, large scale, open project for 2D/3D image and point cloud processing" arch=(i686 x86_64) @@ -14,16 +14,19 @@ url="http://pointclouds.org/" license=('BSD') depends=( boost + cuda eigen flann - vtk - qt5-base - qt5-webkit - qhull + glew glu - python2 - libxt + libxcursor openmpi + qhull + qt5-base + qt5-webkit + vtk + pugixml + fmt ) makedepends=(cmake git) source=(git+https://github.com/PointCloudLibrary/pcl) @@ -44,7 +47,10 @@ prepare() { cmake "${srcdir}/pcl" \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_CXX_FLAGS="${CXXFLAGS}" \ + -DCMAKE_SHARED_LINKER_FLAGS="${LDFLAGS} -Wl,--as-needed" \ + -DCMAKE_EXE_LINKER_FLAGS="${LDFLAGS} -Wl,--as-needed" \ + -DCMAKE_CUDA_ARCHITECTURES="52;60;60;62;70;72;75;80;86;86-virtual" \ -DBUILD_apps=ON \ -DBUILD_apps_cloud_composer=ON \ -DBUILD_apps_in_hand_scanner=ON \ @@ -57,9 +63,10 @@ prepare() { -DBUILD_cuda_io=ON \ -DBUILD_cuda_apps=ON \ -DBUILD_GPU=ON \ + -DBUILD_gpu_kinfu=OFF \ + -DBUILD_gpu_kinfu_large_scale=OFF \ -DBUILD_gpu_surface=ON \ -DBUILD_gpu_tracking=ON \ - -DBUILD_app_3d_rec_framework=ON \ -DBUILD_simulation=ON } |