2012-07-18 10:44:34 +00:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2015-11-30 23:11:16 +00:00
|
|
|
name = "tbb-4.4-u2";
|
2012-07-18 10:44:34 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-11-30 23:11:16 +00:00
|
|
|
url = "https://www.threadingbuildingblocks.org/sites/default/files/software_releases/source/tbb44_20151115oss_src.tgz";
|
|
|
|
sha256 = "1fvprkjdxj7529hr1qkzkxkk18mx6zllrpiwglq4k3y1hpyc9m9x";
|
2012-07-18 10:44:34 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 = {
|
|
|
|
description = "Intel Thread Building Blocks C++ Library";
|
2014-06-10 11:08:19 +00:00
|
|
|
homepage = "http://threadingbuildingblocks.org/";
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.lgpl3Plus;
|
2012-07-18 10:44:34 +00:00
|
|
|
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.
|
|
|
|
'';
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2014-06-10 11:08:19 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ simons thoughtpolice ];
|
2012-07-18 10:44:34 +00:00
|
|
|
};
|
|
|
|
}
|