Skip to content
Permalink
Browse files

science/flann: remove broken cuda variant, add python34 variant

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@118338 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
mamoll committed Mar 31, 2014
1 parent 06be969 commit 6bea49a2618c7a994d9cca3945faf34e4086ea7c
Showing with 1 addition and 12 deletions.
  1. +1 −12 science/flann/Portfile
@@ -39,7 +39,7 @@ if {[ mpi_variant_isset ]} {
configure.args-append -DUSE_MPI=ON
}

set pythons_suffixes {26 27 31 32 33}
set pythons_suffixes {26 27 31 32 33 34}

set pythons_ports {}
foreach s ${pythons_suffixes} {
@@ -75,17 +75,6 @@ foreach s ${pythons_suffixes} {
}]
}

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 -DCUDA_HOST_COMPILER=/usr/bin/llvm-gcc-4.2
}
}

livecheck.type regex
livecheck.url ${homepage}

0 comments on commit 6bea49a

Please sign in to comment.
You can’t perform that action at this time.