[101903] trunk/dports/science/flann/Portfile
mmoll at macports.org
mmoll at macports.org
Mon Jan 21 07:39:21 PST 2013
Revision: 101903
https://trac.macports.org/changeset/101903
Author: mmoll at macports.org
Date: 2013-01-21 07:39:21 -0800 (Mon, 21 Jan 2013)
Log Message:
-----------
science/flann: update to latest version, fix CUDA variant
Modified Paths:
--------------
trunk/dports/science/flann/Portfile
Modified: trunk/dports/science/flann/Portfile
===================================================================
--- trunk/dports/science/flann/Portfile 2013-01-21 14:44:49 UTC (rev 101902)
+++ trunk/dports/science/flann/Portfile 2013-01-21 15:39:21 UTC (rev 101903)
@@ -4,8 +4,7 @@
PortGroup cmake 1.0
name flann
-version 1.8.1
-revision 1
+version 1.8.4
categories science devel
maintainers mmoll
description Fast Library for Approximate Nearest Neighbors
@@ -22,9 +21,9 @@
distname ${name}-${version}-src
use_zip yes
extract.mkdir yes
-checksums md5 7028de304eca4141646df2de54e73a44 \
- sha1 0f6d4dd2b84d069bd6d804c8e967955b54655972 \
- rmd160 e31d91df939dd3a8efc8096ca70b41b1005e9deb
+checksums md5 a0ecd46be2ee11a68d2a7d9c6b4ce701 \
+ sha1 e03d9d458757f70f6af1d330ff453e3621550a4f \
+ rmd160 2f067dbe1ad583188a0ef587a13cc3e6179d88b6
depends_lib port:hdf5-18
patchfiles patch-src-python-CMakeLists.txt.diff
patch.dir ${worksrcpath}/${worksrcdir}
@@ -72,7 +71,11 @@
variant cuda description {Enable CUDA support} {
configure.args-delete -DBUILD_CUDA_LIB=OFF
- configure.args-append -DBUILD_CUDA_LIB=ON
+ # As of cmake 2.8.10, the host compiler used is passed on to nvcc.
+ # Nvcc (at least versions 4.2 and 5.0) calls clang with the argument
+ # "-dumpspecs" which is a gcc-ism. To avoid this problem force
+ # llvm-gcc-4.2 to be the host compiler
+ configure.args-append -DBUILD_CUDA_LIB=ON -DCUDA_HOST_COMPILER=/usr/bin/llvm-gcc-4.2
}
livecheck.type regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130121/993a4fdd/attachment.html>
More information about the macports-changes
mailing list