Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Jan 2025 09:52:29 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 85e3e569f72b - main - math/mfem: update 4.4 =?utf-8?Q?=E2=86=92?= 4.7
Message-ID:  <202501180952.50I9qTCu098934@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=85e3e569f72b84d5f1ac0dfcaf572199a8a86913

commit 85e3e569f72b84d5f1ac0dfcaf572199a8a86913
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-01-18 09:48:00 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-01-18 09:52:24 +0000

    math/mfem: update 4.4 → 4.7
---
 math/mfem/Makefile                             |  7 ++-
 math/mfem/distinfo                             |  6 +-
 math/mfem/files/patch-general_isockstream.cpp  | 11 ++++
 math/mfem/files/patch-general_socketstream.cpp | 10 ++++
 math/mfem/pkg-plist                            | 81 +++++++++++++++++++++-----
 science/spheral/Makefile                       |  4 +-
 6 files changed, 97 insertions(+), 22 deletions(-)

diff --git a/math/mfem/Makefile b/math/mfem/Makefile
index 517c90f35c8a..2f987b464810 100644
--- a/math/mfem/Makefile
+++ b/math/mfem/Makefile
@@ -1,12 +1,12 @@
 PORTNAME=	mfem
 DISTVERSIONPREFIX=	v
-DISTVERSION=	4.4
-PORTREVISION=	11
+DISTVERSION=	4.7
 CATEGORIES=	math
 
 MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	Lightweight, general, scalable C++ library for finite element methods
-WWW=		https://mfem.org/
+WWW=		https://mfem.org \
+		https://github.com/mfem/mfem
 
 LICENSE=	LGPL21
 LICENSE_FILE=	${WRKSRC}/LICENSE
@@ -17,6 +17,7 @@ USE_LDCONFIG=	yes
 
 CMAKE_ON=	BUILD_SHARED_LIBS
 CMAKE_TESTING_ON=	MFEM_ENABLE_TESTING # tests are broken, see https://github.com/mfem/mfem/issues/3163
+CMAKE_TESTING_TARGET=	exec test
 
 OPTIONS_DEFINE=		METIS SUPERLU
 OPTIONS_SINGLE=		MPI
diff --git a/math/mfem/distinfo b/math/mfem/distinfo
index e3286f89afe6..b1f0f1520b57 100644
--- a/math/mfem/distinfo
+++ b/math/mfem/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1650680791
-SHA256 (mfem-mfem-v4.4_GH0.tar.gz) = 0325a57854d9268dfe3f8d9b03836eb01b00a966d93162e6249857e9fab9c61f
-SIZE (mfem-mfem-v4.4_GH0.tar.gz) = 3078651
+TIMESTAMP = 1737154420
+SHA256 (mfem-mfem-v4.7_GH0.tar.gz) = 731bc2665c13d4099f9c9c946eb83ab07cd2e78a9575d4fa62a96cdb40d6ba0f
+SIZE (mfem-mfem-v4.7_GH0.tar.gz) = 3808224
diff --git a/math/mfem/files/patch-general_isockstream.cpp b/math/mfem/files/patch-general_isockstream.cpp
new file mode 100644
index 000000000000..eb0b3543a3cb
--- /dev/null
+++ b/math/mfem/files/patch-general_isockstream.cpp
@@ -0,0 +1,11 @@
+--- general/isockstream.cpp.orig	2024-09-08 17:21:14 UTC
++++ general/isockstream.cpp
+@@ -86,7 +86,7 @@ int isockstream::establish()
+          return (-1);
+       }
+ 
+-#if defined(__APPLE__)
++#if defined(__APPLE__) || defined(__FreeBSD__)
+       if (bind(sfd, (const struct sockaddr *)rp->ai_addr, rp->ai_addrlen) < 0)
+ #else
+       if (bind(sfd, rp->ai_addr, rp->ai_addrlen) < 0)
diff --git a/math/mfem/files/patch-general_socketstream.cpp b/math/mfem/files/patch-general_socketstream.cpp
new file mode 100644
index 000000000000..d4b544da427d
--- /dev/null
+++ b/math/mfem/files/patch-general_socketstream.cpp
@@ -0,0 +1,10 @@
+--- general/socketstream.cpp.orig	2024-05-08 08:02:30 UTC
++++ general/socketstream.cpp
+@@ -20,6 +20,7 @@
+ #include <cerrno>       // errno
+ #ifndef _WIN32
+ #include <netdb.h>      // getaddrinfo
++#include <netinet/in.h>
+ #include <arpa/inet.h>  // htons
+ #include <sys/types.h>  // socket, setsockopt, connect, recv, send
+ #include <sys/socket.h> // socket, setsockopt, connect, recv, send
diff --git a/math/mfem/pkg-plist b/math/mfem/pkg-plist
index 338963d7046c..f92dbc093847 100644
--- a/math/mfem/pkg-plist
+++ b/math/mfem/pkg-plist
@@ -1,31 +1,40 @@
 include/mfem-performance.hpp
 include/mfem.hpp
