1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00
freebsd-ports/science/arbor/Makefile
Yuri Victorovich c441ab0ff6 science/{,py-}arbor: Update 0.8 -> 0.8.1
Reported by:	portscout
2022-12-24 03:06:21 -08:00

45 lines
1.1 KiB
Makefile

PORTNAME= arbor
DISTVERSIONPREFIX= v
DISTVERSION= 0.8.1
CATEGORIES= science
MAINTAINER= yuri@FreeBSD.org
COMMENT= Multi-compartment neural network simulation library
WWW= https://arbor-sim.org/
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_armv7= compilation fails: unknown type name 'float64x2_t'
BUILD_DEPENDS= bash:shells/bash \
libfmt>0:devel/libfmt \
nlohmann-json>0:devel/nlohmann-json \
random123>0:devel/random123 \
${PYTHON_PKGNAMEPREFIX}svgwrite>0:graphics/py-svgwrite@${PY_FLAVOR}
LIB_DEPENDS= libpugixml.so:textproc/pugixml
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}svgwrite>0:graphics/py-svgwrite@${PY_FLAVOR}
TEST_DEPENDS= googletest>=0:devel/googletest
USES= cmake compiler:c++17-lang localbase python shebangfix
USE_GITHUB= yes
GH_ACCOUNT= arbor-sim
SHEBANG_FILES= scripts/arbor-build-catalogue
CMAKE_ON= BUILD_SHARED_LIBS
CMAKE_ARGS= -DPython3_EXECUTABLE=${PYTHON_CMD}
OPTIONS_DEFINE= NATIVE
NATIVE_CMAKE_ON= -DARB_ARCH=native
NATIVE_CMAKE_OFF= -DARB_ARCH=none
TEST_TARGET= tests # tests fail to build, see https://github.com/arbor-sim/arbor/issues/2075
post-install:
@${RMDIR} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>