Intel beignet is OpenCL implementation for intel GPU. https://01.org/beignet/ Last version is 1.0.2 : https://01.org/beignet/downloads/beignet-1.0.2-2015-03-16 this ebuild works for me but only with amd64 arch. Reproducible: Always
Created attachment 400806 [details] intel-beignet-1.0.2.ebuild
Please don't CC arch testing teams in non testing-related bugs.
*Ping* this ebuild would add a lot of value for all people with Intel GPUs (which are very common these days).
While I am not entirely sure about how much value it would really add given relatively low performance of Intel GPUs, it would definitely be good to at least have it available. There are ebuilds for more recent versions of Beignet floating around and in principle they work, I'll see if I can make something suitable for inclusion into Portage out of one of these.
Created attachment 444696 [details] beignet-1.1.2.ebuild Attaching an ebuild for the latest available version of Beignet. If everything goes well, I'll commit it to Portage soon.
Created attachment 444698 [details, diff] do-not-build-tests.patch Ideally we would like tests to be run, for now however all they do is considerably increase compilation time.
Created attachment 444700 [details, diff] llvm-empty-system-libs.patch Without the quotation marks added by this patch, the configure phase fails if llvm-config --system-libs returns an empty string (which I've just seen trying to emerge this ebuild in a chroot environment).
Created attachment 444702 [details, diff] llvm-terminfo.patch The upstream LLVM version check is too strict, resulting in unresolved terminfo symbols at link time.
Created attachment 444704 [details, diff] no-debian-multiarch.patch By default upstream installs 32-bit libraries into /usr/lib/beignet/lib32/. With this patch and appropriate setting of CMAKE_INSTALL_PREFIX in the ebuild, they end up in /usr/lib32/.../beignet/lib/ - i.e. where they should go in accordance with Gentoo policies - instead.
Created attachment 444706 [details, diff] no-hardcoded-cflags.patch This patch simultaneously bypasses hardcoded CFLAGS/CXXFLAGS and enables support for Portage-provided ones.
commit cd119cad371b2ddd61a50479eacf83e9f7f6efce Author: Marek Szuba Date: Thu Sep 1 09:14:49 2016 +0000 dev-libs/beignet: new package.