2016-03-07 23:50:06 +00:00
|
|
|
{ stdenv, fetchurl, ruby, opencl-headers }: let
|
|
|
|
|
|
|
|
version = "2.2.9";
|
|
|
|
|
|
|
|
in stdenv.mkDerivation {
|
|
|
|
|
|
|
|
name = "opencl-icd-${version}";
|
|
|
|
buildInputs = [ ruby opencl-headers ];
|
|
|
|
configureFlags = [ "--enable-official-khronos-headers" ];
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://forge.imag.fr/frs/download.php/716/ocl-icd-${version}.tar.gz";
|
|
|
|
sha256 = "1rgaixwnxmrq2aq4kcdvs0yx7i6krakarya9vqs7qwsv5hzc32hc";
|
|
|
|
};
|
|
|
|
|
2016-08-02 17:06:29 +01:00
|
|
|
meta = {
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
2016-03-07 23:50:06 +00:00
|
|
|
}
|