diff options
author | Peter Simons <simons@cryp.to> | 2012-07-18 12:44:34 +0200 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2012-07-18 12:44:37 +0200 |
commit | b6325a72135b875de86e25b7f1e6069349d6e3aa (patch) | |
tree | 89ad76cbb7e50f706535548b9a0c307ac1775575 /pkgs/development/libraries/tbb | |
parent | 597da0864656fcc116341ed7179b255a01550bd3 (diff) | |
download | nixlib-b6325a72135b875de86e25b7f1e6069349d6e3aa.tar nixlib-b6325a72135b875de86e25b7f1e6069349d6e3aa.tar.gz nixlib-b6325a72135b875de86e25b7f1e6069349d6e3aa.tar.bz2 nixlib-b6325a72135b875de86e25b7f1e6069349d6e3aa.tar.lz nixlib-b6325a72135b875de86e25b7f1e6069349d6e3aa.tar.xz nixlib-b6325a72135b875de86e25b7f1e6069349d6e3aa.tar.zst nixlib-b6325a72135b875de86e25b7f1e6069349d6e3aa.zip |
tbb: add version 4.0-u5
Diffstat (limited to 'pkgs/development/libraries/tbb')
-rw-r--r-- | pkgs/development/libraries/tbb/default.nix | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/development/libraries/tbb/default.nix b/pkgs/development/libraries/tbb/default.nix new file mode 100644 index 000000000000..13ec42f1ba2a --- /dev/null +++ b/pkgs/development/libraries/tbb/default.nix @@ -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; + }; +} |