At least version 4.4.0.117 works fine with a loader, and in any case
using an OpenCL implementation which exclusively targets CPUs is of
limited use.

Pending maintainer approval, and letting the stable ebuild be.

Signed-off-by: Marek Szuba <mare...@gentoo.org>
---
 dev-util/intel-ocl-sdk/intel-ocl-sdk-4.4.0.117-r1.ebuild | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/dev-util/intel-ocl-sdk/intel-ocl-sdk-4.4.0.117-r1.ebuild 
b/dev-util/intel-ocl-sdk/intel-ocl-sdk-4.4.0.117-r1.ebuild
index df63eebf81f..afdbe2891d5 100644
--- a/dev-util/intel-ocl-sdk/intel-ocl-sdk-4.4.0.117-r1.ebuild
+++ b/dev-util/intel-ocl-sdk/intel-ocl-sdk-4.4.0.117-r1.ebuild
@@ -15,7 +15,7 @@ IUSE="android +system-tbb system-clang +system-boost"
 KEYWORDS="-* ~amd64"
 RESTRICT="bindist mirror"
 
-RDEPEND="app-eselect/eselect-opencl
+RDEPEND=">=virtual/opencl-3
        sys-process/numactl
        system-tbb? ( >=dev-cpp/tbb-4.2.20131118 )
        system-clang? ( =sys-devel/clang-3.4* )
@@ -76,7 +76,3 @@ src_install() {
        dosym "/opt/intel/opencl-1.2-${PV}/lib64/libOpenCL.so.1"   
"${INTEL_VENDOR_DIR}/libOpenCL.so.1"
        dosym "/opt/intel/opencl-1.2-${PV}/lib64/libOpenCL.so.1.2" 
"${INTEL_VENDOR_DIR}/libOpenCL.so.1.2"
 }
-
-pkg_postinst() {
-       eselect opencl set --use-old intel
-}
-- 
2.24.1


Reply via email to