Changeset View
Changeset View
Standalone View
Standalone View
math/dbcsr/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= dbcsr | PORTNAME= dbcsr | ||||
DISTVERSIONPREFIX= v | DISTVERSIONPREFIX= v | ||||
DISTVERSION= 1.1.0 | DISTVERSION= 1.1.0 | ||||
PORTREVISION= 4 | PORTREVISION= 5 | ||||
CATEGORIES= math | CATEGORIES= math | ||||
MAINTAINER= yuri@FreeBSD.org | MAINTAINER= yuri@FreeBSD.org | ||||
COMMENT= Distributed Block Compressed Sparse Row matrix library | COMMENT= Distributed Block Compressed Sparse Row matrix library | ||||
LICENSE= GPLv3 | LICENSE= GPLv3 | ||||
LICENSE_FILE= ${WRKSRC}/LICENSE | LICENSE_FILE= ${WRKSRC}/LICENSE | ||||
Show All 15 Lines | |||||
OPTIONS_DEFINE= MPI OPENMP C_API # libxsmm is supposed to be supported, but cmake build lacks the corresponding option: https://github.com/cp2k/dbcsr/issues/73 | OPTIONS_DEFINE= MPI OPENMP C_API # libxsmm is supposed to be supported, but cmake build lacks the corresponding option: https://github.com/cp2k/dbcsr/issues/73 | ||||
OPTIONS_DEFAULT= MPI OPENMP C_API | OPTIONS_DEFAULT= MPI OPENMP C_API | ||||
OPTIONS_SUB= yes | OPTIONS_SUB= yes | ||||
MPI_CMAKE_BOOL= USE_MPI | MPI_CMAKE_BOOL= USE_MPI | ||||
MPI_LIB_DEPENDS= libmpi.so:net/openmpi | MPI_LIB_DEPENDS= libmpi.so:net/openmpi | ||||
OPENMP_CMAKE_BOOL= USE_OPENMP | OPENMP_CMAKE_BOOL= USE_OPENMP | ||||
OPENMP_LIB_DEPENDS= libomp.so:devel/openmp | |||||
C_API_DESC= Build the C API library | C_API_DESC= Build the C API library | ||||
C_API_CMAKE_BOOL= WITH_C_API | C_API_CMAKE_BOOL= WITH_C_API | ||||
do-test: # tests are broken: https://github.com/cp2k/dbcsr/issues/150 | do-test: # tests are broken: https://github.com/cp2k/dbcsr/issues/150 | ||||
@cd ${BUILD_WRKSRC} && \ | @cd ${BUILD_WRKSRC} && \ | ||||
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBUILD_TESTING:BOOL=ON ${CMAKE_SOURCE_PATH} && \ | ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBUILD_TESTING:BOOL=ON ${CMAKE_SOURCE_PATH} && \ | ||||
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ | ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ | ||||
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test | ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |