Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:lunar-linux/moonbase-other
- Loading branch information
Showing
2 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |