Re: git: 9b64ddbf47c1 - main - math/parmetis: switch integers size to 32 bits by default
Date: Mon, 28 Sep 2026 17:27:11 UTC
I noticed a PORTREVISION bump for math/metis but not for here.
I mention it in case it was not intentional.
On Mon, Sep 28, 2026, at 12:52 PM, Thierry Thomas wrote:
> The branch main has been updated by thierry:
>
> URL:
> https://cgit.FreeBSD.org/ports/commit/?id=9b64ddbf47c1a6b5925a198112901b52d663d182
>
> commit 9b64ddbf47c1a6b5925a198112901b52d663d182
> Author: Thierry Thomas <thierry@FreeBSD.org>
> AuthorDate: 2026-09-27 15:57:20 +0000
> Commit: Thierry Thomas <thierry@FreeBSD.org>
> CommitDate: 2026-09-28 16:51:50 +0000
>
> math/parmetis: switch integers size to 32 bits by default
>
> Same reason than math/metis.
> ---
> math/parmetis/Makefile | 16 ++++++++++------
> 1 file changed, 10 insertions(+), 6 deletions(-)
>
> diff --git a/math/parmetis/Makefile b/math/parmetis/Makefile
> index 7b20fa1d7bf1..ac0b9b9c1b32 100644
> --- a/math/parmetis/Makefile
> +++ b/math/parmetis/Makefile
> @@ -24,11 +24,19 @@ CONFIGURE_ENV= MPI_HOME="${MPI_HOME}"
> USE_LDCONFIG= yes
>
> OPTIONS_DEFINE= OPENMPI STATIC
> +OPTIONS_DEFINE_amd64= LONGINDEX
> +OPTIONS_DEFINE_aarch64= LONGINDEX
> +OPTIONS_DEFINE_powerpc64=LONGINDEX
> +OPTIONS_DEFINE_powerpc64le=LONGINDEX
> +OPTIONS_DEFINE_riscv64= LONGINDEX
> +
> +LONGINDEX_DESC= set indexes to 64 bits
> OPENMPI_DESC= Use OpenMPI instead of MPICH
> OPTIONS_SUB= yes
>
> -OPENMPI_USES= mpi:openmpi
> -OPENMPI_USES_OFF= mpi
> +LONGINDEX_CMAKE_BOOL= METIS_USE_LONGINDEX
> +OPENMPI_USES= mpi:openmpi
> +OPENMPI_USES_OFF= mpi
>
> STATIC_DESC= Do not build and install shared library
> STATIC_VARS_OFF= SH_FLAG="shared=1"
> @@ -43,10 +51,6 @@ CFLAGS+= -fPIC
>
> .include <bsd.port.options.mk>
>
> -.if ((${ARCH}=="amd64") || (${ARCH}=="aarch64") || (${ARCH}=="ppc64"))
> -CFLAGS+= -DMETIS_USE_LONGINDEX
> -.endif
> -
> pre-configure:
> @${MKDIR} ${WRKSRC}/metis
> ${CP} -Rp "`${METIS_WRKSRC}`"/* ${WRKSRC}/metis
--
Dan Langille
dan@langille.org