OpenCL detection

Issue #952 closed
Frank Löffler created an issue

OpenCL (the externallibraries thorn) so far only contains some pretty hard-coded logic for Mac installations and also now breaks (aborts) if OpenCL is compiled, but OPENCL_DIR was not set. Before, this was not necessary if opencl was installed in a standard location like /usr.

The attached new file (OpenCL.sh - a patch doesn't make sense because it's almost a new file) implements a mechanism similar to other external libraries, but keeps the hard-coded Mac paths since they don't seem to follow any standard convention and I don't have any way to test that.

Keyword:

Comments (4)

  1. Log in to comment