[101905] trunk/dports/science/flann/Portfile

mmoll at macports.org mmoll at macports.org
Mon Jan 21 08:37:45 PST 2013


Revision: 101905
          https://trac.macports.org/changeset/101905
Author:   mmoll at macports.org
Date:     2013-01-21 08:37:45 -0800 (Mon, 21 Jan 2013)
Log Message:
-----------
science/flann: another fix for CUDA variant

Modified Paths:
--------------
    trunk/dports/science/flann/Portfile

Modified: trunk/dports/science/flann/Portfile
===================================================================
--- trunk/dports/science/flann/Portfile	2013-01-21 15:44:06 UTC (rev 101904)
+++ trunk/dports/science/flann/Portfile	2013-01-21 16:37:45 UTC (rev 101905)
@@ -72,12 +72,13 @@
 
 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
     if {[string match "*clang*" ${configure.compiler}]} {
-        configure.args-append -DBUILD_CUDA_LIB=ON -DCUDA_HOST_COMPILER=/usr/bin/llvm-gcc-4.2
+        configure.args-append -DCUDA_HOST_COMPILER=/usr/bin/llvm-gcc-4.2
     }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130121/0d754c23/attachment-0001.html>


More information about the macports-changes mailing list