blob: a57b103b0d91eb13248c6f0ea49342dfd5c6daef (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
{ stdenv, fetchFromGitHub, opencl-clhpp, cmake, withTracing ? false }:
stdenv.mkDerivation rec {
name = "khronos-ocl-icd-loader-${version}";
version = "6c03f8b";
src = fetchFromGitHub {
owner = "KhronosGroup";
repo = "OpenCL-ICD-Loader";
rev = "6c03f8b58fafd9dd693eaac826749a5cfad515f8";
sha256 = "00icrlc00dpc87prbd2j1350igi9pbgkz27hc3rf73s5994yn86a";
};
patches = stdenv.lib.lists.optional withTracing ./tracing.patch;
nativeBuildInputs = [ cmake ];
buildInputs = [ opencl-clhpp ];
meta = with stdenv.lib; {
description = "Offical Khronos OpenCL ICD Loader";
homepage = https://github.com/KhronosGroup/OpenCL-ICD-Loader;
license = licenses.asl20;
platforms = platforms.linux;
maintainers = with maintainers; [ davidtwco ];
};
}
|