clinfo: make it build again
This commit is contained in:
parent
dfd0182493
commit
8436064b26
@ -4,16 +4,19 @@ stdenv.mkDerivation rec {
|
|||||||
pname = "clinfo";
|
pname = "clinfo";
|
||||||
version = "3.0.20.11.20";
|
version = "3.0.20.11.20";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Oblomov";
|
owner = "Oblomov";
|
||||||
repo = "clinfo";
|
repo = "clinfo";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "052xfkbmgfpalmhfwn0dj5114x2mzwz29y37qqhhsdpaxsz0y422";
|
sha256 = "052xfkbmgfpalmhfwn0dj5114x2mzwz29y37qqhhsdpaxsz0y422";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ocl-icd opencl-headers ];
|
buildInputs = [ ocl-icd opencl-headers ];
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = [ "-Wno-error=stringop-truncation" ];
|
NIX_CFLAGS_COMPILE = [
|
||||||
|
"-Wno-error=stringop-overflow"
|
||||||
|
"-Wno-error=stringop-truncation"
|
||||||
|
];
|
||||||
|
|
||||||
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
||||||
|
|
||||||
@ -21,7 +24,7 @@ stdenv.mkDerivation rec {
|
|||||||
description = "Print all known information about all available OpenCL platforms and devices in the system";
|
description = "Print all known information about all available OpenCL platforms and devices in the system";
|
||||||
homepage = "https://github.com/Oblomov/clinfo";
|
homepage = "https://github.com/Oblomov/clinfo";
|
||||||
license = licenses.cc0;
|
license = licenses.cc0;
|
||||||
platforms = platforms.linux;
|
|
||||||
maintainers = with maintainers; [ athas ];
|
maintainers = with maintainers; [ athas ];
|
||||||
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user