[MacPorts] #41333: Add CUDA as a variant to OpenCV

MacPorts noreply at macports.org
Tue Nov 12 12:29:16 PST 2013


#41333: Add CUDA as a variant to OpenCV
--------------------------+------------------------
  Reporter:  jsoller@…    |      Owner:  stromnov@…
      Type:  enhancement  |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  opencv       |
--------------------------+------------------------
Changes (by macsforever2000@…):

 * owner:  macports-tickets@… => stromnov@…
 * version:  2.2.1 =>
 * type:  request => enhancement
 * port:   => opencv


Old description:

> CUDA significantly increases OpenCV performance on MacBooks where NVIDIA
> cards and the CUDA library are installed.
>
> In the graphics/opencv Portfile, the following lines could be added,
> allowing cuda to be selected as a variant. This requires the CUDA
> developer toolkit to be installed on the build machine.
>
> variant cuda description {Enable CUDA support.} {
>     configure.args-delete       -DWITH_CUDA=OFF
>     configure.args-append       -DWITH_CUDA=ON
> }

New description:

 CUDA significantly increases OpenCV performance on MacBooks where NVIDIA
 cards and the CUDA library are installed.

 In the graphics/opencv Portfile, the following lines could be added,
 allowing cuda to be selected as a variant. This requires the CUDA
 developer toolkit to be installed on the build machine.

 {{{
 variant cuda description {Enable CUDA support.} {
     configure.args-delete       -DWITH_CUDA=OFF
     configure.args-append       -DWITH_CUDA=ON
 }
 }}}

--

Comment:

 In the future, please use WikiFormatting, fill in the Port field and Cc
 the port maintainers (port info --maintainers opencv).

-- 
Ticket URL: <https://trac.macports.org/ticket/41333#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list