mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
khronos-ocl-icd-loader: 6c03f8b -> 2020.03.13
This commit is contained in:
parent
8bbea171d9
commit
e13278f1ba
@ -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 ];
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user