Sat Aug 27 19:48:14 2011 UTC ()
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.

Status:

Vendor Tag:	TNF
Release Tags:	pkgsrc-base


(asau)
diff -r0 -r1.1.1.1 pkgsrc/parallel/threadingbuildingblocks/PLIST
diff -r0 -r1.1.1.1 pkgsrc/parallel/threadingbuildingblocks/Makefile
diff -r0 -r1.1.1.1 pkgsrc/parallel/threadingbuildingblocks/DESCR
diff -r0 -r1.1.1.1 pkgsrc/parallel/threadingbuildingblocks/distinfo
diff -r0 -r1.1.1.1 pkgsrc/parallel/threadingbuildingblocks/buildlink3.mk

File Added: pkgsrc/parallel/threadingbuildingblocks/PLIST
@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

File Added: pkgsrc/parallel/threadingbuildingblocks/Makefile
# $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"

File Added: pkgsrc/parallel/threadingbuildingblocks/DESCR
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.

File Added: pkgsrc/parallel/threadingbuildingblocks/distinfo
$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

File Added: pkgsrc/parallel/threadingbuildingblocks/buildlink3.mk
# $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