pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

tbb: Library that provides thread building blocks



Module Name:	pkgsrc-wip
Committed By:	Jason Bacon <bacon%NetBSD.org@localhost>
Pushed By:	outpaddling
Date:		Thu Sep 13 14:02:58 2018 -0500
Changeset:	fdc47a55338f653af95edb68c177b47ba0af1cd1

Modified Files:
	Makefile
Added Files:
	tbb/DESCR
	tbb/Makefile
	tbb/PLIST
	tbb/buildlink3.mk
	tbb/distinfo
	tbb/files/tbb.pc.in
	tbb/files/version_info_FreeBSD.sh
	tbb/patches/patch-FreeBSD.gcc.inc
	tbb/patches/patch-build-FreeBSD.inc
	tbb/patches/patch-include-tbb-tbb_config.h

Log Message:
tbb: Library that provides thread building blocks

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=fdc47a55338f653af95edb68c177b47ba0af1cd1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                                   |   1 +
 tbb/DESCR                                  |   7 +
 tbb/Makefile                               |  78 ++++
 tbb/PLIST                                  | 651 +++++++++++++++++++++++++++++
 tbb/buildlink3.mk                          |  12 +
 tbb/distinfo                               |   9 +
 tbb/files/tbb.pc.in                        |  10 +
 tbb/files/version_info_FreeBSD.sh          |  15 +
 tbb/patches/patch-FreeBSD.gcc.inc          |  14 +
 tbb/patches/patch-build-FreeBSD.inc        |  41 ++
 tbb/patches/patch-include-tbb-tbb_config.h |  16 +
 11 files changed, 854 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 7aef339c4a..3ded76bf98 100644
--- a/Makefile
+++ b/Makefile
@@ -4331,6 +4331,7 @@ SUBDIR+=	tamago-anthy
 SUBDIR+=	tardy
 SUBDIR+=	taskcoach
 SUBDIR+=	tasks
+SUBDIR+=	tbb
 SUBDIR+=	tc
 SUBDIR+=	tc-git
 SUBDIR+=	tc-hasida-table