+include/mfem/config/_config.hpp
 include/mfem/config/config.hpp
 include/mfem/config/tconfig.hpp
 include/mfem/fem/adios2datacollection.hpp
 include/mfem/fem/bilinearform.hpp
 include/mfem/fem/bilinearform_ext.hpp
 include/mfem/fem/bilininteg.hpp
-include/mfem/fem/ceed/algebraic.hpp
-include/mfem/fem/ceed/coefficient.hpp
-include/mfem/fem/ceed/convection.hpp
-include/mfem/fem/ceed/diffusion.hpp
-include/mfem/fem/ceed/full-assembly.hpp
-include/mfem/fem/ceed/integrator.hpp
-include/mfem/fem/ceed/mass.hpp
-include/mfem/fem/ceed/nlconvection.hpp
-include/mfem/fem/ceed/operator.hpp
-include/mfem/fem/ceed/solvers-atpmg.hpp
-include/mfem/fem/ceed/util.hpp
+include/mfem/fem/ceed/integrators/convection/convection.hpp
+include/mfem/fem/ceed/integrators/diffusion/diffusion.hpp
+include/mfem/fem/ceed/integrators/mass/mass.hpp
+include/mfem/fem/ceed/integrators/nlconvection/nlconvection.hpp
+include/mfem/fem/ceed/interface/basis.hpp
+include/mfem/fem/ceed/interface/ceed.hpp
+include/mfem/fem/ceed/interface/coefficient.hpp
+include/mfem/fem/ceed/interface/integrator.hpp
+include/mfem/fem/ceed/interface/interface.hpp
+include/mfem/fem/ceed/interface/mixed_integrator.hpp
+include/mfem/fem/ceed/interface/operator.hpp
+include/mfem/fem/ceed/interface/restriction.hpp
+include/mfem/fem/ceed/interface/util.hpp
+include/mfem/fem/ceed/solvers/algebraic.hpp
+include/mfem/fem/ceed/solvers/full-assembly.hpp
+include/mfem/fem/ceed/solvers/solvers-atpmg.hpp
 include/mfem/fem/coefficient.hpp
 include/mfem/fem/complex_fem.hpp
 include/mfem/fem/conduitdatacollection.hpp
 include/mfem/fem/convergence.hpp
 include/mfem/fem/datacollection.hpp
+include/mfem/fem/dgmassinv.hpp
+include/mfem/fem/dgmassinv_kernels.hpp
 include/mfem/fem/doftrans.hpp
 include/mfem/fem/eltrans.hpp
 include/mfem/fem/estimators.hpp
 include/mfem/fem/fe.hpp
+include/mfem/fem/fe/face_map_utils.hpp
 include/mfem/fem/fe/fe_base.hpp
 include/mfem/fem/fe/fe_fixed_order.hpp
 include/mfem/fem/fe/fe_h1.hpp
@@ -45,24 +54,53 @@ include/mfem/fem/geom.hpp
 include/mfem/fem/gridfunc.hpp
 include/mfem/fem/gslib.hpp
 include/mfem/fem/hybridization.hpp
