mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
math/spectra: Install cmake files.
This commit is contained in:
parent
c4eedbc7e2
commit
acb326a48b
2 changed files with 6 additions and 5 deletions
|
@ -1,6 +1,7 @@
|
|||
PORTNAME= spectra
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 1.0.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= math
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
|
@ -11,16 +12,13 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
|
|||
|
||||
TEST_DEPENDS= gmake>0:devel/gmake
|
||||
|
||||
USES= eigen:3,run
|
||||
USES= cmake eigen:3,build,run
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= yixuan
|
||||
|
||||
NO_BUILD= yes
|
||||
NO_ARCH= yes
|
||||
|
||||
do-install:
|
||||
cd ${WRKSRC} && ${COPYTREE_SHARE} include ${STAGEDIR}${PREFIX}
|
||||
|
||||
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
|
||||
|
||||
|
|
|
@ -48,3 +48,6 @@ include/Spectra/Util/TypeTraits.h
|
|||
include/Spectra/Util/Version.h
|
||||
include/Spectra/contrib/LOBPCGSolver.h
|
||||
include/Spectra/contrib/PartialSVDSolver.h
|
||||
%%DATADIR%%/cmake/Spectra-targets.cmake
|
||||
%%DATADIR%%/cmake/spectra-config-version.cmake
|
||||
%%DATADIR%%/cmake/spectra-config.cmake
|
||||
|
|
Loading…
Add table
Reference in a new issue