blob: e92a7fad5006e622afff379e0a2c29b257fb29ef (
plain)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
PORTNAME= elpa
DISTVERSION= 2019.05.002
PORTREVISION= 2
CATEGORIES= math
MASTER_SITES= http://elpa.mpcdf.mpg.de/html/Releases/${DISTVERSION}/
MAINTAINER= yuri@FreeBSD.org
COMMENT= Eigenvalue soLver for Petaflop Applications
LICENSE= GPLv3 LGPL3
LICENSE_COMB= dual
LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING/gpl.txt
LICENSE_FILE_LGPL3= ${WRKSRC}/COPYING/lgpl.txt
LIB_DEPENDS= libopenblas.so:math/openblas
USES= compiler:c11 fortran gmake libtool localbase perl5 shebangfix
SHEBANG_GLOB= *.pl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-avx --disable-avx2 --disable-static
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
BINARY_ALIAS= make=gmake gcc=gcc${GCC_DEFAULT} g++=g++${GCC_DEFAULT} # build fails with clang: recursively calls cc
FCFLAGS+= -std=legacy -I${LOCALBASE}/include
OPTIONS_DEFINE= OPENMP MPI DOCS
OPTIONS_DEFINE_amd64= SSE
OPTIONS_DEFAULT_amd64= SSE
SSE_CFLAGS= -msse3
OPENMP_CONFIGURE_ENABLE= openmp
MPI_CONFIGURE_WITH= mpi
MPI_LIB_DEPENDS= libmpich.so:net/mpich \
libscalapack.so:math/scalapack
PORTDOCS= *
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:NSSE}
CONFIGURE_ARGS+= --disable-sse --disable-sse-assembly
.endif
post-install-DOCS-on:
@cd ${STAGEDIR}${DOCSDIR} && ${RM} *gpl* COPYING LICENSE
.include <bsd.port.mk>
|