diff --git a/libs/tbb/BUILD b/libs/tbb/BUILD new file mode 100644 index 00000000000..90552eadad9 --- /dev/null +++ b/libs/tbb/BUILD @@ -0,0 +1,25 @@ +( + + export TBBROOTDIR=$SOURCE_DIRECTORY && + export PATH=$MODULE_PREFIX::$PATH && + export LD_LIBRARY_PATH=$TBBROOT/lib && + + make && + prepare_install && + mkdir -p /usr/include/tbb/{machine,internal,compat} && + mkdir -p /usr/include/serial/tbb && + install `find include/tbb/machine -name "*.h" -print` /usr/include/tbb/machine && + install `find include/tbb/internal -name "*.h" -print` /usr/include/tbb/internal && + install `find include/tbb/compat -name "*.h" -print` /usr/include/tbb/compat && + install `find include/serial/tbb -name "*.h" -print` /usr/include/serial/tbb && + install include/tbb/*.h /usr/include/tbb && + + cd build/linux_intel*release && + install `find . -name "*.so*" -print` /usr/lib/ && + + echo export TBBROOT=\"/usr\" > $SOURCE_DIRECTORY/tbb.rc && + echo export PATH=\"'${PATH}':'${TBBROOT}'/bin\" >> $SOURCE_DIRECTORY/tbb.rc && + + install -m644 $SOURCE_DIRECTORY/tbb.rc /etc/profile.d/ + +) > $C_FIFO 2>&1 diff --git a/libs/tbb/DETAILS b/libs/tbb/DETAILS new file mode 100644 index 00000000000..1fb32d7bbb7 --- /dev/null +++ b/libs/tbb/DETAILS @@ -0,0 +1,21 @@ + MODULE=tbb + VERSION=40_20120613oss_src + SOURCE=$MODULE$VERSION.tgz + SOURCE_URL=http://threadingbuildingblocks.org/uploads/77/187/4.0%20update%205/ +SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE${VERSION%_*} + SOURCE_VFY=sha1:48569b88450a78e8f1e7251500fdd951bb197f1b + MODULE_PREFIX=${TBB_PREFIX:-/usr} + WEB_SITE=http://threadingbuildingblocks.org/ + ENTERED=20111213 + UPDATED=20120712 + SHORT="Threading Building Blocks" +PSAFE=no +cat << EOF +Intel® Threading Building Blocks (Intel TBB) 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. +EOF