diff options
author | Marek Szuba <marecki@gentoo.org> | 2016-11-28 14:55:34 +0100 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2016-11-28 14:57:46 +0100 |
commit | 3677ef1db84606d689bea66d9212ed2cd3346d62 (patch) | |
tree | ea1c7300be772f121f11b44601f7ce77d377ec6e /dev-libs/beignet/metadata.xml | |
parent | kde-base/libkworkspace -> kde-plasma/libkworkspace (diff) | |
download | gentoo-3677ef1db84606d689bea66d9212ed2cd3346d62.tar.gz gentoo-3677ef1db84606d689bea66d9212ed2cd3346d62.tar.bz2 gentoo-3677ef1db84606d689bea66d9212ed2cd3346d62.zip |
dev-libs/beignet: fix detection of OCL ICD and installation of ICD files
In the past, Beignet CMake scripts would automatically enable its compatibility
with the OCL ICD Loader depending on whether dev-libs/ocl-icd was found in the
system or not. Patch the scripts so that ocl-icd is only searched for if an
appropriate option is set, and define a local use flag which controls the value
of this option (and of course the dependency on dev-libs/ocl-icd). Nb. the
patch has been submitted upstream.
Moreover, given we always install Beignet ICD files (they are needed by
eselect-opencl) do not install another copy when OCL ICD Loader has been
enabled.
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=599512
Package-Manager: portage-2.3.2
Diffstat (limited to 'dev-libs/beignet/metadata.xml')
-rw-r--r-- | dev-libs/beignet/metadata.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-libs/beignet/metadata.xml b/dev-libs/beignet/metadata.xml index 3e5026ee3754..27418e8288f7 100644 --- a/dev-libs/beignet/metadata.xml +++ b/dev-libs/beignet/metadata.xml @@ -5,4 +5,8 @@ <email>marecki@gentoo.org</email> <name>Marek Szuba</name> </maintainer> + <use> + <flag name="ocl-icd">Enable compatibility with the + <pkg>dev-libs/ocl-icd</pkg> OpenCL ICD loader</flag> + </use> </pkgmetadata> |