2021-02-24 12:15:21 +01:00
|
|
|
PORTNAME= onetbb
|
2022-11-03 12:31:23 +01:00
|
|
|
PORTVERSION= 2021.7.0
|
2021-02-24 12:15:21 +01:00
|
|
|
DISTVERSIONPREFIX= v
|
|
|
|
CATEGORIES= devel
|
|
|
|
|
|
|
|
MAINTAINER= martymac@FreeBSD.org
|
|
|
|
COMMENT= Library that provides thread building blocks
|
2022-09-07 23:06:12 +02:00
|
|
|
WWW= https://software.intel.com/oneapi/onetbb
|
2021-02-24 12:15:21 +01:00
|
|
|
|
|
|
|
LICENSE= APACHE20
|
|
|
|
|
|
|
|
LIB_DEPENDS= libhwloc.so.15:devel/hwloc2
|
|
|
|
|
|
|
|
USES= cmake compiler:c++11-lang tar:tgz
|
|
|
|
|
2021-04-14 12:08:05 +02:00
|
|
|
CMAKE_ARGS+= -DTBB_STRICT:BOOL=FALSE \
|
|
|
|
-DCMAKE_INSTALL_DOCDIR:PATH="${DOCSDIR}" \
|
2021-10-10 17:11:27 +02:00
|
|
|
-DCMAKE_HWLOC_2_LIBRARY_PATH:PATH="${LOCALBASE}/lib/libhwloc.so" \
|
|
|
|
-DCMAKE_HWLOC_2_INCLUDE_PATH:PATH="${LOCALBASE}/include"
|
2021-02-24 12:15:21 +01:00
|
|
|
|
2021-10-28 14:28:24 +02:00
|
|
|
CONFLICTS= tbb
|
2021-02-24 12:15:21 +01:00
|
|
|
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= oneapi-src
|
|
|
|
GH_PROJECT= oneTBB
|
|
|
|
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
2021-04-14 12:08:05 +02:00
|
|
|
PORTDOCS= README.md
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2021-10-10 17:11:27 +02:00
|
|
|
# Pkgconfig: tbb.pc (on 64bit arch) vs tbb32.pc
|
|
|
|
PLIST_SUB= PCSUFX="${PCSUFX}"
|
|
|
|
|
2021-02-24 12:15:21 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2022-01-08 11:13:42 +01:00
|
|
|
.if ${ARCH} == i386 || ${ARCH} == powerpc || ${ARCH:Marmv?}
|
2021-10-10 17:11:27 +02:00
|
|
|
PCSUFX= 32
|
|
|
|
.endif
|
|
|
|
|
2022-09-28 20:52:28 +02:00
|
|
|
.if ${ARCH} == powerpc64
|
|
|
|
CMAKE_ARGS+= -DTBB_ENABLE_IPO:BOOL=OFF
|
|
|
|
.endif
|
|
|
|
|
2021-02-24 12:15:21 +01:00
|
|
|
.include <bsd.port.post.mk>
|