summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2019-05-01 17:45:19 +0100
committerMarek Szuba <marecki@gentoo.org>2019-05-01 17:51:43 +0100
commit5a43f127415abee4ab3a03d2cd39626b28e7ed2e (patch)
tree740a46f26c397ffe164064f249dee66915fbe0ff /dev-libs/intel-neo/files
parentmedia-libs/gmmlib: bump to 19.1.2 and enable multilib support (diff)
downloadgentoo-5a43f127415abee4ab3a03d2cd39626b28e7ed2e.tar.gz
gentoo-5a43f127415abee4ab3a03d2cd39626b28e7ed2e.tar.bz2
gentoo-5a43f127415abee4ab3a03d2cd39626b28e7ed2e.zip
dev-libs/intel-neo: new package
New OpenCL driver for Broadwell and newer. For older systems stick with dev-libs/beignet. Tested on Kaby Lake and Kaby Lake R, in both cases LuxMark manages to render all three scenes without errors or crashes. No multilib support yet because running a 32-bit build on amd64 causes type conflicts, will look at it later. Signed-off-by: Marek Szuba <marecki@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
Diffstat (limited to 'dev-libs/intel-neo/files')
-rw-r--r--dev-libs/intel-neo/files/intel-neo-19.16.12873_cmake_no_libva_automagic.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-libs/intel-neo/files/intel-neo-19.16.12873_cmake_no_libva_automagic.patch b/dev-libs/intel-neo/files/intel-neo-19.16.12873_cmake_no_libva_automagic.patch
new file mode 100644
index 000000000000..fbfdfd32dffe
--- /dev/null
+++ b/dev-libs/intel-neo/files/intel-neo-19.16.12873_cmake_no_libva_automagic.patch
@@ -0,0 +1,14 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -374,9 +374,9 @@
+ endif()
+
+ # LibVA detection
+-if(UNIX)
++if(UNIX AND ENABLE_VAAPI_MEDIA_SHARING)
+ set(IGDRCL__LIBVA_IS_REQUIRED "")
+- if(IGDRCL_FORCE_USE_LIBVA)
++ if(IGDRCL_FORCE_USE_LIBVA OR ENABLE_VAAPI_MEDIA_SHARING)
+ set(IGDRCL__LIBVA_IS_REQUIRED "REQUIRED")
+ endif()
+