Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Feb 2023 22:49:38 GMT
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ea58be71e246 - main - graphics/openpgl: remove TBB option
Message-ID:  <202302272249.31RMnct7078171@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ea58be71e246b295cbc02ffaf424cee3db39196b

commit ea58be71e246b295cbc02ffaf424cee3db39196b
Author:     Shane <FreeBSD@ShaneWare.Biz>
AuthorDate: 2023-02-24 15:56:01 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-02-27 22:47:36 +0000

    graphics/openpgl: remove TBB option
    
    Disabling the TBB option didn't work and does not appear to be
    immediately fixable.  Remove the option as a workaround until
    a solution obtains.
    
    PR:             268779
    Reported by:    Matthieu Volat <mazhe@alkumuna.eu>
    Approved by:    flo (mentor)
    Differential Revision: https://reviews.freebsd.org/D38777
---
 graphics/openpgl/Makefile | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

diff --git a/graphics/openpgl/Makefile b/graphics/openpgl/Makefile
index 3349e2cb6aed..6aa0a2eba9ce 100644
--- a/graphics/openpgl/Makefile
+++ b/graphics/openpgl/Makefile
@@ -16,7 +16,8 @@ LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 ONLY_FOR_ARCHS=		amd64 armv6 armv7
 ONLY_FOR_ARCHS_REASON=	requires supported SIMD ISA
 
-LIB_DEPENDS=	libembree3.so:graphics/embree
+LIB_DEPENDS=	libembree3.so:graphics/embree \
+		libtbb.so:devel/onetbb
 
 USES=		cmake compiler:c++11-lib
 USE_LDCONFIG=	yes
@@ -24,12 +25,4 @@ USE_LDCONFIG=	yes
 USE_GITHUB=	yes
 GH_ACCOUNT=	OpenPathGuidingLibrary
 
-OPTIONS_DEFINE=		TBB
-OPTIONS_DEFAULT=	TBB
-
-TBB_DESC=		Use Intels TBB instead of openMP
-# we disable TBB by enabling use of OpenMP
-TBB_CMAKE_BOOL_OFF=	OPENPGL_USE_OMP_THREADING
-TBB_LIB_DEPENDS=	libtbb.so:devel/onetbb
-
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302272249.31RMnct7078171>