math/elpa: Fix build on 14; Disable building test code
-Werror caused -P unknown argument to become an error. Reported this error to the elpa upstream. Reported by: fallout
This commit is contained in:
parent
70ea3d2756
commit
418488f390
@ -15,11 +15,14 @@ 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
|
||||
|
||||
SHEBANG_GLOB= *.pl
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --disable-avx --disable-avx2 --disable-static \
|
||||
--disable-c-tests
|
||||
|
||||
INSTALL_TARGET= install-strip
|
||||
|
||||
BINARY_ALIAS= make=gmake gcc=gcc${GCC_DEFAULT} g++=g++${GCC_DEFAULT} # build fails with clang: recursively calls cc
|
||||
@ -37,6 +40,9 @@ MPI_LIB_DEPENDS= libmpich.so:net/mpich \
|
||||
|
||||
PORTDOCS= *
|
||||
|
||||
post-patch: # workaround for: https://github.com/marekandreas/elpa/issues/6
|
||||
@${FIND} ${WRKSRC} -name "*.mk" | ${XARGS} ${REINPLACE_CMD} -e 's|-Werror| |'
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:NSSE}
|
||||
|
Loading…
Reference in New Issue
Block a user