diff --git a/graphics/glvis/Makefile b/graphics/glvis/Makefile index 67b7bb228f0a..36a302e5da74 100644 --- a/graphics/glvis/Makefile +++ b/graphics/glvis/Makefile @@ -1,43 +1,43 @@ PORTNAME= glvis DISTVERSION= 4.2 -PORTREVISION= 3 +PORTREVISION= 4 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/ 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 USE_GITHUB= nodefault GH_TUPLE= GLVis:data:1fc2954: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 728c574aa833..fa164cc17a23 100644 --- a/math/mfem/Makefile +++ b/math/mfem/Makefile @@ -1,53 +1,53 @@ PORTNAME= mfem DISTVERSIONPREFIX= v DISTVERSION= 4.4 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= Lightweight, general, scalable C++ library for finite element methods WWW= https://mfem.org/ 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 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/science/code_saturne/Makefile b/science/code_saturne/Makefile index bf5d5fd08c95..2ed1056fd580 100644 --- a/science/code_saturne/Makefile +++ b/science/code_saturne/Makefile @@ -1,131 +1,131 @@ PORTNAME= code_saturne PORTVERSION= 7.1.1 DISTVERSIONPREFIX= v -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= science parallel MAINTAINER= thierry@FreeBSD.org COMMENT= EDF's general purpose Computational Fluid Dynamics (CFD) software WWW= https://www.code-saturne.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= gsed:textproc/gsed LIB_DEPENDS= libsysinfo.so:devel/libsysinfo \ libcgns.so:science/cgnslib \ libhdf5.so:science/hdf5 \ libmedC.so:french/med RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \ xmgrace:math/grace \ bash:shells/bash \ xterm:x11/xterm USE_GITHUB= yes GH_ACCOUNT= code-saturne USES= autoreconf bison compiler:c11 fortran gettext gnome gmake \ iconv localbase libtool pyqt:5 python:3.7+ shebangfix xorg USE_GNOME= libxml2 USE_PYQT= pyqt5 sip USE_XORG= x11 SHEBANG_FILES= install_saturne.py tests/unittests.py bin/*.py build-aux/*.py CFLAGS+= -D__XSI_VISIBLE CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libxml2 GNU_CONFIGURE= yes CONFIGURE_ARGS= --without-salome --without-salome-yacs --without-salome-kernel \ --without-salome-gui --enable-python CONFIGURE_ENV= ac_cv_path_SED=${LOCALBASE}/bin/gsed USE_LDCONFIG= yes INSTALL_TARGET= install-strip BINARY_ALIAS= python=${PYTHON_CMD} \ pyrcc5=pyrcc5-${PYTHON_VER} \ pyuic5=pyuic5-${PYTHON_VER} OPTIONS_DEFINE= DOCS EXAMPLES BATCH BLAS HYPRE MPICH MUMPS PETSC SCOTCH OPTIONS_DEFAULT= BATCH BLAS HYPRE METIS MPICH MUMPS PETSC SCOTCH OPTIONS_RADIO= METIS OPTIONS_RADIO_METIS= METIS PARMETIS OPTIONS_SUB= yes BLAS_DESC= Support of BLAS BLAS_USES= blaslapack BLAS_CONFIGURE_ON= --with-blas=yes --with-blas-type=BLAS \ --with-blas-include=${LOCALBASE}/include/cblas \ --with-blas-lib=${LOCALBASE}/lib BLAS_LIB_DEPENDS= libcblas.so:math/cblas BATCH_DESC= Use Torque to submit batches BATCH_RUN_DEPENDS= pbs-config:sysutils/torque HYPRE_DESC= Support of HYPRE HYPRE_BUILD_DEPENDS= hypre>0:science/hypre HYPRE_RUN_DEPENDS= hypre>0:science/hypre HYPRE_CONFIGURE_ON= --with-hypre="${LOCALBASE}" MPICH_USES= mpi MPICH_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mpi4py>0:net/py-mpi4py@${PY_FLAVOR} MPICH_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mpi4py>0:net/py-mpi4py@${PY_FLAVOR} MPICH_CONFIGURE_WITH= mpi METIS_DESC= Support of METIS METIS_LIB_DEPENDS= libmetis.so:math/metis METIS_CONFIGURE_ON= --with-metis-include="${LOCALBASE}/include" MUMPS_DESC= Support of MUMPS MUMPS_LIB_DEPENDS= libsmumps.so:math/mumps MUMPS_CONFIGURE_ON= --with-mumps="${LOCALBASE}" MUMPS_CONFIGURE_ENV= MUMPS_LIBS="-lmpiseq -llapack" PARMETIS_DESC= Support of ParMETIS PARMETIS_LIB_DEPENDS= libparmetis.so:math/parmetis PARMETIS_CONFIGURE_ON= --with-metis-include="${LOCALBASE}/include/parmetis" \ --with-metis-lib="${LOCALBASE}/lib/parmetis" PARMETIS_CONFIGURE_ENV= LIBS=-lexecinfo PETSC_DESC= Support of PETSc PETSC_LIB_DEPENDS= libpetsc.so:science/PETSc PETSC_CONFIGURE_ON= --with-petsc="${LOCALBASE}" SCOTCH_DESC= Support of Scotch SCOTCH_LIB_DEPENDS= libscotch.so:cad/scotch SCOTCH_CONFIGURE_ON= --with-scotch-include="${LOCALBASE}/include" TEST_TARGET= check .if defined(PACKAGE_BUILDING) TERM= vt100 # Force for pointyhat to override su .else TERM?= vt100 # Default value needed for tput in jail or tinderbox .endif .include .if ${ARCH} == "i386" # /wrkdirs/usr/ports/science/code_saturne/work/code_saturne-5.3.0/src/apps/.libs # /libsaturne.so: # undefined reference to `__atomic_compare_exchange' CONFIGURE_ARGS+= --disable-openmp .endif .if ${PORT_OPTIONS:MDOCS} USES+= tex USE_TEX= tex:build BUILD_DEPENDS+= fig2dev:print/fig2dev \ doxygen:devel/doxygen \ dot:graphics/graphviz \ dvips:print/tex-dvipsk \ ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} BINARY_ALIAS+= sphinx-build=sphinx-build-${PYTHON_VER} ALL_TARGET= all pdf DOCS= AUTHORS ChangeLog README .endif pre-configure: ${REINPLACE_CMD} -e 's|/usr/bin/env python|${PYTHON_CMD}|' \ ${WRKSRC}/Makefile.am ${REINPLACE_CMD} -e 's|make -s|${GMAKE} -s|' ${WRKSRC}/m4/cs_petsc.m4 post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/code_saturne/cs_solver post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOCS:C|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/science/hypre/Makefile b/science/hypre/Makefile index c4ba292c7484..a75b933f38e9 100644 --- a/science/hypre/Makefile +++ b/science/hypre/Makefile @@ -1,48 +1,47 @@ PORTNAME= hypre DISTVERSIONPREFIX= v -DISTVERSION= 2.28.0 -PORTREVISION= 1 +DISTVERSION= 2.29.0 CATEGORIES= science MAINTAINER= yuri@FreeBSD.org COMMENT= Scalable Linear Solvers and Multigrid Methods WWW= https://computing.llnl.gov/projects/hypre-scalable-linear-solvers-multigrid-methods LICENSE= APACHE20 MIT LICENSE_COMB= dual LICENSE_FILE_APACHE20= ${WRKSRC}/../LICENSE-APACHE LICENSE_FILE_MIT= ${WRKSRC}/../LICENSE-MIT USES= blaslapack cmake:testing fortran localbase USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= hypre-space WRKSRC_SUBDIR= src CMAKE_ON= HYPRE_ENABLE_SHARED HYPRE_WITH_OPENMP CMAKE_TESTING_ON= HYPRE_BUILD_TESTS # tests are only built and not run, see https://github.com/hypre-space/hypre/issues/502 OPTIONS_DEFINE= DOCS OPTIONS_SINGLE= MPI OPTIONS_SINGLE_MPI= NOMPI MPICH OPENMPI OPTIONS_DEFAULT= MPICH NOMPI_DESC= Build without parallel processing support NOMPI_CMAKE_ON= -DHYPRE_WITH_MPI=OFF MPICH_USES= mpi:mpich MPICH_CMAKE_ON= -DHYPRE_WITH_MPI=ON OPENMPI_USES= mpi:openmpi OPENMPI_CMAKE_ON= -DHYPRE_WITH_MPI=ON OPENMPI_BROKEN= doesn't switch to openmpi in cmake build, see https://github.com/hypre-space/hypre/issues/720 PORTDOCS= * post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/docs && ${COPYTREE_SHARE} usr-manual ${STAGEDIR}${DOCSDIR} .include diff --git a/science/hypre/distinfo b/science/hypre/distinfo index c8b1fedf02cd..f47013d5aaec 100644 --- a/science/hypre/distinfo +++ b/science/hypre/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1679207557 -SHA256 (hypre-space-hypre-v2.28.0_GH0.tar.gz) = 2eea68740cdbc0b49a5e428f06ad7af861d1e169ce6a12d2cf0aa2fc28c4a2ae -SIZE (hypre-space-hypre-v2.28.0_GH0.tar.gz) = 6801191 +TIMESTAMP = 1687679452 +SHA256 (hypre-space-hypre-v2.29.0_GH0.tar.gz) = 98b72115407a0e24dbaac70eccae0da3465f8f999318b2c9241631133f42d511 +SIZE (hypre-space-hypre-v2.29.0_GH0.tar.gz) = 6832767 diff --git a/science/serac/Makefile b/science/serac/Makefile index d748842a5575..18fee780bf51 100644 --- a/science/serac/Makefile +++ b/science/serac/Makefile @@ -1,54 +1,54 @@ PORTNAME= serac PORTVERSION= g20220823 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= science MAINTAINER= yuri@FreeBSD.org COMMENT= High order nonlinear thermomechanical simulation code WWW= https://github.com/LLNL/serac LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libaxom.so:science/axom \ libconduit.so:science/conduit \ libhdf5.so:science/hdf5 \ libHYPRE.so:science/hypre \ libmfem.so:math/mfem \ libsiloh5.so:science/silo USES= cmake:testing compiler:c++17-lang USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= LLNL GH_TAGNAME= 07b8ef1 GH_TUPLE= LLNL:blt:49971b88e631aba76a9990c7702ceee47a7c3216:LLNL_blt/cmake/blt \ LLNL:uberenv:2cd030dd8fa9ff381900bfbe12fe1eea44a57bb5:LLNL_uberenv/scripts/uberenv \ LLNL:serac_tests:2fee9739eadeb218e99f7f5549e0800df81ca757:LLNL_serac_tests/tests CMAKE_TESTING_ON= ENABLE_TESTS # tests fail to compile, see https://github.com/LLNL/serac/issues/786 CMAKE_ON= BUILD_SHARED_LIBS CMAKE_OFF= ENABLE_TESTS CMAKE_ARGS= -DAXOM_DIR=${LOCALBASE} \ -DCONDUIT_DIR=${LOCALBASE} \ -DMFEM_DIR=${LOCALBASE} OPTIONS_SINGLE= MPI OPTIONS_SINGLE_MPI= MPICH OPENMPI OPTIONS_DEFAULT= MPICH OPTIONS_SUB= yes MPICH_USES= mpi:mpich MPICH_CMAKE_ON= -DENABLE_MPI=ON \ -DMPI_C_COMPILER=${MPICC} \ -DMPI_CXX_COMPILER=${MPICXX} OPENMPI_USES= mpi:openmpi OPENMPI_CMAKE_ON= -DENABLE_MPI=ON \ -DMPI_C_COMPILER=${MPICC} \ -DMPI_CXX_COMPILER=${MPICXX} OPENMPI_BROKEN= mixes OpenMPI and MPICH when both are installed, see https://github.com/LLNL/serac/issues/787 .include