Skip to content

Commit

Permalink
science/dirac: Broken on powerpc64, powerpc64le; Fix build on i386
Browse files Browse the repository at this point in the history
Reported by:	fallout
  • Loading branch information
yurivict committed Feb 2, 2024
1 parent ba9b7f9 commit c65c786
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions science/dirac/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ WWW= http://diracprogram.org/doku.php
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/LICENSE

BROKEN_armv7= compilation fails: Error: Old-style type declaration REAL*16 not supported at (1)
BROKEN_i386= error: Type mismatch in argument 'dsetid' at (1); passed INTEGER(8) to INTEGER(4), see https://gitlab.com/dirac/dirac/-/issues/36
BROKEN_armv7= compilation fails: Error: Old-style type declaration REAL*16 not supported at (1)
BROKEN_powerpc64= compilation fails: Error: Old-style type declaration REAL*16 not supported at (1)
BROKEN_powerpc64le= compilation fails: Error: Old-style type declaration REAL*16 not supported at (1)

BUILD_DEPENDS= gmake:devel/gmake
LIB_DEPENDS= libblas.so:math/blas \
Expand All @@ -36,7 +37,7 @@ CMAKE_ARGS= -DMKL_FLAG=off

CFLAGS+= -DSYS_LINUX # see https://gitlab.com/dirac/dirac/-/issues/32
CXXFLAGS+= -DSYS_LINUX
FFLAGS+= -DSYS_LINUX
FFLAGS+= -DSYS_LINUX -fallow-argument-mismatch # -fallow-argument-mismatch to fix build on i386, see https://gitlab.com/dirac/dirac/-/issues/36
LDFLAGS+= -llapack -lblas

BINARY_ALIAS= make=${GMAKE} \
Expand Down

0 comments on commit c65c786

Please sign in to comment.