[Lunar-commits] <moonbase> tbb: Some adjustments to the BUILD.
Dennis `stumbles` Veatch
stumbles at lunar-linux.org
Tue Dec 13 14:19:37 CET 2011
commit b062ad23c94ed974a0ed751df1496572016b14cb
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date: Tue Dec 13 08:19:37 2011 -0500
tbb: Some adjustments to the BUILD.
---
zbeta/tbb/BUILD | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/zbeta/tbb/BUILD b/zbeta/tbb/BUILD
index 6d88667..3cfcce2 100644
--- a/zbeta/tbb/BUILD
+++ b/zbeta/tbb/BUILD
@@ -4,11 +4,15 @@
export PATH=$MODULE_PREFIX::$PATH &&
export LD_LIBRARY_PATH=$TBBROOT/lib &&
-# cd src &&
-# make release &&
- default_make
-# prepare_install &&
-# make install
+ GCC_VER=`lvu version gcc` &&
+ GLIBC_VER=`lvu version glibc` &&
+
+ make &&
+ prepare_install &&
+ mkdir -p /usr/include/tbb &&
+ install `find include/tbb/ -name "*.h" -print` /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 &&
More information about the Lunar-commits
mailing list