[Lunar-commits] <moonbase> tbb: Some more twiddling with the BUILD to get headers installed in the right location.

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Tue Dec 13 18:35:07 CET 2011


commit 890de5613ce58e975746fe177c26b798fdb66c04
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Tue Dec 13 12:35:07 2011 -0500

    tbb: Some more twiddling with the BUILD to get headers installed in the right location.
---
 zbeta/tbb/BUILD |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/zbeta/tbb/BUILD b/zbeta/tbb/BUILD
index e996d31..68a3eb8 100644
--- a/zbeta/tbb/BUILD
+++ b/zbeta/tbb/BUILD
@@ -11,6 +11,13 @@
   cd build/linux_intel*release &&
   install `find . -name "*.so*" -print` /usr/lib/ &&
 
+  mkdir -p /usr/include/tbb/machine  &&
+  mkdir -p /usr/include/tbb/internal &&
+  ln -sf /usr/include/tbb/linux_intel64.h /usr/include/tbb/machine/linux_intel64.h &&
+  ln -sf /usr/include/tbb/linux_common.h /usr/include/tbb/machine/linux_common.h   &&
+  ln -sf /usr/include/tbb/_concurrent_unordered_impl.h /usr/include/tbb/internal/_concurrent_unordered_impl.h &&
+  ln -sf /usr/include/tbb/_concurrent_queue_impl.h /usr/include/tbb/internal/_concurrent_queue_impl.h &&
+
   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