+include/mfem/fem/hyperbolic.hpp
+include/mfem/fem/integ/bilininteg_diffusion_kernels.hpp
+include/mfem/fem/integ/bilininteg_elasticity_kernels.hpp
+include/mfem/fem/integ/bilininteg_hcurl_kernels.hpp
+include/mfem/fem/integ/bilininteg_hcurlhdiv_kernels.hpp
+include/mfem/fem/integ/bilininteg_hdiv_kernels.hpp
+include/mfem/fem/integ/bilininteg_mass_kernels.hpp
 include/mfem/fem/intrules.hpp
+include/mfem/fem/intrules_cut.hpp
+include/mfem/fem/kdtree.hpp
 include/mfem/fem/kernels.hpp
 include/mfem/fem/linearform.hpp
+include/mfem/fem/linearform_ext.hpp
 include/mfem/fem/lininteg.hpp
-include/mfem/fem/lor.hpp
+include/mfem/fem/lor/lor.hpp
+include/mfem/fem/lor/lor_ads.hpp
+include/mfem/fem/lor/lor_ams.hpp
+include/mfem/fem/lor/lor_batched.hpp
+include/mfem/fem/lor/lor_h1.hpp
+include/mfem/fem/lor/lor_h1_impl.hpp
+include/mfem/fem/lor/lor_nd.hpp
+include/mfem/fem/lor/lor_nd_impl.hpp
+include/mfem/fem/lor/lor_rt.hpp
+include/mfem/fem/lor/lor_rt_impl.hpp
+include/mfem/fem/lor/lor_util.hpp
+include/mfem/fem/moonolith/cut.hpp
+include/mfem/fem/moonolith/mortarassembler.hpp
+include/mfem/fem/moonolith/mortarintegrator.hpp
+include/mfem/fem/moonolith/pmortarassembler.hpp
+include/mfem/fem/moonolith/transfer.hpp
+include/mfem/fem/moonolith/transferutils.hpp
 include/mfem/fem/multigrid.hpp
 include/mfem/fem/nonlinearform.hpp
 include/mfem/fem/nonlinearform_ext.hpp
 include/mfem/fem/nonlininteg.hpp
+include/mfem/fem/normal_deriv_restriction.hpp
 include/mfem/fem/pbilinearform.hpp
 include/mfem/fem/pfespace.hpp
 include/mfem/fem/pgridfunc.hpp
 include/mfem/fem/plinearform.hpp
 include/mfem/fem/pnonlinearform.hpp
 include/mfem/fem/prestriction.hpp
+include/mfem/fem/qfunction.hpp
 include/mfem/fem/qinterp/dispatch.hpp
 include/mfem/fem/qinterp/eval.hpp
 include/mfem/fem/qinterp/grad.hpp
+include/mfem/fem/qspace.hpp
 include/mfem/fem/quadinterpolator.hpp
 include/mfem/fem/quadinterpolator_face.hpp
 include/mfem/fem/restriction.hpp
@@ -84,11 +122,13 @@ include/mfem/fem/transfer.hpp
 include/mfem/general/adios2stream.hpp
 include/mfem/general/annotation.hpp
 include/mfem/general/array.hpp
+include/mfem/general/arrays_by_name.hpp
 include/mfem/general/backends.hpp
 include/mfem/general/binaryio.hpp
 include/mfem/general/communication.hpp
 include/mfem/general/cuda.hpp
 include/mfem/general/device.hpp
+include/mfem/general/enzyme.hpp
 include/mfem/general/error.hpp
 include/mfem/general/forall.hpp
 include/mfem/general/gecko.hpp
@@ -96,6 +136,7 @@ include/mfem/general/globals.hpp
 include/mfem/general/hash.hpp
 include/mfem/general/hip.hpp
 include/mfem/general/isockstream.hpp
+include/mfem/general/kdtree.hpp
 include/mfem/general/mem_alloc.hpp
 include/mfem/general/mem_manager.hpp
 include/mfem/general/occa.hpp
@@ -116,12 +157,14 @@ include/mfem/linalg/auxiliary.hpp
 include/mfem/linalg/blockmatrix.hpp
 include/mfem/linalg/blockoperator.hpp
 include/mfem/linalg/blockvector.hpp
