[Debian-med-packaging] Bug#697784: src:vxl: uses cuda if installed in build environment

Ansgar Burchardt ansgar at debian.org
Wed Jan 9 16:53:17 UTC 2013


Source: vxl
Severity: important

According to README.Debian vxl (1.17.0-1) will automatically build with
CUDA support if nvidia-cuda-dev is installed in the build environment:

----
Furthermore the package makes use of OpenCL. Since OpenCL is only available in contrib
the opencl related library are not installed. However when reduilding the package, opencl
is properly detected by cmake:

# apt-get install nvidia-cuda-dev
$ cd vxl
$ dpkg-buildpackage -rfakeroot
...
-- Found Open Cl? YES
----

Please *always* disable CUDA support for normal builds. The result one
gets should not depend on the environment the package was built in.

You can enable cuda support if, for example, a specific environment
variable is set or by an extra target in d/rules.

Ansgar



More information about the Debian-med-packaging mailing list