1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/math/elemental/Makefile
Mark Linimon 858681a7ef Mark as BROKEN on powerpc64-12. Builds on powerpc64-13 and elsewhere.
Approved by:	portmgr (tier-2 blanket)
2020-05-29 22:32:34 +00:00

47 lines
1.2 KiB
Makefile

# $FreeBSD$
PORTNAME= elemental
DISTVERSIONPREFIX= v
DISTVERSION= 0.87.7
PORTREVISION= 1
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org
COMMENT= Dense and sparse linear algebra, conic optimization, lattice reduction
LICENSE= BSD2CLAUSE
BROKEN_FreeBSD_12_powerpc64= fails to compile: include/El/blas_like/level1/Copy.hpp:522:27: ambiguous template specialization 'Copy<>' for 'void El::Copy(const El::Matrix<int>&, El::Matrix<int>&)'
BROKEN_i386= clang crashes: https://bugs.llvm.org/show_bug.cgi?id=46026
LIB_DEPENDS= libgmp.so:math/gmp \
libmetis.so:math/metis \
libmpc.so:math/mpc \
libmpfr.so:math/mpfr \
libmpi_cxx.so:net/openmpi \
libopenblas.so:math/openblas \
libqd.so:math/qd
USES= cmake compiler:c++11-lang fortran
USE_GITHUB= yes
GH_PROJECT= Elemental
USE_LDCONFIG= yes
CMAKE_ON= EL_DISABLE_PARMETIS
CMAKE_ARGS= -DGFORTRAN_LIB:STRING=${LOCALBASE}/lib/gcc${GCC_DEFAULT}/libgfortran.so \
-DFREEBSD_GCC_LIB:STRING=${LOCALBASE}/lib/gcc${GCC_DEFAULT}/libgcc_s.so
DOCSDIR= ${PREFIX}/share/doc/Elemental
OPTIONS_DEFINE= DOCS
PORTDOCS= *
post-install:
@cd ${STAGEDIR}${PREFIX} && \
${MV} CMake lib/cmake && \
${RM} -r ${STAGEDIR}${PREFIX}/python && \
${RM} -r ${STAGEDIR}${PREFIX}/conf
.include <bsd.port.mk>