[MacPorts] #60212: caf @0.17.4: error: use of undeclared identifier 'CL_DEVICE_TYPE_CUSTOM'
MacPorts
noreply at macports.org
Sat Mar 21 04:31:46 UTC 2020
#60212: caf @0.17.4: error: use of undeclared identifier 'CL_DEVICE_TYPE_CUSTOM'
-------------------------+-------------------------
Reporter: ryandesign | Owner: Schamschula
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Resolution: | Keywords:
Port: caf |
-------------------------+-------------------------
Comment (by ryandesign):
Looking at /System/Library/Frameworks/OpenCL.framework/Headers/cl.h on a
10.8 system I see:
{{{
/* OpenCL Version */
#define CL_VERSION_1_0 1
#define CL_VERSION_1_1 1
#define CL_VERSION_1_2 1
}}}
On 10.7 I see only:
{{{
/* OpenCL Version */
#define CL_VERSION_1_0 1
#define CL_VERSION_1_1 1
}}}
So I think 10.7 does not have support for OpenCL 1.2, and if this port
needs OpenCL 1.2, then preventing installation on 10.7 and earlier would
be a good start.
--
Ticket URL: <https://trac.macports.org/ticket/60212#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list