Skip to content

Commit

Permalink
math/elpa: Fix build on 14; Disable building test code
Browse files Browse the repository at this point in the history
-Werror caused -P unknown argument to become an error.
Reported this error to the elpa upstream.

Reported by:	fallout
  • Loading branch information
yurivict committed Aug 21, 2021
1 parent 70ea3d2 commit 418488f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions math/elpa/Makefile
Expand Up @@ -15,10 +15,13 @@ LICENSE_FILE_LGPL3= ${WRKSRC}/COPYING/lgpl.txt
LIB_DEPENDS= libopenblas.so:math/openblas

USES= compiler:c11 fortran gmake libtool localbase perl5 shebangfix
USE_LDCONFIG= yes

SHEBANG_GLOB= *.pl

GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-avx --disable-avx2 --disable-static
USE_LDCONFIG= yes
CONFIGURE_ARGS= --disable-avx --disable-avx2 --disable-static \
--disable-c-tests

INSTALL_TARGET= install-strip

Expand All @@ -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}
Expand Down

0 comments on commit 418488f

Please sign in to comment.