Skip to content

Commit

Permalink
Merge branch 'master' of github.com:lunar-linux/moonbase-other
Browse files Browse the repository at this point in the history
  • Loading branch information
florin65 committed Jul 12, 2012
2 parents f42f332 + e23dd32 commit c1d7aae
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
25 changes: 25 additions & 0 deletions 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
21 changes: 21 additions & 0 deletions 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

0 comments on commit c1d7aae

Please sign in to comment.