diff --git a/tbb/DESCR b/tbb/DESCR
new file mode 100644
index 0000000000..00c2a9bbf0
--- /dev/null
+++ b/tbb/DESCR
@@ -0,0 +1,7 @@
+Intel Threading Building Blocks (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. Threading Building Blocks
+is not just a threads-replacement library. It represents a higher-level,
+task-based parallelism that abstracts platform details and threading
+mechanism for performance and scalability.
diff --git a/tbb/Makefile b/tbb/Makefile
new file mode 100644
index 0000000000..4161a8f270
--- /dev/null
+++ b/tbb/Makefile
@@ -0,0 +1,78 @@
+# $NetBSD$
+#
+###########################################################
+#                  Generated by fbsd2pkg                  #
+#              Thu Sep 13 13:15:15 CDT 2018               #
+###########################################################
+
+###########################################################
+# Unconverted and partially converted FreeBSD port syntax:
+
+#SUB_FILES=	tbb.pc
+#SUB_LIST=	prefix="${PREFIX}" \
+#		name="${PORTNAME}" \
+#		description="${COMMENT}" \
+#		version="${PV}"
+#USE_LDCONFIG=	yes
+#post-extract:
+#.if ${CC_BASENAME} != ${COMPILER_TYPE}
+#	@${LN} -sf \${OPSYS}.${COMPILER_TYPE}.inc ${WRKSRC}/build/\${OPSYS}.${CC_BASENAME}.inc
+#.endif
+#	@${CP} ${FILESDIR}/version_info_\${OPSYS}.sh ${WRKSRC}/build/
+
+# Best guess translation of REINPLACE above.  Replace 1 with a
+# meaningful name.  Assuming post-patch: Change if necessary.
+#SUBST_CLASSES+=		1
+#SUBST_STAGE.1=	post-patch
+#SUBST_SED.1+=	-e '/^CONLY =/s|^CONLY =.*|CONLY = ${CC}|'
+#SUBST_SED.1+=	-e '/^CPLUS =/s|^CPLUS =.*|CPLUS = ${CXX}|'
+#SUBST_FILES.1+=	${WRKSRC}/build/FreeBSD.${COMPILER_TYPE}.inc
+
+DISTNAME=	tbb-${PV}
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=01org/}
+GITHUB_PROJECT=	tbb
+GITHUB_TAG=	${PV:S/./_U/}
+
+MAINTAINER=	bacon%NetBSD.org@localhost
+HOMEPAGE=	http://threadingbuildingblocks.org/
+COMMENT=	Library that provides thread building blocks
+LICENSE=	apache-2.0
+
+ONLY_FOR_PLATFORM=	 *-*-aarch64 *-*-x86_64 *-*-earmv6 *-*-earmv7 *-*-i386
+
+USE_LANGUAGES=	c c++
+USE_TOOLS+=	gmake pax
+BUILD_TARGET=	default
+
+PV=		2018.5
+DOCSDIR=	${PREFIX}/share/doc/tbb
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == Linux
+BUILD_OPSYS=	linux
+.else
+BUILD_OPSYS=	${OPSYS}
+.endif
+
+INSTALLATION_DIRS=	include/tbb lib share/doc/tbb
+
+do-install:
+	cd ${WRKSRC}; \
+	${INSTALL_LIB} build/\${BUILD_OPSYS}*release/libtbb.so \
+		${DESTDIR}${PREFIX}/lib/libtbb.so.2; \
+	${LN} -sf libtbb.so.2 \
+		${DESTDIR}${PREFIX}/lib/libtbb.so; \
+	${INSTALL_LIB} build/\${BUILD_OPSYS}*release/libtbbmalloc.so \
+		${DESTDIR}${PREFIX}/lib/libtbbmalloc.so.2; \
+	${LN} -sf libtbbmalloc.so.2 \
+		${DESTDIR}${PREFIX}/lib/libtbbmalloc.so; \
+	cd include/tbb/ && pax -rw . ${DESTDIR}${PREFIX}/include/tbb/
+	cd ${WRKSRC}/doc/html && pax -rw . ${DESTDIR}${DOCSDIR}
+
+post-install:
+	${RM} ${DESTDIR}${PREFIX}/include/tbb/*.orig
+# 	${INSTALL_DATA} ${WRKDIR}/tbb.pc ${DESTDIR}${PREFIX}/libdata/pkgconfig
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/tbb/PLIST b/tbb/PLIST
new file mode 100644
index 0000000000..aa245a5e2a
--- /dev/null
+++ b/tbb/PLIST
@@ -0,0 +1,651 @@
+@comment $NetBSD$
+include/tbb/aggregator.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/blocked_rangeNd.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_lru_cache.h
+include/tbb/concurrent_priority_queue.h
+include/tbb/concurrent_queue.h
+include/tbb/concurrent_unordered_map.h
+include/tbb/concurrent_unordered_set.h
+include/tbb/concurrent_vector.h
+include/tbb/critical_section.h
+include/tbb/enumerable_thread_specific.h
+include/tbb/flow_graph.h
+include/tbb/flow_graph_abstractions.h
+include/tbb/flow_graph_opencl_node.h
+include/tbb/gfx_factory.h
+include/tbb/global_control.h
+include/tbb/index.html
+include/tbb/internal/_aggregator_impl.h
+include/tbb/internal/_concurrent_queue_impl.h
+include/tbb/internal/_concurrent_unordered_impl.h
+include/tbb/internal/_flow_graph_async_msg_impl.h
+include/tbb/internal/_flow_graph_body_impl.h
+include/tbb/internal/_flow_graph_cache_impl.h
+include/tbb/internal/_flow_graph_impl.h
+include/tbb/internal/_flow_graph_indexer_impl.h
+include/tbb/internal/_flow_graph_item_buffer_impl.h
+include/tbb/internal/_flow_graph_join_impl.h
+include/tbb/internal/_flow_graph_node_impl.h
+include/tbb/internal/_flow_graph_streaming_node.h
+include/tbb/internal/_flow_graph_tagged_buffer_impl.h
+include/tbb/internal/_flow_graph_trace_impl.h
+include/tbb/internal/_flow_graph_types_impl.h
+include/tbb/internal/_mutex_padding.h
+include/tbb/internal/_range_iterator.h
+include/tbb/internal/_tbb_hash_compare_impl.h
+include/tbb/internal/_tbb_strings.h
+include/tbb/internal/_tbb_trace_impl.h
+include/tbb/internal/_tbb_windef.h
+include/tbb/internal/_template_helpers.h
+include/tbb/internal/_x86_eliding_mutex_impl.h
+include/tbb/internal/_x86_rtm_rw_mutex_impl.h
+include/tbb/machine/gcc_arm.h
+include/tbb/machine/gcc_generic.h
+include/tbb/machine/gcc_ia32_common.h
+include/tbb/machine/gcc_itsx.h
+include/tbb/machine/ibm_aix51.h
+include/tbb/machine/icc_generic.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/mic_common.h
+include/tbb/machine/msvc_armv7.h
+include/tbb/machine/msvc_ia32_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/memory_pool.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_arena.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_disable_exceptions.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.so.2
+lib/libtbbmalloc.so
+lib/libtbbmalloc.so.2
+share/doc/tbb/a00002.html
+share/doc/tbb/a00004.html
+share/doc/tbb/a00006.html
+share/doc/tbb/a00008.html
+share/doc/tbb/a00010.html
+share/doc/tbb/a00012.html
+share/doc/tbb/a00014.html
+share/doc/tbb/a00016.html
+share/doc/tbb/a00017.html
+share/doc/tbb/a00017.png
+share/doc/tbb/a00018.html
+share/doc/tbb/a00019.html
+share/doc/tbb/a00019.png
+share/doc/tbb/a00020.html
+share/doc/tbb/a00020.png
+share/doc/tbb/a00021.html
+share/doc/tbb/a00021.png
+share/doc/tbb/a00022.html
+share/doc/tbb/a00023.html
+share/doc/tbb/a00024.html
+share/doc/tbb/a00025.html
+share/doc/tbb/a00025.png
+share/doc/tbb/a00026.html
+share/doc/tbb/a00027.html
+share/doc/tbb/a00027.png
+share/doc/tbb/a00028.html
+share/doc/tbb/a00028.png
+share/doc/tbb/a00029.html
+share/doc/tbb/a00030.html
+share/doc/tbb/a00030.png
+share/doc/tbb/a00031.html
+share/doc/tbb/a00032.html
+share/doc/tbb/a00032.png
+share/doc/tbb/a00033.html
+share/doc/tbb/a00033.png
+share/doc/tbb/a00034.html
+share/doc/tbb/a00035.html
+share/doc/tbb/a00036.html
+share/doc/tbb/a00037.html
+share/doc/tbb/a00038.html
+share/doc/tbb/a00039.html
+share/doc/tbb/a00040.html
+share/doc/tbb/a00040.png
+share/doc/tbb/a00041.html
+share/doc/tbb/a00042.html
+share/doc/tbb/a00043.html
+share/doc/tbb/a00044.html
+share/doc/tbb/a00044.png
+share/doc/tbb/a00045.html
+share/doc/tbb/a00045.png
+share/doc/tbb/a00046.html
+share/doc/tbb/a00046.png
+share/doc/tbb/a00047.html
+share/doc/tbb/a00048.html
+share/doc/tbb/a00049.html
+share/doc/tbb/a00049.png
+share/doc/tbb/a00050.html
+share/doc/tbb/a00050.png
+share/doc/tbb/a00051.html
+share/doc/tbb/a00051.png
+share/doc/tbb/a00052.html
+share/doc/tbb/a00053.html
+share/doc/tbb/a00053.png
+share/doc/tbb/a00054.html
+share/doc/tbb/a00054.png
+share/doc/tbb/a00055.html
+share/doc/tbb/a00056.html
+share/doc/tbb/a00056.png
+share/doc/tbb/a00057.html
+share/doc/tbb/a00057.png
+share/doc/tbb/a00058.html
+share/doc/tbb/a00058.png
+share/doc/tbb/a00059.html
+share/doc/tbb/a00060.html
+share/doc/tbb/a00060.png
+share/doc/tbb/a00061.html
+share/doc/tbb/a00061.png
+share/doc/tbb/a00062.html
+share/doc/tbb/a00063.html
+share/doc/tbb/a00063.png
+share/doc/tbb/a00064.html
+share/doc/tbb/a00064.png
+share/doc/tbb/a00065.html
+share/doc/tbb/a00066.html
+share/doc/tbb/a00067.html
+share/doc/tbb/a00067.png
+share/doc/tbb/a00068.html
+share/doc/tbb/a00069.html
+share/doc/tbb/a00070.html
+share/doc/tbb/a00071.html
+share/doc/tbb/a00071.png
+share/doc/tbb/a00072.html
+share/doc/tbb/a00072.png
+share/doc/tbb/a00073.html
+share/doc/tbb/a00074.html
+share/doc/tbb/a00074.png
+share/doc/tbb/a00075.html
+share/doc/tbb/a00076.html
+share/doc/tbb/a00077.html
+share/doc/tbb/a00077.png
+share/doc/tbb/a00078.html
+share/doc/tbb/a00079.html
+share/doc/tbb/a00080.html
+share/doc/tbb/a00080.png
+share/doc/tbb/a00081.html
+share/doc/tbb/a00082.html
+share/doc/tbb/a00083.html
+share/doc/tbb/a00084.html
+share/doc/tbb/a00084.png
+share/doc/tbb/a00085.html
+share/doc/tbb/a00086.html
+share/doc/tbb/a00086.png
+share/doc/tbb/a00087.html
+share/doc/tbb/a00088.html
+share/doc/tbb/a00088.png
+share/doc/tbb/a00089.html
+share/doc/tbb/a00089.png
+share/doc/tbb/a00090.html
+share/doc/tbb/a00091.html
+share/doc/tbb/a00091.png
+share/doc/tbb/a00092.html
+share/doc/tbb/a00093.html
+share/doc/tbb/a00094.html
+share/doc/tbb/a00095.html
+share/doc/tbb/a00095.png
+share/doc/tbb/a00096.html
+share/doc/tbb/a00096.png
+share/doc/tbb/a00097.html
+share/doc/tbb/a00097.png
+share/doc/tbb/a00098.html
+share/doc/tbb/a00098.png
+share/doc/tbb/a00099.html
+share/doc/tbb/a00099.png
+share/doc/tbb/a00100.html
+share/doc/tbb/a00100.png
+share/doc/tbb/a00101.html
+share/doc/tbb/a00102.html
+share/doc/tbb/a00102.png
+share/doc/tbb/a00103.html
+share/doc/tbb/a00103.png
+share/doc/tbb/a00104.html
+share/doc/tbb/a00104.png
+share/doc/tbb/a00105.html
+share/doc/tbb/a00106.html
+share/doc/tbb/a00107.html
+share/doc/tbb/a00108.html
+share/doc/tbb/a00108.png
+share/doc/tbb/a00109.html
+share/doc/tbb/a00110.html
+share/doc/tbb/a00110.png
+share/doc/tbb/a00111.html
+share/doc/tbb/a00111.png
+share/doc/tbb/a00112.html
+share/doc/tbb/a00112.png
+share/doc/tbb/a00113.html
+share/doc/tbb/a00113.png
+share/doc/tbb/a00114.html
+share/doc/tbb/a00115.html
+share/doc/tbb/a00115.png
+share/doc/tbb/a00116.html
+share/doc/tbb/a00116.png
+share/doc/tbb/a00117.html
+share/doc/tbb/a00118.html
+share/doc/tbb/a00119.html
+share/doc/tbb/a00120.html
+share/doc/tbb/a00120.png
+share/doc/tbb/a00121.html
+share/doc/tbb/a00121.png
+share/doc/tbb/a00122.html
+share/doc/tbb/a00122.png
+share/doc/tbb/a00123.html
+share/doc/tbb/a00124.html
+share/doc/tbb/a00125.html
+share/doc/tbb/a00126.html
+share/doc/tbb/a00127.html
+share/doc/tbb/a00128.html
+share/doc/tbb/a00129.html
+share/doc/tbb/a00130.html
+share/doc/tbb/a00131.html
+share/doc/tbb/a00132.html
+share/doc/tbb/a00133.html
+share/doc/tbb/a00133.png
+share/doc/tbb/a00134.html
+share/doc/tbb/a00134.png
+share/doc/tbb/a00135.html
+share/doc/tbb/a00135.png
+share/doc/tbb/a00136.html
+share/doc/tbb/a00137.html
+share/doc/tbb/a00138.html
+share/doc/tbb/a00139.html
+share/doc/tbb/a00139.png
+share/doc/tbb/a00140.html
+share/doc/tbb/a00141.html
+share/doc/tbb/a00142.html
+share/doc/tbb/a00142.png
+share/doc/tbb/a00143.html
+share/doc/tbb/a00143.png
+share/doc/tbb/a00144.html
+share/doc/tbb/a00144.png
+share/doc/tbb/a00145.html
+share/doc/tbb/a00145.png
+share/doc/tbb/a00146.html
+share/doc/tbb/a00146.png
+share/doc/tbb/a00147.html
+share/doc/tbb/a00147.png
+share/doc/tbb/a00148.html
+share/doc/tbb/a00148.png
+share/doc/tbb/a00149.html
+share/doc/tbb/a00149.png
+share/doc/tbb/a00150.html
+share/doc/tbb/a00150.png
+share/doc/tbb/a00151.html
+share/doc/tbb/a00151.png
+share/doc/tbb/a00152.html
+share/doc/tbb/a00152.png
+share/doc/tbb/a00153.html
+share/doc/tbb/a00153.png
+share/doc/tbb/a00154.html
+share/doc/tbb/a00154.png
+share/doc/tbb/a00155.html
+share/doc/tbb/a00155.png
+share/doc/tbb/a00156.html
+share/doc/tbb/a00156.png
+share/doc/tbb/a00157.html
+share/doc/tbb/a00158.html
+share/doc/tbb/a00158.png
+share/doc/tbb/a00159.html
+share/doc/tbb/a00159.png
+share/doc/tbb/a00160.html
+share/doc/tbb/a00160.png
+share/doc/tbb/a00161.html
+share/doc/tbb/a00162.html
+share/doc/tbb/a00162.png
+share/doc/tbb/a00163.html
+share/doc/tbb/a00163.png
+share/doc/tbb/a00164.html
+share/doc/tbb/a00164.png
+share/doc/tbb/a00165.html
+share/doc/tbb/a00165.png
+share/doc/tbb/a00166.html
+share/doc/tbb/a00166.png
+share/doc/tbb/a00167.html
+share/doc/tbb/a00168.html
+share/doc/tbb/a00169.html
+share/doc/tbb/a00169.png
+share/doc/tbb/a00170.html
+share/doc/tbb/a00171.html
+share/doc/tbb/a00172.html
+share/doc/tbb/a00172.png
+share/doc/tbb/a00173.html
+share/doc/tbb/a00173.png
+share/doc/tbb/a00174.html
+share/doc/tbb/a00174.png
+share/doc/tbb/a00175.html
+share/doc/tbb/a00175.png
+share/doc/tbb/a00176.html
+share/doc/tbb/a00176.png
+share/doc/tbb/a00177.html
+share/doc/tbb/a00178.html
+share/doc/tbb/a00178.png
+share/doc/tbb/a00179.html
+share/doc/tbb/a00179.png
+share/doc/tbb/a00180.html
+share/doc/tbb/a00181.html
+share/doc/tbb/a00182.html
+share/doc/tbb/a00182.png
+share/doc/tbb/a00183.html
+share/doc/tbb/a00183.png
+share/doc/tbb/a00184.html
+share/doc/tbb/a00184.png
+share/doc/tbb/a00203.html
+share/doc/tbb/a00208.html
+share/doc/tbb/a00227.html
+share/doc/tbb/a00246.html
+share/doc/tbb/a00249.html
+share/doc/tbb/a00271.html
+share/doc/tbb/a00272.html
+share/doc/tbb/a00273.html
+share/doc/tbb/a00274.html
+share/doc/tbb/a00275.html
+share/doc/tbb/a00276.html
+share/doc/tbb/a00278.html
+share/doc/tbb/a00279.html
+share/doc/tbb/a00280.html
+share/doc/tbb/a00281.html
+share/doc/tbb/a00282.html
+share/doc/tbb/a00283.html
+share/doc/tbb/a00284.html
+share/doc/tbb/a00285.html
+share/doc/tbb/a00286.html
+share/doc/tbb/a00287.html
+share/doc/tbb/a00288.html
+share/doc/tbb/a00289.html
+share/doc/tbb/a00290.html
+share/doc/tbb/a00291.html
+share/doc/tbb/a00292.html
+share/doc/tbb/a00293.html
+share/doc/tbb/a00294.html
+share/doc/tbb/a00295.html
+share/doc/tbb/a00296.html
+share/doc/tbb/a00297.html
+share/doc/tbb/a00298.html
+share/doc/tbb/a00299.html
+share/doc/tbb/a00300.html
+share/doc/tbb/a00301.html
+share/doc/tbb/a00302.html
+share/doc/tbb/a00303.html
+share/doc/tbb/a00304.html
+share/doc/tbb/a00305.html
+share/doc/tbb/a00306.html
+share/doc/tbb/a00307.html
+share/doc/tbb/a00308.html
+share/doc/tbb/a00309.html
+share/doc/tbb/a00310.html
+share/doc/tbb/a00311.html
+share/doc/tbb/a00312.html
+share/doc/tbb/a00313.html
+share/doc/tbb/a00314.html
+share/doc/tbb/a00315.html
+share/doc/tbb/a00316.html
+share/doc/tbb/a00317.html
+share/doc/tbb/a00318.html
+share/doc/tbb/a00319.html
+share/doc/tbb/a00320.html
+share/doc/tbb/a00321.html
+share/doc/tbb/a00322.html
+share/doc/tbb/a00323.html
+share/doc/tbb/a00324.html
+share/doc/tbb/a00325.html
+share/doc/tbb/a00326.html
+share/doc/tbb/a00327.html
+share/doc/tbb/a00328.html
+share/doc/tbb/a00329.html
+share/doc/tbb/a00330.html
+share/doc/tbb/a00331.html
+share/doc/tbb/a00332.html
+share/doc/tbb/a00333.html
+share/doc/tbb/a00334.html
+share/doc/tbb/a00335.html
+share/doc/tbb/a00336.html
+share/doc/tbb/a00337.html
+share/doc/tbb/a00338.html
+share/doc/tbb/a00339.html
+share/doc/tbb/a00340.html
+share/doc/tbb/a00341.html
+share/doc/tbb/a00342.html
+share/doc/tbb/a00343.html
+share/doc/tbb/a00344.html
+share/doc/tbb/a00345.html
+share/doc/tbb/a00346.html
+share/doc/tbb/a00347.html
+share/doc/tbb/a00348.html
+share/doc/tbb/a00349.html
+share/doc/tbb/a00350.html
+share/doc/tbb/a00351.html
+share/doc/tbb/a00352.html
+share/doc/tbb/a00353.html
+share/doc/tbb/a00354.html
+share/doc/tbb/a00355.html
+share/doc/tbb/a00356.html
+share/doc/tbb/a00357.html
+share/doc/tbb/a00358.html
+share/doc/tbb/a00359.html
+share/doc/tbb/a00360.html
+share/doc/tbb/a00361.html
+share/doc/tbb/a00362.html
+share/doc/tbb/a00363.html
+share/doc/tbb/a00364.html
+share/doc/tbb/a00365.html
+share/doc/tbb/a00366.html
+share/doc/tbb/a00367.html
+share/doc/tbb/a00368.html
+share/doc/tbb/a00369.html
+share/doc/tbb/a00370.html
+share/doc/tbb/a00371.html
+share/doc/tbb/a00372.html
+share/doc/tbb/a00373.html
+share/doc/tbb/a00374.html
+share/doc/tbb/a00375.html
+share/doc/tbb/a00376.html
+share/doc/tbb/a00377.html
+share/doc/tbb/a00378.html
+share/doc/tbb/a00379.html
+share/doc/tbb/a00380.html
+share/doc/tbb/a00381.html
+share/doc/tbb/a00382.html
+share/doc/tbb/a00383.html
+share/doc/tbb/a00384.html
+share/doc/tbb/a00385.html
+share/doc/tbb/a00386.html
+share/doc/tbb/a00387.html
+share/doc/tbb/a00388.html
+share/doc/tbb/a00389.html
+share/doc/tbb/a00390.html
+share/doc/tbb/a00391.html
+share/doc/tbb/a00392.html
+share/doc/tbb/a00393.html
+share/doc/tbb/a00394.html
+share/doc/tbb/a00395.html
+share/doc/tbb/a00396.html
+share/doc/tbb/a00397.html
+share/doc/tbb/a00398.html
+share/doc/tbb/a00399.html
+share/doc/tbb/a00400.html
+share/doc/tbb/a00401.html
+share/doc/tbb/a00402.html
+share/doc/tbb/a00403.html
+share/doc/tbb/a00404.html
+share/doc/tbb/a00405.html
+share/doc/tbb/a00406.html
+share/doc/tbb/a00407.html
+share/doc/tbb/a00408.html
+share/doc/tbb/a00409.html
+share/doc/tbb/a00410.html
+share/doc/tbb/a00411.html
+share/doc/tbb/a00412.html
+share/doc/tbb/a00413.html
+share/doc/tbb/a00414.html
+share/doc/tbb/a00415.html
+share/doc/tbb/a00416.html
+share/doc/tbb/a00417.html
+share/doc/tbb/a00418.html
+share/doc/tbb/a00419.html
+share/doc/tbb/a00420.html
+share/doc/tbb/a00421.html
+share/doc/tbb/a00422.html
+share/doc/tbb/a00423.html
+share/doc/tbb/a00424.html
+share/doc/tbb/a00425.html
+share/doc/tbb/a00426.html
+share/doc/tbb/a00427.html
+share/doc/tbb/a00428.html
+share/doc/tbb/a00429.html
+share/doc/tbb/a00430.html
+share/doc/tbb/annotated.html
+share/doc/tbb/bc_s.png
+share/doc/tbb/bdwn.png
+share/doc/tbb/classes.html
+share/doc/tbb/closed.png
+share/doc/tbb/dir_525f2cc589630bacbdc3bb450847427e.html
+share/doc/tbb/dir_63fb2cc293d133785b96e521fa051167.html
+share/doc/tbb/dir_87119f26c7695cbc270003e99bc7f49f.html
+share/doc/tbb/dir_b9976680b2be72d2d0b8fca1c31202a2.html
+share/doc/tbb/doxygen.css
+share/doc/tbb/doxygen.png
+share/doc/tbb/dynsections.js
+share/doc/tbb/files.html
+share/doc/tbb/ftv2blank.png
+share/doc/tbb/ftv2cl.png
+share/doc/tbb/ftv2doc.png
+share/doc/tbb/ftv2folderclosed.png
+share/doc/tbb/ftv2folderopen.png
+share/doc/tbb/ftv2lastnode.png
+share/doc/tbb/ftv2link.png
+share/doc/tbb/ftv2mlastnode.png
+share/doc/tbb/ftv2mnode.png
+share/doc/tbb/ftv2mo.png
+share/doc/tbb/ftv2node.png
+share/doc/tbb/ftv2ns.png
+share/doc/tbb/ftv2plastnode.png
+share/doc/tbb/ftv2pnode.png
+share/doc/tbb/ftv2splitbar.png
+share/doc/tbb/ftv2vertline.png
+share/doc/tbb/functions.html
+share/doc/tbb/functions_0x62.html
+share/doc/tbb/functions_0x63.html
+share/doc/tbb/functions_0x64.html
+share/doc/tbb/functions_0x65.html
+share/doc/tbb/functions_0x66.html
+share/doc/tbb/functions_0x67.html
+share/doc/tbb/functions_0x68.html
+share/doc/tbb/functions_0x69.html
+share/doc/tbb/functions_0x6a.html
+share/doc/tbb/functions_0x6c.html
+share/doc/tbb/functions_0x6d.html
+share/doc/tbb/functions_0x6e.html
+share/doc/tbb/functions_0x6f.html
+share/doc/tbb/functions_0x70.html
+share/doc/tbb/functions_0x71.html
+share/doc/tbb/functions_0x72.html
+share/doc/tbb/functions_0x73.html
+share/doc/tbb/functions_0x74.html
+share/doc/tbb/functions_0x75.html
+share/doc/tbb/functions_0x76.html
+share/doc/tbb/functions_0x77.html
+share/doc/tbb/functions_0x7e.html
+share/doc/tbb/functions_enum.html
+share/doc/tbb/functions_eval.html
+share/doc/tbb/functions_func.html
+share/doc/tbb/functions_func_0x62.html
+share/doc/tbb/functions_func_0x63.html
+share/doc/tbb/functions_func_0x64.html
+share/doc/tbb/functions_func_0x65.html
+share/doc/tbb/functions_func_0x66.html
+share/doc/tbb/functions_func_0x67.html
+share/doc/tbb/functions_func_0x68.html
+share/doc/tbb/functions_func_0x69.html
+share/doc/tbb/functions_func_0x6a.html
+share/doc/tbb/functions_func_0x6c.html
+share/doc/tbb/functions_func_0x6d.html
+share/doc/tbb/functions_func_0x6e.html
+share/doc/tbb/functions_func_0x6f.html
+share/doc/tbb/functions_func_0x70.html
+share/doc/tbb/functions_func_0x71.html
+share/doc/tbb/functions_func_0x72.html
+share/doc/tbb/functions_func_0x73.html
+share/doc/tbb/functions_func_0x74.html
+share/doc/tbb/functions_func_0x75.html
+share/doc/tbb/functions_func_0x77.html
+share/doc/tbb/functions_func_0x7e.html
+share/doc/tbb/functions_rela.html
+share/doc/tbb/functions_type.html
+share/doc/tbb/functions_vars.html
+share/doc/tbb/globals.html
+share/doc/tbb/globals_func.html
+share/doc/tbb/hierarchy.html
+share/doc/tbb/index.html
+share/doc/tbb/jquery.js
+share/doc/tbb/modules.html
+share/doc/tbb/namespacemembers.html
+share/doc/tbb/namespacemembers_enum.html
+share/doc/tbb/namespacemembers_eval.html
+share/doc/tbb/namespacemembers_func.html
+share/doc/tbb/namespacemembers_type.html
+share/doc/tbb/namespaces.html
+share/doc/tbb/nav_f.png
+share/doc/tbb/nav_g.png
+share/doc/tbb/nav_h.png
+share/doc/tbb/open.png
+share/doc/tbb/pages.html
+share/doc/tbb/sync_off.png
+share/doc/tbb/sync_on.png
+share/doc/tbb/tab_a.png
+share/doc/tbb/tab_b.png
+share/doc/tbb/tab_h.png
+share/doc/tbb/tab_s.png
+share/doc/tbb/tabs.css
diff --git a/tbb/buildlink3.mk b/tbb/buildlink3.mk
new file mode 100644
index 0000000000..0f9cdddf62
--- /dev/null
+++ b/tbb/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	tbb
+
+.if !defined(TBB_BUILDLINK3_MK)
+TBB_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.tbb+=	tbb>=2018.5
+BUILDLINK_PKGSRCDIR.tbb?=	../../wip/tbb
+.endif	# TBB_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-tbb
diff --git a/tbb/distinfo b/tbb/distinfo
new file mode 100644
index 0000000000..22360317b5
--- /dev/null
+++ b/tbb/distinfo
@@ -0,0 +1,9 @@
+$NetBSD$
+
+SHA1 (tbb-2018.5.tar.gz) = b277fbfbac9c12825ac1522212fad899c41dabfa
+RMD160 (tbb-2018.5.tar.gz) = cb9c0f1a77b37765a1fcd7e743d531215339873e
+SHA512 (tbb-2018.5.tar.gz) = 3e8d20276ccb1b50099f96b6cf968e3d0ada53caea1fa836ecb8652f1dca236fbbbf2c783e64ea2f761f7f21725064d19b72d176e35e4dc29706b8a30965153b
+Size (tbb-2018.5.tar.gz) = 2922517 bytes
+SHA1 (patch-FreeBSD.gcc.inc) = a69fca97794a406d994464b190e3c4d0e0970e84
+SHA1 (patch-build-FreeBSD.inc) = 2eaa909e16130f169b2a58c7ce6f052f192dd92e
+SHA1 (patch-include-tbb-tbb_config.h) = bfb4162aa8ffdc091d0e807a7595352c40526cb2
diff --git a/tbb/files/tbb.pc.in b/tbb/files/tbb.pc.in
new file mode 100644
index 0000000000..3a229fe83b
--- /dev/null
+++ b/tbb/files/tbb.pc.in
@@ -0,0 +1,10 @@
+prefix=%%prefix%%
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: %%name%%
+Description: %%description%%
+Version: %%version%%
+Libs: -L${libdir} -ltbb
+Cflags: -I${includedir}
diff --git a/tbb/files/version_info_FreeBSD.sh b/tbb/files/version_info_FreeBSD.sh
new file mode 100644
index 0000000000..9e9193dceb
--- /dev/null
+++ b/tbb/files/version_info_FreeBSD.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+# Script used to generate FreeBSD version info string
+echo "#define __TBB_VERSION_STRINGS(N) \\"
+echo '#N": BUILD_HOST'"\t\t"`hostname -s`" ("`uname -m`")"'" ENDL \'
+echo '#N": BUILD_OS'"\t\t"`uname -sr`'" ENDL \'
+echo '#N": BUILD_KERNEL'"\t"`uname -i`'" ENDL \'
+echo '#N": BUILD_GCC'"\t\t"`${CXX} --version </dev/null 2>&1 | head -n 1`'" ENDL \'
+[ -z "$COMPILER_VERSION" ] || echo '#N": BUILD_COMPILER'"\t"$COMPILER_VERSION'" ENDL \'
+echo '#N": BUILD_GLIBC'"\t"`ldconfig -r | grep -oE '/lib/libc.so.[0-9]+' | sort -rn | head -n 1 | sed 's|/lib/libc\.so\.||'`'" ENDL \'
+echo '#N": BUILD_LD'"\t\t"`ld -v 2>&1 | head -n 1`'" ENDL \'
+echo '#N": BUILD_TARGET'"\t$arch on $runtime"'" ENDL \'
+echo '#N": BUILD_COMMAND'"\t"$*'" ENDL \'
+echo ""
+echo "#define __TBB_DATETIME \""`date -u`"\""
diff --git a/tbb/patches/patch-FreeBSD.gcc.inc b/tbb/patches/patch-FreeBSD.gcc.inc
new file mode 100644
index 0000000000..16b69ff888
--- /dev/null
+++ b/tbb/patches/patch-FreeBSD.gcc.inc
@@ -0,0 +1,14 @@
+$NetBSD$
+
+# Add soname to library
+--- build/FreeBSD.gcc.inc.orig	2016-11-18 13:37:51.743639461 +0000
++++ build/FreeBSD.gcc.inc	2016-11-18 13:41:28.615767655 +0000
+@@ -30,7 +30,7 @@
+ 
+ CPLUS = g++ 
+ CONLY = gcc
+-LIB_LINK_FLAGS = -shared
++LIB_LINK_FLAGS = -shared -Wl,-soname=$(BUILDING_LIBRARY)
+ LIBS = -lpthread 
+ C_FLAGS = $(CPLUS_FLAGS)
+ 
diff --git a/tbb/patches/patch-build-FreeBSD.inc b/tbb/patches/patch-build-FreeBSD.inc
new file mode 100644
index 0000000000..32c2a4dabf
--- /dev/null
+++ b/tbb/patches/patch-build-FreeBSD.inc
@@ -0,0 +1,41 @@
+$NetBSD$
+
+# Portability
+--- build/FreeBSD.inc.orig	2018-06-19 16:04:20 UTC
++++ build/FreeBSD.inc
+@@ -26,17 +26,23 @@ ifndef arch
+         ifeq ($(shell uname -m),amd64)
+                 export arch:=intel64
+         endif
++        ifeq ($(shell uname -m),arm)
++                export arch:=armv7
++        endif
++        ifeq ($(shell uname -m),arm64)
++                export arch:=arm64
++        endif
+ endif
+ 
+ ifndef runtime
+-        clang_version:=$(shell clang -v 2>&1 | grep version | sed "s/.*version \([0-9]*\.[0-9]*\).*/\1/")
++        clang_version:=$(shell $(CC) -dumpversion)
+         os_version:=$(shell uname -r)
+         os_kernel_version:=$(shell uname -r | sed -e 's/-.*$$//')
+         export runtime:=cc$(clang_version)_kernel$(os_kernel_version)
+ endif
+ 
+-native_compiler := clang
+-export compiler ?= clang
++native_compiler := $(CC)
++export compiler ?= $(CC)
+ debugger ?= gdb
+ 
+ CMD=$(SHELL) -c
+@@ -46,7 +52,7 @@ RD?=rmdir
+ MD?=mkdir -p
+ NUL= /dev/null
+ SLASH=/
+-MAKE_VERSIONS=sh $(tbb_root)/build/version_info_linux.sh $(VERSION_FLAGS) >version_string.ver
++MAKE_VERSIONS=sh $(tbb_root)/build/version_info_FreeBSD.sh $(VERSION_FLAGS) >version_string.ver
+ MAKE_TBBVARS=sh $(tbb_root)/build/generate_tbbvars.sh
+ 
+ ifdef LD_LIBRARY_PATH
diff --git a/tbb/patches/patch-include-tbb-tbb_config.h b/tbb/patches/patch-include-tbb-tbb_config.h
new file mode 100644
index 0000000000..7a4401cf23
--- /dev/null
+++ b/tbb/patches/patch-include-tbb-tbb_config.h
@@ -0,0 +1,16 @@
+$NetBSD$
+
+# Obsolete patch
+--- include/tbb/tbb_config.h.orig	2014-08-26 13:28:59.000000000 +0200
++++ include/tbb/tbb_config.h	2014-09-10 20:19:15.000000000 +0200
+@@ -481,6 +481,10 @@
+         However these functions are not defined anywhere. It seems that this problem was fixed later on
+         and RHEL got an updated version of gcc 4.1.2. **/
+     #define __TBB_GCC_64BIT_ATOMIC_BUILTINS_BROKEN 1
++#elif __TBB_x86_32 && __TBB_GCC_VERSION == 40201 && !__clang__ && __FreeBSD__
++    /** Symbol '__sync_val_compare_and_swap_8' not defined
++        on FreeBSD 8.4/i386 and 9.2/i386 with base gcc **/
++    #define __TBB_GCC_64BIT_ATOMIC_BUILTINS_BROKEN 1
+ #endif
+ 
+ #if __GNUC__ && __TBB_x86_64 && __INTEL_COMPILER == 1200


Home | Main Index | Thread Index | Old Index