git: 510403c1998e - main - net/mpich: Fix build error on i386 CURRENT
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 12 Aug 2024 11:09:31 UTC
The branch main has been updated by uzsolt: URL: https://cgit.FreeBSD.org/ports/commit/?id=510403c1998e0f3b3890a97333f6b654db94beec commit 510403c1998e0f3b3890a97333f6b654db94beec Author: Laurent Chardon <laurent.chardon@gmail.com> AuthorDate: 2024-08-12 11:06:31 +0000 Commit: Zsolt Udvari <uzsolt@FreeBSD.org> CommitDate: 2024-08-12 11:08:32 +0000 net/mpich: Fix build error on i386 CURRENT A workaround existed in net/mpich for a missing feature in llvm 17.0. The feature has been added to llvm 18.1 except for the i386 platform. This patch adds llvm 18.1 i386 to the existing workaround. PR: 280719 Approved by: submitter is maintainer --- net/mpich/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/net/mpich/Makefile b/net/mpich/Makefile index 0ebce9491b4d..a502f2d03a8c 100644 --- a/net/mpich/Makefile +++ b/net/mpich/Makefile @@ -85,9 +85,10 @@ PORTDOCS= * IGNORE= is currently not working with the L0 option. Unset L0 .endif -.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} == 170 +.if ${COMPILER_TYPE} == clang && (${COMPILER_VERSION} == 170 || ${COMPILER_VERSION} == 181 && ${ARCH} == "i386") # linker error when compiling with llvm 17.0.6 on CURRENT - PR 276035 -# To be removed with llvm-18 +# To be removed when all RELEASE and CURRENT no longer need it +# Error remains for i386 and llvm-181 on CURRENT CONFIGURE_ENV+= ac_cv_sizeof___float128=0 .endif