1PORTNAME= eigen 2DISTVERSION= 3.4.0 3PORTREVISION= 3 4CATEGORIES= math 5 6MAINTAINER= ports@MidnightBSD.org 7COMMENT= Lightweight library for vector and matrix math 8WWW= https://eigen.tuxfamily.org/ 9 10LICENSE= lgpl2.1 MPL20 11LICENSE_COMB= multi 12LICENSE_FILE_lgpl2.1= ${WRKSRC}/COPYING.LGPL 13LICENSE_FILE_MPL20= ${WRKSRC}/COPYING.MPL2 14 15TEST_DEPENDS= suitesparse-cholmod>0:math/suitesparse-cholmod \ 16 suitesparse-umfpack>0:math/suitesparse-umfpack \ 17 superlu>0:math/superlu \ 18 adol-c>0:math/adol-c \ 19 fftw3>0:math/fftw3 \ 20 mpfr>0:math/mpfr \ 21 gmp>0:math/gmp \ 22 boost-libs>0:devel/boost-libs 23 24USES= cmake:testing 25USE_GITLAB= yes 26GL_ACCOUNT= libeigen 27GL_TAGNAME= 3147391d946bb4b6c68edd901f2add6ac1f31f8c 28 29CMAKE_ARGS= -DPKGCONFIG_INSTALL_DIR:PATH="libdata/pkgconfig" 30CMAKE_ON= EIGEN_TEST_CXX11 # This is to set the C++ standard to C++11, instead of 03 31CMAKE_TESTING_ON= EIGEN_TEST_CUDA EIGEN_TEST_CUDA_CLANG 32 33NO_BUILD= yes 34NO_ARCH= yes 35NO_TEST= yes 36 37OPTIONS_DEFINE= BLAS 38OPTIONS_DEFAULT=BLAS 39 40BLAS_DESC= Adds math dependencies 41BLAS_CMAKE_ON= -DBLAS_DIR:PATH="${LOCALBASE}" 42BLAS_USES= blaslapack pkgconfig 43 44.include <bsd.port.mk> 45