summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* dev-util/opencl-headers: install directly into /usr/includeMarek Szuba2020-04-081-9/+6
| | | | | | | | | | | | | | These cannot be in /usr/lib/OpenCL/vendor/... because eselect-opencl doesn't know how to handle unified headers, resulting in build failures due to missing header files. Seeing as we are planning to deprecate eselect-opencl soon anyway, adapt this and opencl-icd-loader to the new approach so that they can be used for transition testing without breaking the more established ICD loader i.e. ocl-icd. Note that this WILL cause massive dependency issues until opencl-icd-loader has been added to virtual/opencl. Use with caution. Signed-off-by: Marek Szuba <marecki@gentoo.org>
* dev-util/opencl-headers: new packageMarek Szuba2020-04-023-0/+54
The first release of unified Khronos OpenCL headers, which unlike old headers (which is what app-eselect/eselect-opencl installs) work with all released OpenCL versions rather than having different versions supported by files from different directories. Note that in order to avoid file collisions with eselect-opencl this package presently installs header files into /usr/$(get_libdir)/OpenCL/vendors/opencl-icd-loader/include , which is why it needs multilib support and why it will likely not work right when installed standalone (in contrast to being pulled in by dev-libs/opencl-icd-loader). Signed-off-by: Marek Szuba <marecki@gentoo.org>