#952: OpenCL detection -----------------------------------+---------------------------------------- Reporter: knarf | Owner: Type: defect | Status: new Priority: minor | Milestone: ET_2012_11 Component: EinsteinToolkit thorn | Version: development version Keywords: | -----------------------------------+---------------------------------------- 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.