science/precice: Add options; Backport patch provided by upstream
This commit is contained in:
parent
030111b816
commit
3b90e890c8
@ -1,8 +1,13 @@
|
||||
PORTNAME= precice
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 2.4.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= science # physics
|
||||
|
||||
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
|
||||
PATCHFILES= 236e5fb9ad611186515142c2d7538b5c78c6f266.patch:-p1 \
|
||||
1d8643401b0a7bfd061d2ee47d6bd9e4cfaf2cca.patch:-p1
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
COMMENT= Coupling library for partitioned multi-physics simulations
|
||||
|
||||
@ -10,8 +15,7 @@ LICENSE= LGPL3
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
LIB_DEPENDS= libboost_system.so:devel/boost-libs \
|
||||
libmpicxx.so:net/mpich \
|
||||
libpetsc.so:science/PETSc
|
||||
libmpicxx.so:net/mpich
|
||||
|
||||
USES= cmake:noninja,testing compiler:c++14-lang eigen:3 gnome pkgconfig # fails with ninja: phony target 'binprecice' names itself as an input; ignoring
|
||||
USE_GNOME= libxml2
|
||||
@ -21,11 +25,21 @@ USE_GITHUB= yes
|
||||
|
||||
CMAKE_OFF= BUILD_TESTING PRECICE_ENABLE_FORTRAN PRECICE_PythonActions
|
||||
|
||||
OPTIONS_DEFINE= EXAMPLES
|
||||
OPTIONS_DEFINE= MPI PETSC EXAMPLES
|
||||
|
||||
PORTEXAMPLES= *
|
||||
MPI_CMAKE_BOOL= PRECICE_MPICommunication
|
||||
MPI_BUILD_DEPENDS= openmpi>0:net/openmpi
|
||||
MPI_RUN_DEPENDS= openmpi>0:net/openmpi
|
||||
MPI_BROKEN= all tests crash with MPI, see https://github.com/precice/precice/issues/1331
|
||||
|
||||
# several tests are known to fail, see https://github.com/precice/precice/issues/1331
|
||||
PETSC_DESC= Use PETSc linear algebra library
|
||||
PETSC_CMAKE_BOOL= PRECICE_PETScMapping
|
||||
PETSC_LIB_DEPENDS= libpetsc.so:science/PETSc
|
||||
PETSC_IMPLIES= MPI
|
||||
|
||||
PORTEXAMPLES= *
|
||||
|
||||
# 3 tests are known to fail, see https://github.com/precice/precice/issues/1331
|
||||
|
||||
post-install: # remove files which aren't docs
|
||||
@${RM} -r ${STAGEDIR}${PREFIX}/share/doc
|
||||
|
@ -1,3 +1,7 @@
|
||||
TIMESTAMP = 1655718589
|
||||
TIMESTAMP = 1655802288
|
||||
SHA256 (precice-precice-v2.4.0_GH0.tar.gz) = 762e603fbcaa96c4fb0b378b7cb6789d09da0cf6193325603e5eeb13e4c7601c
|
||||
SIZE (precice-precice-v2.4.0_GH0.tar.gz) = 1596029
|
||||
SHA256 (236e5fb9ad611186515142c2d7538b5c78c6f266.patch) = 3a472a26dcdb2eaad3bbefc4c9fe7376ea30bcb7836738949745ca85410e1d7f
|
||||
SIZE (236e5fb9ad611186515142c2d7538b5c78c6f266.patch) = 758
|
||||
SHA256 (1d8643401b0a7bfd061d2ee47d6bd9e4cfaf2cca.patch) = 1c54bfceb1f87ffaad2ae8f087ad770e8aa1854454ca136198434937302e78ce
|
||||
SIZE (1d8643401b0a7bfd061d2ee47d6bd9e4cfaf2cca.patch) = 563
|
||||
|
Loading…
Reference in New Issue
Block a user