aboutsummaryrefslogtreecommitdiff
path: root/devel/onetbb/Makefile
diff options
context:
space:
mode:
authorGanael LAPLANCHE <martymac@FreeBSD.org>2021-02-19 15:14:46 +0000
committerGanael LAPLANCHE <martymac@FreeBSD.org>2021-02-19 15:14:46 +0000
commit34fdd4dc58e2ebd98803c88ff8e684892954817c (patch)
tree204912d10c077dd7fe9cf6351801dbe1835e7b11 /devel/onetbb/Makefile
parent8ec37e4f4203b2cdd0b58fb5c6b251153f72abb4 (diff)
downloadports-34fdd4dc58e2ebd98803c88ff8e684892954817c.tar.gz
ports-34fdd4dc58e2ebd98803c88ff8e684892954817c.zip
Introduce devel/onetbb and mark devel/tbb as legacy
Intel oneAPI tbb 2021.1 (onetbb) has been released[1][2] and has deprecated several interfaces over tbb 2020, breaking most dependent ports. Old tbb 2020 will be kept for a certain time to allow transition but will be removed in a near future as it CONFLICTS with devel/onetbb. New ports should now use devel/onetbb instead of devel/tbb. We tried to move a maximum number of dependent ports to devel/onetbb (or disable dependency when not possible), but some of them still remain stuck to devel/tbb. Remaining ones have not been identified as major dependencies themselves and will be fixed as soon as updates are available from upstream. PR: 252648, 252688 [3], 252683 [4], 252651 [5], 252690 [3], 252693 [3], 252695 [3], 252696 [3], 252786 [3], 252649, 252868 [6], 252870 [5], 252684 [7], 252785 [7] Approved by: yuri [3], jwb [4], thierry [5], FreeBSD@Shaneware.biz [6], maintainer timeout [7] [1] https://software.intel.com/content/www/us/en/develop/articles/intel-oneapi-threading-building-blocks-release-notes.html [2] https://software.intel.com/content/www/us/en/develop/articles/tbb-revamp.html
Notes
Notes: svn path=/head/; revision=566074
Diffstat (limited to 'devel/onetbb/Makefile')
-rw-r--r--devel/onetbb/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/devel/onetbb/Makefile b/devel/onetbb/Makefile
new file mode 100644
index 000000000000..feeda631670f
--- /dev/null
+++ b/devel/onetbb/Makefile
@@ -0,0 +1,38 @@
+# $FreeBSD$
+
+PORTNAME= onetbb
+PORTVERSION= 2021.1.1
+DISTVERSIONPREFIX= v
+CATEGORIES= devel
+
+MAINTAINER= martymac@FreeBSD.org
+COMMENT= Library that provides thread building blocks
+
+LICENSE= APACHE20
+
+LIB_DEPENDS= libhwloc.so.15:devel/hwloc2
+
+USES= cmake tar:tgz
+
+CMAKE_ARGS+= -DTBB_STRICT:BOOL=FALSE
+
+CONFLICTS= tbb-[0-9]*
+
+USE_GITHUB= yes
+GH_ACCOUNT= oneapi-src
+GH_PROJECT= oneTBB
+
+SUB_FILES= onetbb.pc
+SUB_LIST= prefix="${PREFIX}" \
+ name="${PORTNAME}" \
+ description="${COMMENT}" \
+ version="${PORTVERSION}"
+
+USE_LDCONFIG= yes
+
+.include <bsd.port.pre.mk>
+
+post-install:
+ ${INSTALL_DATA} ${WRKDIR}/onetbb.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig
+
+.include <bsd.port.post.mk>