1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

math/coin-or-metis: New port: COIN-OR autotools harness to build Metis

This commit is contained in:
Yuri Victorovich 2022-02-23 11:28:59 -08:00
parent 2f722cee9f
commit f93ce0d23d
5 changed files with 66 additions and 0 deletions

View File

@ -216,6 +216,8 @@
SUBDIR += coin-or-data-netlib
SUBDIR += coin-or-data-sample
SUBDIR += coin-or-data-stochastic
SUBDIR += coin-or-metis
SUBDIR += coin-or-mumps
SUBDIR += coinmp
SUBDIR += coinmumps
SUBDIR += coinutils

View File

@ -0,0 +1,44 @@
PORTNAME= metis
DISTVERSIONPREFIX= releases/
DISTVERSION= 1.3.10
CATEGORIES= math
MASTER_SITES= http://coin-or-tools.github.io/ThirdParty-Metis/:metis
PKGNAMEPREFIX= coin-or-
DISTFILES= metis-${METIS_VERSION}.tar.gz:metis
MAINTAINER= yuri@FreeBSD.org
COMMENT= COIN-OR autotools harness to build Metis
LICENSE= EPL
LIB_DEPENDS= libblas.so:math/blas
USES= fortran gmake libtool pkgconfig
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= coin-or-tools
GH_PROJECT= ThirdParty-Metis
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
METIS_VERSION= 4.0.3 # from the script get.Metis
.include <bsd.port.pre.mk>
.if ${GCC_DEFAULT} >= 10
# workaround for Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)
# in theory, this should set FCFLAGS, but the port does not conform
FFLAGS+= -fallow-argument-mismatch
.endif
post-extract: # link MUMPS into the location in the tree
@cd ${WRKSRC} && ${LN} -s ${WRKDIR}/metis-${METIS_VERSION} metis-4.0
pre-build: # patching from get.Metis
@cd ${WRKDIR} && \
${PATCH} -p0 < ${WRKSRC}/metis.patch
.include <bsd.port.post.mk>

View File

@ -0,0 +1,5 @@
TIMESTAMP = 1645643836
SHA256 (metis-4.0.3.tar.gz) = 5efa35de80703c1b2c4d0de080fafbcf4e0d363a21149a1ad2f96e0144841a55
SIZE (metis-4.0.3.tar.gz) = 522624
SHA256 (coin-or-tools-ThirdParty-Metis-releases-1.3.10_GH0.tar.gz) = 20b3f17263bec6a7966b51533d72f02af8a53c64e29b330d15026fcc309052b3
SIZE (coin-or-tools-ThirdParty-Metis-releases-1.3.10_GH0.tar.gz) = 253651

View File

@ -0,0 +1,5 @@
This is an autotools-based build system to build and install
MUltifrontal Massively Parallel sparse direct Solver (MUMPS).
This installation of MUMPS is used by some other COIN-OR projects.
WWW: https://github.com/coin-or-tools/ThirdParty-Mumps

View File

@ -0,0 +1,10 @@
include/coin/ThirdParty/defs.h
include/coin/ThirdParty/macros.h
include/coin/ThirdParty/metis.h
include/coin/ThirdParty/proto.h
include/coin/ThirdParty/rename.h
include/coin/ThirdParty/struct.h
lib/libcoinmetis.so
lib/libcoinmetis.so.1
lib/libcoinmetis.so.1.3.10
libdata/pkgconfig/coinmetis.pc