dev-libs/beignet: do not try enabling OpenCL 2.0 support on unsupported ABIs
authorMarek Szuba <marecki@gentoo.org>
Fri, 30 Jun 2017 12:51:24 +0000 (14:50 +0159)
committerMarek Szuba <marecki@gentoo.org>
Fri, 30 Jun 2017 12:57:19 +0000 (14:56 +0159)
commit0eafd4cd77602ccc5a1b0a487be6a2b47c402706
tree1169d511979f25468eb02835156d82da6b26a1d5
parent1632a48d8a36534752a0aa1f54d3a04638b1a514
dev-libs/beignet: do not try enabling OpenCL 2.0 support on unsupported ABIs

Beignet CMake scripts handle this the right way so let's work with them instead
of against them. Now if USE=ocl20 it will get enabled for abi_x86_64 and
gracefully fall back to 1.2 for the others, whereas USE=-ocl20 still explicitly
disables it for all ABIs.

With many thanks to aballier.

Gentoo-Bug: 622964

Package-Manager: Portage-2.3.6, Repoman-2.3.1
dev-libs/beignet/beignet-1.3.1-r1.ebuild [new file with mode: 0644]
dev-libs/beignet/beignet-9999.ebuild