git: 651f9fceb3a0 - main - science/PETSc: update 3.21.4 → 3.21.5
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 10 Sep 2024 01:32:56 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=651f9fceb3a0340db3460a5bba7e4ad7e1444939 commit 651f9fceb3a0340db3460a5bba7e4ad7e1444939 Author: Älven <alster@vinterdalen.se> AuthorDate: 2024-09-10 01:32:10 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2024-09-10 01:32:43 +0000 science/PETSc: update 3.21.4 → 3.21.5 PR: 281401 --- science/PETSc/Makefile | 27 ++++++++++++++++----------- science/PETSc/distinfo | 6 +++--- science/PETSc/pkg-plist | 1 + 3 files changed, 20 insertions(+), 14 deletions(-) diff --git a/science/PETSc/Makefile b/science/PETSc/Makefile index 805323e2f80a..a6df3867105a 100644 --- a/science/PETSc/Makefile +++ b/science/PETSc/Makefile @@ -1,12 +1,12 @@ PORTNAME= PETSc -DISTVERSION= 3.21.4 +DISTVERSION= 3.21.5 CATEGORIES= science devel -MASTER_SITES= http://web.cels.anl.gov/projects/petsc/download/release-snapshots/ # was: https://ftp.mcs.anl.gov/pub/petsc/release-snapshots/ +MASTER_SITES= https://web.cels.anl.gov/projects/petsc/download/release-snapshots/ DISTNAME= ${PORTNAME:tl}-${DISTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= Suite of data structures and routines from Argonne National Laboratory -WWW= https://www.mcs.anl.gov/petsc +WWW= https://petsc.org/release/ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE @@ -15,7 +15,14 @@ LIB_DEPENDS= libblis.so:math/blis \ libmpich.so:net/mpich USES= blaslapack cmake:indirect fortran gmake python shebangfix xorg +USE_LDCONFIG= yes +USE_XORG= x11 + +SHEBANG_FILES= configure lib/petsc/bin/*.py lib/petsc/bin/saws/SAWs.py lib/petsc/bin/saws/*.bash config/*.py \ + lib/petsc/bin/petscnagfor share/petsc/chkerrconvert.py + GNU_CONFIGURE= yes +CONFIGURE_LOG= configure.log CONFIGURE_ARGS= --with-shared-libraries=1 \ --with-mpi-dir=${LOCALBASE} \ --with-python=1 --with-python-pkg-config=${LOCALBASE}/libdata/pkgconfig \ @@ -25,27 +32,25 @@ CONFIGURE_ARGS= --with-shared-libraries=1 \ MAKEFLAGS="${MAKEFLAGS}" LDFLAGS="${LDFLAGS}" LIBS="" CONFIGURE_ARGS_amd64= CFLAGS="${CFLAGS} -msse2" CXXFLAGS="${CXXFLAGS} -msse2" CONFIGURE_ARGS_i386= CFLAGS="${CFLAGS} -msse2" CXXFLAGS="${CXXFLAGS} -msse2" -CONFIGURE_ARGS= --with-64-bit-indices # as opposed to 32-bit indices that are default -CONFIGURE_LOG= configure.log -USE_XORG= x11 +CONFIGURE_ARGS+= --with-64-bit-indices # as opposed to 32-bit indices that are default + MAKEFILE= makefile -SHEBANG_FILES= configure lib/petsc/bin/*.py lib/petsc/bin/saws/SAWs.py lib/petsc/bin/saws/*.bash config/*.py \ - lib/petsc/bin/petscnagfor share/petsc/chkerrconvert.py -USE_LDCONFIG= yes TEST_TARGET= test # 152 of 11396 tests (1.3%) fail due to missing files like /usr/local/share/petsc/datafiles/meshes/square_periodic.msh (tests expect the packe to be installed) -BINARY_ALIAS= python=${PYTHON_CMD} LDFLAGS+= ${LOCALBASE}/lib/libmpi.so DATADIR= ${PREFIX}/share/${PORTNAME:tl} +BINARY_ALIAS= python=${PYTHON_CMD} + PLIST_SUB= SHLIB=${DISTVERSION} SHL=${DISTVERSION:C/\.[0-9]$//} OPTIONS_DEFINE= METIS OPTIONS_DEFAULT= METIS METIS_DESC= Enable metis support for graph partitioning algorithms -METIS_CONFIGURE_ON= --with-metis=1 # --with-parmetis=1 to use include/parmetis.h + METIS_LIB_DEPENDS= libmetis.so:math/metis +METIS_CONFIGURE_ON= --with-metis=1 # --with-parmetis=1 to use include/parmetis.h post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpetsc.so.${DISTVERSION} diff --git a/science/PETSc/distinfo b/science/PETSc/distinfo index 811ec91b2693..1e64896b2fdc 100644 --- a/science/PETSc/distinfo +++ b/science/PETSc/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1722410249 -SHA256 (petsc-3.21.4.tar.gz) = a9ae076d4617c7d84ce2bed37194022319c19f19b3930edf148b2bc8ecf2248d -SIZE (petsc-3.21.4.tar.gz) = 17351562 +TIMESTAMP = 1725911982 +SHA256 (petsc-3.21.5.tar.gz) = 4eb1ec04c1a8988bd524f71f8d7d980dc1853d5be8791c0f19f3c09eef71fdd2 +SIZE (petsc-3.21.5.tar.gz) = 17356199 diff --git a/science/PETSc/pkg-plist b/science/PETSc/pkg-plist index 1413632d15dd..82f30198059d 100644 --- a/science/PETSc/pkg-plist +++ b/science/PETSc/pkg-plist @@ -3065,6 +3065,7 @@ libdata/pkgconfig/petsc.pc %%DATADIR%%/examples/src/ksp/ksp/tutorials/network/output/ex4_3.out %%DATADIR%%/examples/src/ksp/ksp/tutorials/output/bench_kspsolve_ksp.out %%DATADIR%%/examples/src/ksp/ksp/tutorials/output/bench_kspsolve_matmult.out +%%DATADIR%%/examples/src/ksp/ksp/tutorials/output/empty.out %%DATADIR%%/examples/src/ksp/ksp/tutorials/output/ex100_1.out %%DATADIR%%/examples/src/ksp/ksp/tutorials/output/ex100_1.testout %%DATADIR%%/examples/src/ksp/ksp/tutorials/output/ex100f_1.out