1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00
freebsd-ports/math/elpa/Makefile
Gerald Pfeifer a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00

50 lines
1.2 KiB
Makefile

# $FreeBSD$
PORTNAME= elpa
DISTVERSION= 2018.05.001
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= fortran gmake libtool localbase perl5 shebangfix
SHEBANG_GLOB= *.pl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-avx --disable-avx2 --disable-static
USE_LDCONFIG= yes
BINARY_ALIAS= make=gmake gcc=gcc${GCC_DEFAULT} g++=g++${GCC_DEFAULT} # build fails with clang: recursively calls cc
FCFLAGS+= -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>