diff --git a/gis/libpcl/Portfile b/gis/libpcl/Portfile
index a485ed3739..9f6ffcab61 100644
a
|
b
|
|
1 | 1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
2 | 2 | |
3 | 3 | PortSystem 1.0 |
4 | | PortGroup cmake 1.0 |
| 4 | PortGroup cmake 1.1 |
5 | 5 | PortGroup github 1.0 |
6 | 6 | PortGroup active_variants 1.1 |
7 | 7 | |
8 | | github.setup PointCloudLibrary pcl 1.7.2 pcl- |
9 | | revision 2 |
| 8 | github.setup PointCloudLibrary pcl 1.8.1 pcl- |
| 9 | checksums rmd160 b19a542a2ec5aa6ac7d7c52dae03878f86f0d04c \ |
| 10 | sha256 c36d922197dcb2b93461fc7f44240aa0b292615411b6857d9860ac3af443cc2c |
| 11 | |
10 | 12 | name libpcl |
11 | 13 | categories gis graphics science |
12 | 14 | platforms darwin |
… |
… |
long_description The Point Cloud Library (PCL) is a standalone, large scale, |
18 | 20 | |
19 | 21 | homepage http://pointclouds.org |
20 | 22 | |
21 | | checksums rmd160 66e3e08beb98664d069dbcee5d22cf7895bbd5e0 \ |
22 | | sha256 3e764a290f4a7241904a23a81851a018e5b9bb5daaaa0dbd5596e3b43820b2e9 |
23 | | |
24 | 23 | depends_lib port:boost \ |
25 | 24 | port:eigen3 \ |
26 | 25 | port:flann \ |
27 | | port:vtk5 \ |
| 26 | port:glew \ |
| 27 | port:libpng \ |
| 28 | port:openni \ |
28 | 29 | port:qhull \ |
29 | | port:openni |
| 30 | port:libusb \ |
| 31 | port:vtk \ |
| 32 | port:zlib |
| 33 | |
| 34 | depends_test port:gtest |
| 35 | |
| 36 | require_active_variants vtk qt5 |
30 | 37 | |
31 | | require_active_variants vtk5 qt4_mac |
| 38 | configure.args-replace -DCMAKE_BUILD_TYPE=MacPorts -DCMAKE_BUILD_TYPE=Release |
32 | 39 | |
33 | | configure.args-append -DOPENNI_INCLUDE_DIR=${prefix}/include/ni |
| 40 | configure.args-append -DBUILD_apps=ON \ |
| 41 | -DBUILD_examples=ON \ |
| 42 | -DWITH_DOCS=OFF \ |
| 43 | -DWITH_QT=ON |
34 | 44 | |
35 | | variant perf description {Optimize code} { |
36 | | configure.compiler macports-clang-3.3 |
37 | | configure.optflags -O3 -pipe -march=native -mavx |
| 45 | variant clang50 description {Build with clang 5.0 to enable OpenMP for speed} { |
| 46 | depends_build-append port:clang-5.0 |
| 47 | depends_lib-append port:libomp |
| 48 | configure.compiler macports-clang-5.0 |
38 | 49 | } |
39 | 50 | |
| 51 | variant test description {Configure to run unit tests} { |
| 52 | configure.args-replace -DBUILD_apps=ON -DBUILD_apps=OFF |
| 53 | configure.args-replace -DBUILD_examples=ON -DBUILD_examples=OFF |
| 54 | configure.args-append -DBUILD_global_tests=ON \ |
| 55 | -DGTEST_SRC_DIR=${prefix}/src/googletest/ |
| 56 | } |
| 57 | |
| 58 | default_variants +clang50 |
| 59 | |
| 60 | # Test phase completes to the test summary (93 of 104 passed) but then aborts with |
| 61 | # "Failed to test libpcl: command execution failed" |
| 62 | # Needs further work |
| 63 | test.run yes |
| 64 | test.target tests |