Summary: | dev-libs/beignet: OpenCL environment for Intel GPUs | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Cyril <cyril.baletaud> |
Component: | New packages | Assignee: | Marek Szuba <marecki> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | gentoo, kripton |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
intel-beignet-1.0.2.ebuild
beignet-1.1.2.ebuild do-not-build-tests.patch llvm-empty-system-libs.patch llvm-terminfo.patch no-debian-multiarch.patch no-hardcoded-cflags.patch |
Description
Cyril
2015-04-08 07:35:59 UTC
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. |