Skip to content

Commit

Permalink
net/mpich: Unbreak on CURRENT with base clang 17
Browse files Browse the repository at this point in the history
clang version 17.0.6 causes linker errors that break the build on
15.0-CURRENT.  Work around this by building with an older llvm from
ports. This patch is same as commit f25b169.

Thanks to thierry@ for the hint.
  • Loading branch information
rhurlin committed Dec 19, 2023
1 parent 5ddc587 commit eb36006
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions net/mpich/Makefile
Expand Up @@ -78,6 +78,12 @@ CONFIGURE_ARGS= --enable-fast="" \

.include <bsd.port.options.mk>

.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1500005
# linker error when compiling with llvm 17.0.6 on CURRENT
USES+= llvm:max=16
CHOSEN_COMPILER_TYPE= clang
.endif

.for pm in ${OPTIONS_GROUP_PM}
. if ${PORT_OPTIONS:M${pm}}
. if empty(PMLIST)
Expand Down

0 comments on commit eb36006

Please sign in to comment.