1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

graphics/dcmtk: use LLVM 15 on powerpc* when 14 is in the system

LLVM 14 crashes:
Assertion failed: (all_of(I->users(), [&InsertedSet](Value *U) { return InsertedSet.contains(cast<Instruction>(U)); }) && "removed instruction should only be used by instructions inserted " "during expansion"), function cleanup, file /usr/local/poudriere/jails/powerpc64-140/usr/src/contrib/llvm-project/llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp, line 2798.
This commit is contained in:
Piotr Kubaj 2022-10-11 22:23:42 +02:00
parent f7a1442b3a
commit fb91445ede

View File

@ -32,4 +32,13 @@ PORTDOCS= *
TEST_TARGET= test test-exhaustive
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if ${ARCH:Mpowerpc*} && ${COMPILER_VERSION} == 140
LLVM_VER= 15
BUILD_DEPENDS+= clang${LLVM_VER}:devel/llvm${LLVM_VER}
CC= ${LOCALBASE}/bin/clang${LLVM_VER}
CXX= ${LOCALBASE}/bin/clang++${LLVM_VER}
.endif
.include <bsd.port.post.mk>