2018-08-27 09:56:14 +02:00
|
|
|
PORTNAME= madness
|
|
|
|
DISTVERSION= 0.10.1.20180823
|
2021-01-15 19:35:59 +01:00
|
|
|
PORTREVISION= 12
|
2018-08-27 09:56:14 +02:00
|
|
|
CATEGORIES= science
|
|
|
|
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
|
|
COMMENT= Multiresolution adaptive numeric environment for scientific simulation
|
|
|
|
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
|
|
|
BUILD_DEPENDS= libsysinfo>0:devel/libsysinfo
|
|
|
|
LIB_DEPENDS= libblas.so:math/blas \
|
|
|
|
liblapack.so:math/lapack \
|
2018-09-22 18:36:38 +02:00
|
|
|
libmpich.so:net/mpich \
|
2018-08-27 09:56:14 +02:00
|
|
|
libtcmalloc.so:devel/google-perftools \
|
|
|
|
libxc.so:science/libxc
|
|
|
|
|
2018-12-25 21:25:39 +01:00
|
|
|
USES= cmake compiler:c++14-lang fortran localbase:ldflags python:build
|
2018-08-27 09:56:14 +02:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= m-a-d-n-e-s-s
|
|
|
|
GH_TAGNAME= ebb3fd7
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
2018-09-22 18:36:38 +02:00
|
|
|
CMAKE_ARGS= -DLAPACK_LIBRARIES:STRING="-L${LOCALBASE}/lib -llapack -lblas -L${LOCALBASE}/lib/gcc${GCC_DEFAULT} -lgcc_s" -DPYTHON_EXECUTABLE=${PYTHON_CMD}
|
2018-08-27 09:56:14 +02:00
|
|
|
|
2021-01-15 19:35:59 +01:00
|
|
|
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
|
|
|
|
|
2018-08-27 09:56:14 +02:00
|
|
|
.include <bsd.port.mk>
|