ocl-icd: provide a variant for each opencl-headers version

This commit is contained in:
Jan Malakhovski 2017-12-01 00:00:00 +00:00
parent 67a058eda7
commit 63a1c0c807
2 changed files with 5 additions and 2 deletions

View File

@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
'';
meta = with stdenv.lib; {
description = "OpenCL ICD Loader";
description = "OpenCL ICD Loader for ${opencl-headers.name}";
homepage = https://forge.imag.fr/projects/ocl-icd/;
license = licenses.bsd2;
platforms = platforms.linux;

View File

@ -10405,7 +10405,10 @@ with pkgs;
nvidia-video-sdk = callPackage ../development/libraries/nvidia-video-sdk { };
ocl-icd = callPackage ../development/libraries/ocl-icd { };
ocl-icd-oclhGen = oclh: callPackage ../development/libraries/ocl-icd { opencl-headers = oclh; };
ocl-icd-oclh_1_2 = ocl-icd-oclhGen opencl-headers_1_2;
ocl-icd-oclh_2_2 = ocl-icd-oclhGen opencl-headers_2_2;
ocl-icd = ocl-icd-oclh_2_2;
ode = callPackage ../development/libraries/ode { };