3
0
Fork 0
forked from mirrors/nixpkgs

tbb: add version 4.0-u5

This commit is contained in:
Peter Simons 2012-07-18 12:44:34 +02:00
parent 597da08646
commit b6325a7213
2 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,41 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation {
name = "tbb-4.0-u5";
src = fetchurl {
url = "http://threadingbuildingblocks.org/uploads/77/187/4.0%20update%205/tbb40_20120613oss_src.tgz";
sha256 = "aaa98146049e55f6ac969298340eeb49df61395403fcc1480824a4ecd0d46192";
};
checkTarget = "test";
doCheck = false;
installPhase = ''
mkdir -p $out/{lib,share/doc}
cp "build/"*release*"/"*so* $out/lib/
mv include $out/
rm $out/include/index.html
mv doc/html $out/share/doc/tbb
'';
enableParallelBuilding = true;
meta = {
homepage = "http://threadingbuildingblocks.org/";
description = "Intel Thread Building Blocks C++ Library";
license = "LGPLv3+";
longDescription = ''
Intel Threading Building Blocks offers a rich and complete approach to
expressing parallelism in a C++ program. It is a library that helps you
take advantage of multi-core processor performance without having to be a
threading expert. Intel TBB is not just a threads-replacement library. It
represents a higher-level, task-based parallelism that abstracts platform
details and threading mechanisms for scalability and performance.
'';
maintainers = [ stdenv.lib.maintainers.simons ];
platforms = stdenv.lib.platforms.linux;
};
}

View file

@ -2522,6 +2522,8 @@ let
swiProlog = callPackage ../development/compilers/swi-prolog { };
tbb = callPackage ../development/libraries/tbb { };
tinycc = callPackage ../development/compilers/tinycc { };
urweb = callPackage ../development/compilers/urweb { };