Skip to content

Commit

Permalink
devel/boost-all: Use clang from base for OSVERSION >= 1500017
Browse files Browse the repository at this point in the history
In https://cgit.freebsd.org/src/commit/?id=bcd401b5a39c I committed a
fix for clang's assertion failures when building recent boost libraries.
I also bumped __FreeBSD_version to 1500017 so this can be detected from
devel/boost-all/compiled.mk.

The fix was also merged to stable/14, with __FreeBSD_version 1400509,
and stable/13, with __FreeBSD_version 1303502.

Adjust the ranges to use the default llvm port to [1500000..1500017>,
[1400000..1400509>, and [1300000..1303502>.

PR:		277850
Approved by:	fluffy (maintainer)
MFH:		2024Q1
  • Loading branch information
DimitryAndric committed Mar 23, 2024
1 parent 4a943f5 commit 3b8c51b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions devel/boost-all/compiled.mk
Expand Up @@ -43,8 +43,10 @@ MAKE_ARGS+= pch=off

.include <bsd.port.options.mk>

.if ${OPSYS} == FreeBSD && (${OSVERSION} >= 1500000 || \
(${OSVERSION} >= 1400000 && ${OSVERSION} < 1400097))
.if ${OPSYS} == FreeBSD && \
((${OSVERSION} >= 1500000 && ${OSVERSION} < 1500017) || \
(${OSVERSION} >= 1400000 && ${OSVERSION} < 1400509) || \
(${OSVERSION} >= 1300000 && ${OSVERSION} < 1303502))
USES+= llvm:build
CHOSEN_COMPILER_TYPE= clang
.else
Expand Down

0 comments on commit 3b8c51b

Please sign in to comment.