git: 228ab3bb997d - 2024Q3 - net/mpich: Fix build error on i386 CURRENT
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 18 Sep 2024 07:29:34 UTC
The branch 2024Q3 has been updated by dim: URL: https://cgit.FreeBSD.org/ports/commit/?id=228ab3bb997d6c299b0ab05b3ba8179991f3eb80 commit 228ab3bb997d6c299b0ab05b3ba8179991f3eb80 Author: Laurent Chardon <laurent.chardon@gmail.com> AuthorDate: 2024-08-12 11:06:31 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2024-09-18 07:27:57 +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 (cherry picked from commit 510403c1998e0f3b3890a97333f6b654db94beec) --- net/mpich/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/net/mpich/Makefile b/net/mpich/Makefile index 2be87db25831..9644466d877d 100644 --- a/net/mpich/Makefile +++ b/net/mpich/Makefile @@ -81,9 +81,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