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:
Austin Seipp 2014-05-07 04:12:25 -05:00
parent 23d023008b
commit b6c7f18711
2 changed files with 35 additions and 0 deletions

View 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 ];
};
}

View File

@ -578,6 +578,10 @@ let
capstone = callPackage ../development/libraries/capstone { };
coprthr = callPackage ../development/libraries/coprthr {
flex = flex_2_5_35;
};
ditaa = callPackage ../tools/graphics/ditaa { };
direnv = callPackage ../tools/misc/direnv { };