khronos-ocl-icd-loader: 6c03f8b -> 2020.03.13

This commit is contained in:
Lancelot SIX 2020-03-26 19:40:16 +01:00
parent 8bbea171d9
commit e13278f1ba
No known key found for this signature in database
GPG Key ID: 02E1542BA66FB047
2 changed files with 9 additions and 9 deletions

View File

@ -1,24 +1,24 @@
{ stdenv, fetchFromGitHub, opencl-clhpp, cmake, withTracing ? false }:
{ stdenv, fetchFromGitHub, opencl-headers, cmake, withTracing ? false }:
stdenv.mkDerivation rec {
name = "khronos-ocl-icd-loader-${version}";
version = "6c03f8b";
version = "2020.03.13";
src = fetchFromGitHub {
owner = "KhronosGroup";
repo = "OpenCL-ICD-Loader";
rev = "6c03f8b58fafd9dd693eaac826749a5cfad515f8";
sha256 = "00icrlc00dpc87prbd2j1350igi9pbgkz27hc3rf73s5994yn86a";
rev = "v${version}";
sha256 = "0zk6fyfrklx8a848613rfcx0y4yn0dsxkxzzl9pgdh9i6qdfjj9k";
};
patches = stdenv.lib.lists.optional withTracing ./tracing.patch;
nativeBuildInputs = [ cmake ];
buildInputs = [ opencl-clhpp ];
buildInputs = [ opencl-headers ];
meta = with stdenv.lib; {
description = "Offical Khronos OpenCL ICD Loader";
homepage = https://github.com/KhronosGroup/OpenCL-ICD-Loader;
homepage = "https://github.com/KhronosGroup/OpenCL-ICD-Loader";
license = licenses.asl20;
platforms = platforms.linux;
maintainers = with maintainers; [ davidtwco ];

View File

@ -1,10 +1,10 @@
diff --git a/loader/icd.h b/loader/icd.h
index a1b6969..cf4e272 100644
index 34751e9..01a33fd 100644
--- a/loader/icd.h
+++ b/loader/icd.h
@@ -122,7 +122,7 @@ void khrIcdContextPropertiesGetPlatform(
@@ -123,7 +123,7 @@ void khrIcdContextPropertiesGetPlatform(
cl_platform_id *outPlatform);
// internal tracing macros
-#if 0
+#if 1