1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/math/elpa/Makefile
Tobias Kortkamp 206b0dac1d math/elpa: Unbreak build with GCC 10
src/elpa2/kernels/real_template.F90:117:37:

  117 |        & (q(i,1),hh, nb, ldq, ldh, s)
      |                                     1
Error: Type mismatch in argument 'q' at (1); passed REAL(8) to COMPLEX(8)
src/elpa2/kernels/real_template.F90:133:37:

  133 |        & (q(i,1),hh, nb, ldq, ldh, s)
      |                                     1
Error: Type mismatch in argument 'q' at (1); passed REAL(8) to COMPLEX(8)
src/elpa2/kernels/real_template.F90:145:37:

  145 |        & (q(i,1),hh, nb, ldq, ldh, s)
      |                                     1
Error: Type mismatch in argument 'q' at (1); passed REAL(8) to COMPLEX(8)

http://package18.nyi.freebsd.org/data/121amd64-default-PR244494/2020-06-10_18h04m44s/logs/errors/elpa-2019.05.002_2.log

PR:		246700
2020-07-04 11:51:38 +00:00

52 lines
1.2 KiB
Makefile

# $FreeBSD$
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>