diff --git a/graphics/glvis/Makefile b/graphics/glvis/Makefile index 027befcdc6f8..75e19da23761 100644 --- a/graphics/glvis/Makefile +++ b/graphics/glvis/Makefile @@ -1,46 +1,46 @@ PORTNAME= glvis DISTVERSION= 4.3.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= https://glvis.github.io/releases/ PKGNAMESUFFIX= -mesh-visualizer # other software also has the name glvis DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= yuri@FreeBSD.org COMMENT= Lightweight tool for accurate & flexible finite element visualization WWW= https://glvis.org \ https://github.com/glvis/glvis LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= glm>0:math/glm \ xxd:editors/vim LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libHYPRE.so:science/hypre \ libmetis.so:math/metis \ libmfem.so:math/mfem \ libpng.so:graphics/png TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}scikit-image>0:graphics/py-scikit-image@${PY_FLAVOR} USES= cmake:testing gl python:test sdl tar:tgz USE_GL= gl glew USE_SDL= sdl2 # the mpi dependency is inherited from math/mfem and not set here for simplicity USE_GITHUB= nodefault GH_TUPLE= GLVis:data:b8092cc:data/tests/data CMAKE_TESTING_ON= ENABLE_TESTS # 5 tests fail, likely because test baseline is for ubuntu CMAKE_ARGS= -DGLVIS_BASELINE_SYS=ubuntu-20.04 # baseline for tests PLIST_FILES= bin/${PORTNAME} BINARY_ALIAS= python3=${PYTHON_CMD} do-install: # workaround for https://github.com/GLVis/glvis/issues/234 ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/glvis ${STAGEDIR}${PREFIX}/bin .include diff --git a/math/mfem/Makefile b/math/mfem/Makefile index 4982ae01cb02..7434da47b5d9 100644 --- a/math/mfem/Makefile +++ b/math/mfem/Makefile @@ -1,55 +1,54 @@ PORTNAME= mfem DISTVERSIONPREFIX= v -DISTVERSION= 4.7 -PORTREVISION= 1 +DISTVERSION= 4.8 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= Lightweight, general, scalable C++ library for finite element methods WWW= https://mfem.org \ https://github.com/mfem/mfem LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LICENSE USES= cmake:testing compiler:c++11-lang USE_GITHUB= yes 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 OPTIONS_SINGLE_MPI= NOMPI MPICH OPENMPI OPTIONS_DEFAULT= METIS MPICH SUPERLU # should be the same MPI choice as in science/hypre OPTIONS_SUB= yes NOMPI_DESC= Build without parallel processing support OPENMPI_CMAKE_ON= -DTPL_ENABLE_MPI=OFF MPICH_USES= mpi:mpich MPICH_CMAKE_ON= -DTPL_ENABLE_MPI=ON MPICH_LIB_DEPENDS= libHYPRE.so:science/hypre \ libmetis.so:math/metis OPENMPI_USES= mpi:openmpi OPENMPI_CMAKE_ON= -DTPL_ENABLE_MPI=ON OPENMPI_LIB_DEPENDS= libHYPRE.so:science/hypre \ libmetis.so:math/metis METIS_DESC= Build with metis METIS_CMAKE_BOOL= MFEM_USE_METIS METIS_LIB_DEPENDS= libmetis.so:math/metis SUPERLU_DESC= Enable SuperLU use SUPERLU_CMAKE_BOOL= MFEM_USE_SUPERLU SUPERLU_CMAKE_ON= -DSuperLUDist_DIR=${LOCALBASE} -DSuperLUDist_INCLUDE_DIRS=${LOCALBASE}/include/superlu SUPERLU_LIB_DEPENDS= libsuperlu_dist.so:math/superlu-dist SUPERLU_LDFLAGS= -L${LOCALBASE}/lib -lsuperlu_dist # workaround for https://github.com/mfem/mfem/issues/3171#issuecomment-1236591028 post-install-SUPERLU-on: # workaround for https://github.com/mfem/mfem/issues/3191 @${REINPLACE_CMD} -e 's|;${LOCALBASE}/include/superlu||' ${STAGEDIR}${PREFIX}/lib/cmake/mfem/MFEMConfig.cmake .include diff --git a/math/mfem/distinfo b/math/mfem/distinfo index b1f0f1520b57..1e2c9487adf4 100644 --- a/math/mfem/distinfo +++ b/math/mfem/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1737154420 -SHA256 (mfem-mfem-v4.7_GH0.tar.gz) = 731bc2665c13d4099f9c9c946eb83ab07cd2e78a9575d4fa62a96cdb40d6ba0f -SIZE (mfem-mfem-v4.7_GH0.tar.gz) = 3808224 +TIMESTAMP = 1761889800 +SHA256 (mfem-mfem-v4.8_GH0.tar.gz) = 65472f732d273832c64b2c39460649dd862df674222c71bfa82cf2da76705052 +SIZE (mfem-mfem-v4.8_GH0.tar.gz) = 4126493 diff --git a/math/mfem/pkg-plist b/math/mfem/pkg-plist index f92dbc093847..b87869c1dcfc 100644 --- a/math/mfem/pkg-plist +++ b/math/mfem/pkg-plist @@ -1,247 +1,265 @@ 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/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/eltrans/eltrans_basis.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 include/mfem/fem/fe/fe_l2.hpp include/mfem/fem/fe/fe_nd.hpp include/mfem/fem/fe/fe_nurbs.hpp include/mfem/fem/fe/fe_pos.hpp +include/mfem/fem/fe/fe_pyramid.hpp include/mfem/fem/fe/fe_rt.hpp include/mfem/fem/fe/fe_ser.hpp include/mfem/fem/fe_coll.hpp include/mfem/fem/fem.hpp include/mfem/fem/fespace.hpp include/mfem/fem/fespacehierarchy.hpp include/mfem/fem/fmsconvert.hpp include/mfem/fem/fmsdatacollection.hpp include/mfem/fem/geom.hpp include/mfem/fem/gridfunc.hpp include/mfem/fem/gslib.hpp include/mfem/fem/hybridization.hpp +include/mfem/fem/hybridization_ext.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/integrator.hpp include/mfem/fem/intrules.hpp include/mfem/fem/intrules_cut.hpp include/mfem/fem/kdtree.hpp +include/mfem/fem/kernel_dispatch.hpp +include/mfem/fem/kernel_reporter.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/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/eval_hdiv.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 include/mfem/fem/sidredatacollection.hpp include/mfem/fem/staticcond.hpp include/mfem/fem/tbilinearform.hpp include/mfem/fem/tbilininteg.hpp include/mfem/fem/tcoefficient.hpp include/mfem/fem/teltrans.hpp include/mfem/fem/tevaluator.hpp include/mfem/fem/tfe.hpp include/mfem/fem/tfespace.hpp include/mfem/fem/tintrules.hpp include/mfem/fem/tmop.hpp include/mfem/fem/tmop/tmop_pa.hpp include/mfem/fem/tmop_amr.hpp include/mfem/fem/tmop_tools.hpp 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 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 include/mfem/general/optparser.hpp include/mfem/general/osockstream.hpp +include/mfem/general/reducers.hpp include/mfem/general/sets.hpp include/mfem/general/socketstream.hpp include/mfem/general/sort_pairs.hpp include/mfem/general/stable3d.hpp include/mfem/general/table.hpp include/mfem/general/tassign.hpp include/mfem/general/text.hpp include/mfem/general/tic_toc.hpp include/mfem/general/version.hpp include/mfem/general/zstr.hpp include/mfem/linalg/amgxsolver.hpp include/mfem/linalg/auxiliary.hpp +include/mfem/linalg/batched/batched.hpp +include/mfem/linalg/batched/gpu_blas.hpp +include/mfem/linalg/batched/magma.hpp +include/mfem/linalg/batched/native.hpp +include/mfem/linalg/batched/solver.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 include/mfem/linalg/hypre.hpp include/mfem/linalg/hypre_parcsr.hpp include/mfem/linalg/invariants.hpp include/mfem/linalg/kernels.hpp +include/mfem/linalg/lapack.hpp include/mfem/linalg/linalg.hpp include/mfem/linalg/matrix.hpp +include/mfem/linalg/mma.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 include/mfem/linalg/simd/auto.hpp include/mfem/linalg/simd/m128.hpp include/mfem/linalg/simd/m256.hpp include/mfem/linalg/simd/m512.hpp include/mfem/linalg/simd/qpx.hpp include/mfem/linalg/simd/qpx256.hpp include/mfem/linalg/simd/sve.hpp include/mfem/linalg/simd/vsx.hpp include/mfem/linalg/simd/vsx128.hpp include/mfem/linalg/simd/x86.hpp include/mfem/linalg/slepc.hpp include/mfem/linalg/solvers.hpp include/mfem/linalg/sparsemat.hpp include/mfem/linalg/sparsesmoothers.hpp 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/ncmesh.hpp include/mfem/mesh/ncmesh_tables.hpp include/mfem/mesh/nurbs.hpp include/mfem/mesh/pmesh.hpp include/mfem/mesh/pncmesh.hpp include/mfem/mesh/point.hpp 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/ncsubmesh.hpp +include/mfem/mesh/submesh/pncsubmesh.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 include/mfem/mesh/vertex.hpp include/mfem/mesh/vtk.hpp include/mfem/mesh/wedge.hpp include/mfem/mfem-performance.hpp include/mfem/mfem.hpp lib/cmake/mfem/MFEMConfig.cmake +lib/cmake/mfem/MFEMConfig.cmake.bak 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.7.0 +lib/libmfem.so.4.8.0 %%DATADIR%%/config.mk %%DATADIR%%/test.mk +@dir include/mfem/fem/gslib diff --git a/science/axom/Makefile b/science/axom/Makefile index 58c94b7ba017..25a79bc28304 100644 --- a/science/axom/Makefile +++ b/science/axom/Makefile @@ -1,81 +1,81 @@ PORTNAME= axom DISTVERSIONPREFIX= v DISTVERSION= 0.10.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= science MAINTAINER= yuri@FreeBSD.org COMMENT= Infrastructure for development of multi-physics applications and tools WWW= https://github.com/LLNL/axom \ https://axom.readthedocs.io/en/develop LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/../LICENSE BROKEN_armv7= use of overloaded operator '[]' is ambiguous, see https://github.com/LLNL/axom/issues/743 BROKEN_i386= use of overloaded operator '[]' is ambiguous, see https://github.com/LLNL/axom/issues/743 BROKEN_powerpc= use of overloaded operator '[]' is ambiguous, see https://github.com/LLNL/axom/issues/743 LIB_DEPENDS= libconduit.so:science/conduit \ libhdf5.so:science/hdf5 \ libHYPRE.so:science/hypre \ libmetis.so:math/metis \ libsiloh5.so:science/silo RUN_DEPENDS= sparsehash>0:devel/sparsehash USES= cmake:testing,noninja compiler:c++11-lang USE_GITHUB= yes GH_ACCOUNT= LLNL GH_TUPLE= LLNL:axom_data:1bff47e:axom_data/../data \ LLNL:blt:9cfe8ae:blt/cmake/blt \ LLNL:uberenv:e7dd3d9:uberenv/../scripts/uberenv CMAKE_OFF= AXOM_ENABLE_DOCS AXOM_ENABLE_EXAMPLES AXOM_ENABLE_TESTS AXOM_ENABLE_EXAMPLES CMAKE_ON= BUILD_SHARED_LIBS CMAKE_TESTING_ON= AXOM_ENABLE_TESTS AXOM_ENABLE_EXAMPLES CMAKE_TESTING_TARGET= all test CMAKE_ARGS= -DCONDUIT_DIR=${LOCALBASE} \ -DHDF5_DIR=${LOCALBASE} \ -DBLT_CXX_STD=c++14 # BLT_CXX_STD=c++14 is required for LLNL/serac LDFLAGS+= -lexecinfo WRKSRC_SUBDIR= src CONFLICTS_INSTALL= libfmt # bundles and installs an incompatible libfmt version: https://github.com/LLNL/axom/issues/561, axom headers include fmt unnecessarily OPTIONS_DEFINE= LUA MFEM OPENMP OPTIONS_SINGLE= MPI OPTIONS_SINGLE_MPI= NOMPI MPICH OPENMPI OPTIONS_DEFAULT= LUA MFEM MPICH #OPENMP LUA,MFEM,MPI are required for LLNL/serac OPTIONS_SUB= yes LUA_USES= lua:54 LUA_CMAKE_ON= -DLUA_DIR=${LUA_BASE} \ -DFREEBSD_LUA_VER_STR=${LUA_VER_STR} \ -DFREEBSD_LUA_VER=${LUA_VER} MFEM_DESC= Use mfem - library for finite element methods MFEM_CMAKE_ON= -DMFEM_DIR=${LOCALBASE} MFEM_LIB_DEPENDS= libmfem.so:math/mfem NOMPI_DESC= Build without parallel processing support NOMPI_BROKEN= https://github.com/LLNL/axom/issues/913 MPICH_USES= mpi:mpich MPICH_CMAKE_ON= -DENABLE_MPI=ON OPENMPI_USES= mpi:openmpi OPENMPI_CMAKE_ON= -DENABLE_MPI=ON OPENMP_CMAKE_BOOL= ENABLE_OPENMP OPENMP_BROKEN= https://github.com/LLNL/axom/issues/911 post-install: # installs headers of a third party library sparsehash: https://github.com/LLNL/axom/issues/365 @${RM} -r ${STAGEDIR}${PREFIX}/include/sparsehash # 2 tests are known to fail, see https://github.com/LLNL/axom/issues/912 # tests don't run in newer revisions, see https://github.com/LLNL/axom/issues/1492 .include diff --git a/science/spheral/Makefile b/science/spheral/Makefile index 8a61ce1aff3d..da4a51d13363 100644 --- a/science/spheral/Makefile +++ b/science/spheral/Makefile @@ -1,80 +1,81 @@ PORTNAME= spheral DISTVERSIONPREFIX= v DISTVERSION= 2025.06.1 +PORTREVISION= 1 CATEGORIES= science # physics MAINTAINER= yuri@FreeBSD.org COMMENT= Environment for hydrodynamical & gravitational numerical simulations WWW= https://github.com/LLNL/spheral LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/include/polyclipper2d.hh:math/polyclipper LIB_DEPENDS= libadiak.so:misc/adiak \ libaxom_core.so:science/axom \ libboost_filesystem.so:devel/boost-libs \ libcamp.so:devel/camp \ libchai.so:devel/chai \ libconduit.so:science/conduit \ libfmt.so:devel/libfmt \ libhdf5.so:science/hdf5 \ libmfem.so:math/mfem \ libosdCPU.so:graphics/opensubdiv \ libpolytope.so:science/polytope \ libqhull_r.so:math/qhull \ libRAJA.so:misc/raja \ libsiloh5.so:science/silo \ libsz.so:science/libaec \ libsundials_core.so:math/sundials \ libumpire.so:devel/umpire USES= cmake:testing compiler:c++14-lang eigen:3 fortran localbase:ldflags lua mpi:mpich python USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= LLNL GH_TUPLE= LLNL:PolyClipper:e1fe47c:PolyClipper/extern/PolyClipper \ LLNL:PYB11Generator:7160812:PYB11Generator/extern/PYB11Generator \ llnl:blt:29eecef:blt/cmake/blt \ llnl:uberenv:126f8de:uberenv/scripts/devtools/uberenv CMAKE_ARGS= -Daneos_DIR=${LOCALBASE} \ -Daxom_DIR=${LOCALBASE} \ -Dboost_DIR=${LOCALBASE} \ -Dconduit_DIR=${LOCALBASE} \ -Deigen_DIR=${LOCALBASE} \ -Dhdf5_DIR=${LOCALBASE} \ -Dopensubdiv_DIR=${LOCALBASE} \ -Dpython_DIR=${LOCALBASE} \ -Dpolyclipper_DIR=${LOCALBASE} \ -Dpolytope_DIR=${LOCALBASE} \ -Dpybind11_DIR=${LOCALBASE} \ -Dqhull_DIR=${LOCALBASE} \ -Dsilo_DIR=${LOCALBASE} \ -Dzlib_DIR=/usr CMAKE_ARGS+= -DPYTHON_EXECUTABLE=${PYTHON_CMD} \ -DPython_EXECUTABLE=${PYTHON_CMD} \ -DPython3_EXECUTABLE=${PYTHON_CMD} CMAKE_OFF= ENABLE_TESTS ENABLE_DOCS \ ENABLE_ANEOS \ ENABLE_CUDA CMAKE_ON= ENABLE_CXXONLY # disable Python support which is still for Python-2.7, see https://github.com/LLNL/spheral/issues/183 CMAKE_ON+= ENABLE_OPENMP \ USE_EXTERNAL_CHAI \ ENABLE_SUNDIALS CMAKE_TESTING_ON= ENABLE_TESTS # tests fail to build, see https://github.com/LLNL/spheral/issues/230 CXXFLAGS+= -I${LOCALBASE}/include/eigen3 BINARY_ALIAS= git=false python=${PYTHON_CMD} python3=${PYTHON_CMD} post-patch: @${REINPLACE_CMD} -e 's|\.a|.so|; s|qhullstatic|qhull_r|; s|python2\.7|python${PYTHON_VER}|g' ${WRKSRC}/cmake/tpl/*.cmake @${CHMOD} +x ${WRKSRC}/src/helpers/InstantiationGenerator.py post-install: # remove the stray file Spheral/mpi.py @${RM} -r ${STAGEDIR}${PREFIX}/Spheral .include