summaryrefslogtreecommitdiff
path: root/parallel
diff options
context:
space:
mode:
authorasau <asau>2011-08-27 19:48:13 +0000
committerasau <asau>2011-08-27 19:48:13 +0000
commita3f21a00f0d733d604909cb3d8f492021d33b43b (patch)
tree666dd7c727325ddc691261058bd10f7e8bda152f /parallel
parenta54b7c068baf24a26da50844d384579cd6267ffb (diff)
downloadpkgsrc-a3f21a00f0d733d604909cb3d8f492021d33b43b.tar.gz
Import Threading Building Blocks 3.0 Update 6 as parallel/threadingbuildingblocks.
Intel(r) 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.
Diffstat (limited to 'parallel')
-rw-r--r--parallel/threadingbuildingblocks/DESCR7
-rw-r--r--parallel/threadingbuildingblocks/Makefile39
-rw-r--r--parallel/threadingbuildingblocks/PLIST78
-rw-r--r--parallel/threadingbuildingblocks/buildlink3.mk12
-rw-r--r--parallel/threadingbuildingblocks/distinfo5
5 files changed, 141 insertions, 0 deletions
diff --git a/parallel/threadingbuildingblocks/DESCR b/parallel/threadingbuildingblocks/DESCR
new file mode 100644
index 00000000000..34700ad06b2
--- /dev/null
+++ b/parallel/threadingbuildingblocks/DESCR
@@ -0,0 +1,7 @@
+Intel(r) 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.
diff --git a/parallel/threadingbuildingblocks/Makefile b/parallel/threadingbuildingblocks/Makefile
new file mode 100644
index 00000000000..05accd70143
--- /dev/null
+++ b/parallel/threadingbuildingblocks/Makefile
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/08/27 19:48:13 asau Exp $
+
+DISTNAME= tbb30_20110325oss_src
+PKGNAME= threadingbuildingblocks-3.0.6 # for "3.0 update 6"
+CATEGORIES= parallel
+MASTER_SITES= http://threadingbuildingblocks.org/uploads/76/168/3.0%20update%206/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= asau@inbox.ru
+HOMEPAGE= http://www.threadingbuildingblocks.org/
+COMMENT= Threading Buildling Blocks
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+WRKSRC= $(WRKDIR)/$(DISTNAME:_src=) #tbb30_20101215oss
+
+USE_LANGUAGES= c c++
+USE_TOOLS= gmake
+MAKE_FLAGS= tbb_build_prefix=build # use fixed path
+BUILD_TARGET= default
+TEST_TARGET= test
+
+post-extract:
+ cd $(WRKSRC)/build/ && cp FreeBSD.gcc.inc NetBSD.gcc.inc && cp FreeBSD.inc NetBSD.inc
+
+INSTALLATION_DIRS= include lib share/doc/$(PKGBASE)
+
+do-install:
+ $(INSTALL_LIB) $(WRKSRC)/build/build_release/libtbb.so $(DESTDIR)$(PREFIX)/lib/
+ $(INSTALL_LIB) $(WRKSRC)/build/build_release/libtbbmalloc.so $(DESTDIR)$(PREFIX)/lib/
+ $(INSTALL_LIB) $(WRKSRC)/build/build_debug/libtbb_debug.so $(DESTDIR)$(PREFIX)/lib/
+ $(INSTALL_LIB) $(WRKSRC)/build/build_debug/libtbbmalloc_debug.so $(DESTDIR)$(PREFIX)/lib/
+ (cd $(WRKSRC)/include && pax -rw tbb $(DESTDIR)$(PREFIX)/include/)
+# documentation:
+# (cd $(WRKSRC)/doc/html && pax -rw . $(DESTDIR)$(PREFIX)/share/doc/html/$(PKGBASE)/)
+# $(INSTALL_DATA) $(WRKSRC)/doc/Release_Notes.txt $(DESTDIR)$(PREFIX)/share/doc/$(PKGBASE)/
+
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/parallel/threadingbuildingblocks/PLIST b/parallel/threadingbuildingblocks/PLIST
new file mode 100644
index 00000000000..37477b1baff
--- /dev/null
+++ b/parallel/threadingbuildingblocks/PLIST
@@ -0,0 +1,78 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/08/27 19:48:13 asau Exp $
+include/tbb/_aggregator_internal.h
+include/tbb/_concurrent_queue_internal.h
+include/tbb/_concurrent_unordered_internal.h
+include/tbb/_item_buffer.h
+include/tbb/_tbb_windef.h
+include/tbb/aligned_space.h
+include/tbb/atomic.h
+include/tbb/blocked_range.h
+include/tbb/blocked_range2d.h
+include/tbb/blocked_range3d.h
+include/tbb/cache_aligned_allocator.h
+include/tbb/combinable.h
+include/tbb/compat/condition_variable
+include/tbb/compat/ppl.h
+include/tbb/compat/thread
+include/tbb/compat/tuple
+include/tbb/concurrent_hash_map.h
+include/tbb/concurrent_priority_queue.h
+include/tbb/concurrent_queue.h
+include/tbb/concurrent_unordered_map.h
+include/tbb/concurrent_vector.h
+include/tbb/critical_section.h
+include/tbb/enumerable_thread_specific.h
+include/tbb/graph.h
+include/tbb/index.html
+include/tbb/machine/gcc_generic.h
+include/tbb/machine/ibm_aix51.h
+include/tbb/machine/linux_common.h
+include/tbb/machine/linux_ia32.h
+include/tbb/machine/linux_ia64.h
+include/tbb/machine/linux_intel64.h
+include/tbb/machine/mac_ppc.h
+include/tbb/machine/macos_common.h
+include/tbb/machine/sunos_sparc.h
+include/tbb/machine/windows_api.h
+include/tbb/machine/windows_ia32.h
+include/tbb/machine/windows_intel64.h
+include/tbb/machine/xbox360_ppc.h
+include/tbb/mutex.h
+include/tbb/null_mutex.h
+include/tbb/null_rw_mutex.h
+include/tbb/parallel_do.h
+include/tbb/parallel_for.h
+include/tbb/parallel_for_each.h
+include/tbb/parallel_invoke.h
+include/tbb/parallel_reduce.h
+include/tbb/parallel_scan.h
+include/tbb/parallel_sort.h
+include/tbb/parallel_while.h
+include/tbb/partitioner.h
+include/tbb/pipeline.h
+include/tbb/queuing_mutex.h
+include/tbb/queuing_rw_mutex.h
+include/tbb/reader_writer_lock.h
+include/tbb/recursive_mutex.h
+include/tbb/runtime_loader.h
+include/tbb/scalable_allocator.h
+include/tbb/spin_mutex.h
+include/tbb/spin_rw_mutex.h
+include/tbb/task.h
+include/tbb/task_group.h
+include/tbb/task_scheduler_init.h
+include/tbb/task_scheduler_observer.h
+include/tbb/tbb.h
+include/tbb/tbb_allocator.h
+include/tbb/tbb_config.h
+include/tbb/tbb_exception.h
+include/tbb/tbb_machine.h
+include/tbb/tbb_profiling.h
+include/tbb/tbb_stddef.h
+include/tbb/tbb_thread.h
+include/tbb/tbbmalloc_proxy.h
+include/tbb/tick_count.h
+lib/libtbb.so
+lib/libtbb_debug.so
+lib/libtbbmalloc.so
+lib/libtbbmalloc_debug.so
diff --git a/parallel/threadingbuildingblocks/buildlink3.mk b/parallel/threadingbuildingblocks/buildlink3.mk
new file mode 100644
index 00000000000..96ce2f21455
--- /dev/null
+++ b/parallel/threadingbuildingblocks/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2011/08/27 19:48:13 asau Exp $
+
+BUILDLINK_TREE+= threadingbuildingblocks
+
+.if !defined(THREADINGBUILDINGBLOCKS_BUILDLINK3_MK)
+THREADINGBUILDINGBLOCKS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.threadingbuildingblocks+= threadingbuildingblocks>=3.0.6
+BUILDLINK_PKGSRCDIR.threadingbuildingblocks?= ../../parallel/threadingbuildingblocks
+.endif # THREADINGBUILDINGBLOCKS_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -threadingbuildingblocks
diff --git a/parallel/threadingbuildingblocks/distinfo b/parallel/threadingbuildingblocks/distinfo
new file mode 100644
index 00000000000..e8b7b78cce3
--- /dev/null
+++ b/parallel/threadingbuildingblocks/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/08/27 19:48:13 asau Exp $
+
+SHA1 (tbb30_20110325oss_src.tgz) = b58650cdaa8e8497de2a797af1d03dcfc1c63351
+RMD160 (tbb30_20110325oss_src.tgz) = c95aa788d518d806b516b9e9e179d93bce19aa9c
+Size (tbb30_20110325oss_src.tgz) = 1880565 bytes