blob: 739f5b77a75e23d25f6037982515668286969c6f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
PORTNAME= spectra
DISTVERSIONPREFIX= v
DISTVERSION= 1.1.0
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org
COMMENT= C++ library for large scale eigenvalue problems
WWW= https://spectralib.org \
https://github.com/yixuan/spectra
LICENSE= MPL20
LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= gmake>0:devel/gmake
USES= cmake eigen:3,build,run
USE_GITHUB= yes
GH_ACCOUNT= yixuan
NO_ARCH= yes
do-test: # some tests are known to fail: https://github.com/yixuan/spectra/issues/47
@cd ${WRKSRC}/test && ${SETENV} ${MAKE_ENV} CXXFLAGS=-I${LOCALBASE}/include/eigen3 ${GMAKE} all test
.include <bsd.port.mk>
|