Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jan 2021 18:36:00 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r561663 - head/science/madness
Message-ID:  <202101151836.10FIa0WO066028@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Fri Jan 15 18:35:59 2021
New Revision: 561663
URL: https://svnweb.freebsd.org/changeset/ports/561663

Log:
  science/madness: Make TBB dependency optional, OFF by default until the upstream fixes oneTBB support
  
  PR:		252694

Modified:
  head/science/madness/Makefile

Modified: head/science/madness/Makefile
==============================================================================
--- head/science/madness/Makefile	Fri Jan 15 18:32:38 2021	(r561662)
+++ head/science/madness/Makefile	Fri Jan 15 18:35:59 2021	(r561663)
@@ -2,7 +2,7 @@
 
 PORTNAME=	madness
 DISTVERSION=	0.10.1.20180823
-PORTREVISION=	11
+PORTREVISION=	12
 CATEGORIES=	science
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -15,7 +15,6 @@ BUILD_DEPENDS=	libsysinfo>0:devel/libsysinfo
 LIB_DEPENDS=	libblas.so:math/blas \
 		liblapack.so:math/lapack \
 		libmpich.so:net/mpich \
-		libtbb.so:devel/tbb \
 		libtcmalloc.so:devel/google-perftools \
 		libxc.so:science/libxc
 
@@ -26,5 +25,12 @@ GH_TAGNAME=	ebb3fd7
 USE_LDCONFIG=	yes
 
 CMAKE_ARGS=	-DLAPACK_LIBRARIES:STRING="-L${LOCALBASE}/lib -llapack -lblas -L${LOCALBASE}/lib/gcc${GCC_DEFAULT} -lgcc_s" -DPYTHON_EXECUTABLE=${PYTHON_CMD}
+
+OPTIONS_DEFINE=		TBB
+#OPTIONS_DEFAULT=	TBB # oneTBB support needs to be fixed: https://github.com/m-a-d-n-e-s-s/madness/issues/366
+
+TBB_DESC=		Enables use of Intel Thread Building Blocks
+TBB_CMAKE_BOOL=		ENABLE_TBB
+TBB_LIB_DEPENDS=	libtbb.so:devel/tbb
 
 .include <bsd.port.mk>



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