nixpkgs: add COPRTHR 1.6
COPRTHR is a very excellent little SDK implementing OpenCL and related tech for regular multicore processors, as well as things like my new Parallella (along with remote/networked OpenCL compute support). Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
23d023008b
commit
b6c7f18711
31
pkgs/development/libraries/coprthr/default.nix
Normal file
31
pkgs/development/libraries/coprthr/default.nix
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{ stdenv, fetchurl, libelf, libconfig, libevent, which, unzip, perl, python
|
||||||
|
, bison, flex }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "coprthr-${version}";
|
||||||
|
version = "1.6";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/browndeer/coprthr/archive/stable-${version}.zip";
|
||||||
|
sha256 = "042aykmcxhdpck0j6k5rcp6a0b5i377fv2nz96v1bpfhzxd1mjwg";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs =
|
||||||
|
[ libelf libconfig libevent which unzip perl python bison flex ];
|
||||||
|
|
||||||
|
configureFlags =
|
||||||
|
[ "--with-libelf=${libelf}"
|
||||||
|
"--with-libevent=${libevent}"
|
||||||
|
"--with-libconfig=${libconfig}"
|
||||||
|
"--with-opencl-icd-path=$out/etc/OpenCL/vendors"
|
||||||
|
"--enable-user-install"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "The CO-PRocessing THReads SDK for OpenCL/STDCL";
|
||||||
|
homepage = "http://www.browndeertechnology.com/coprthr.htm";
|
||||||
|
license = stdenv.lib.licenses.lgpl3;
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
|
||||||
|
};
|
||||||
|
}
|
@ -578,6 +578,10 @@ let
|
|||||||
|
|
||||||
capstone = callPackage ../development/libraries/capstone { };
|
capstone = callPackage ../development/libraries/capstone { };
|
||||||
|
|
||||||
|
coprthr = callPackage ../development/libraries/coprthr {
|
||||||
|
flex = flex_2_5_35;
|
||||||
|
};
|
||||||
|
|
||||||
ditaa = callPackage ../tools/graphics/ditaa { };
|
ditaa = callPackage ../tools/graphics/ditaa { };
|
||||||
|
|
||||||
direnv = callPackage ../tools/misc/direnv { };
|
direnv = callPackage ../tools/misc/direnv { };
|
||||||
|
Loading…
Reference in New Issue
Block a user