opencl-clhpp: init at 2.0.10

This commit is contained in:
Nikolay Amiantov 2017-01-20 03:23:04 +03:00
parent 221685aee9
commit 5c65546725
3 changed files with 31 additions and 1 deletions

View File

@ -0,0 +1,28 @@
{ stdenv, fetchFromGitHub, cmake, python, opencl-headers }:
stdenv.mkDerivation rec {
name = "opencl-clhpp-${version}";
version = "2.0.10";
src = fetchFromGitHub {
owner = "KhronosGroup";
repo = "OpenCL-CLHPP";
rev = "v${version}";
sha256 = "0h5kpg5cl8wzfnqmv6i26aig2apv06ffm9p3rh35938n9r8rladm";
};
nativeBuildInputs = [ cmake python ];
propagatedBuildInputs = [ opencl-headers ];
preConfigure = ''
cmakeFlags="-DCMAKE_INSTALL_PREFIX=$out/include -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF"
'';
meta = with stdenv.lib; {
description = "OpenCL Host API C++ bindings";
homepage = "http://github.khronos.org/OpenCL-CLHPP/";
license = licenses.mit;
platforms = platforms.unix;
};
}

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cmake }:
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "opencl-headers-2.1.0";

View File

@ -8896,6 +8896,8 @@ in
opencl-headers = callPackage ../development/libraries/opencl-headers { };
opencl-clhpp = callPackage ../development/libraries/opencl-clhpp { };
opencollada = callPackage ../development/libraries/opencollada { };
opencsg = callPackage ../development/libraries/opencsg { };