+include/mfem/linalg/complex_densemat.hpp
 include/mfem/linalg/complex_operator.hpp
 include/mfem/linalg/constraints.hpp
 include/mfem/linalg/cpardiso.hpp
 include/mfem/linalg/densemat.hpp
 include/mfem/linalg/dinvariants.hpp
 include/mfem/linalg/dtensor.hpp
+include/mfem/linalg/dual.hpp
 include/mfem/linalg/ginkgo.hpp
 include/mfem/linalg/handle.hpp
 include/mfem/linalg/hiop.hpp
@@ -134,6 +177,7 @@ include/mfem/linalg/matrix.hpp
 include/mfem/linalg/mumps.hpp
 include/mfem/linalg/ode.hpp
 include/mfem/linalg/operator.hpp
+include/mfem/linalg/pardiso.hpp
 include/mfem/linalg/petsc.hpp
 include/mfem/linalg/petscinternals.hpp
 include/mfem/linalg/simd.hpp
@@ -155,17 +199,19 @@ include/mfem/linalg/strumpack.hpp
 include/mfem/linalg/sundials.hpp
 include/mfem/linalg/superlu.hpp
 include/mfem/linalg/symmat.hpp
+include/mfem/linalg/tensor.hpp
 include/mfem/linalg/tlayout.hpp
 include/mfem/linalg/tmatrix.hpp
 include/mfem/linalg/ttensor.hpp
 include/mfem/linalg/vector.hpp
+include/mfem/mesh/attribute_sets.hpp
 include/mfem/mesh/element.hpp
+include/mfem/mesh/face_nbr_geom.hpp
 include/mfem/mesh/gmsh.hpp
 include/mfem/mesh/hexahedron.hpp
 include/mfem/mesh/mesh.hpp
 include/mfem/mesh/mesh_headers.hpp
 include/mfem/mesh/mesh_operators.hpp
-include/mfem/mesh/mesquite.hpp
 include/mfem/mesh/ncmesh.hpp
 include/mfem/mesh/ncmesh_tables.hpp
 include/mfem/mesh/nurbs.hpp
@@ -176,6 +222,13 @@ include/mfem/mesh/pumi.hpp
 include/mfem/mesh/pyramid.hpp
 include/mfem/mesh/quadrilateral.hpp
 include/mfem/mesh/segment.hpp
+include/mfem/mesh/spacing.hpp
+include/mfem/mesh/submesh/psubmesh.hpp
+include/mfem/mesh/submesh/ptransfermap.hpp
+include/mfem/mesh/submesh/submesh.hpp
+include/mfem/mesh/submesh/submesh_utils.hpp
+include/mfem/mesh/submesh/transfer_category.hpp
+include/mfem/mesh/submesh/transfermap.hpp
 include/mfem/mesh/tetrahedron.hpp
 include/mfem/mesh/tmesh.hpp
 include/mfem/mesh/triangle.hpp
@@ -189,6 +242,6 @@ lib/cmake/mfem/MFEMConfigVersion.cmake
 lib/cmake/mfem/MFEMTargets-%%CMAKE_BUILD_TYPE%%.cmake
 lib/cmake/mfem/MFEMTargets.cmake
 lib/libmfem.so
-lib/libmfem.so.4.4.0
+lib/libmfem.so.4.7.0
 %%DATADIR%%/config.mk
 %%DATADIR%%/test.mk
diff --git a/science/spheral/Makefile b/science/spheral/Makefile
index 7bb2854e4b5b..0e46ac472e73 100644
--- a/science/spheral/Makefile
+++ b/science/spheral/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	spheral
 DISTVERSIONPREFIX=	v
 DISTVERSION=	2024.06.1
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	science # physics
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -12,7 +12,7 @@ LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/License.txt
 
 BUILD_DEPENDS=	${LOCALBASE}/include/polyclipper2d.hh:math/polyclipper
-LIB_DEPENDS=	libaxom.so:science/axom \
+LIB_DEPENDS=	libaxom_core.so:science/axom \
 		libboost_filesystem.so:devel/boost-libs \
 		libconduit.so:science/conduit \
 		libhdf5.so:science/hdf5 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501180952.50I9qTCu098934>