Skip to content
Snippets Groups Projects
Commit 278ced6f authored by Piotr Kubaj's avatar Piotr Kubaj
Browse files

math/py-fastcluster: fix build on powerpc* with LLVM 14 by forcing 15

Assertion failed: ((CGF.CurFuncDecl == nullptr || CGF.Builder.getIsFPConstrained() || isa<CXXConstructorDecl>(CGF.CurFuncDecl) || isa<CXXDestructorDecl>(CGF.CurFuncDecl) || (NewExceptionBehavior == llvm::fp::ebIgnore && NewRoundingBehavior == llvm::RoundingMode::NearestTiesToEven)) && "FPConstrained should be enabled on entire function"), function ConstructorHelper, file /usr/local/poudriere/jails/main-powerpc64/usr/src/contrib/llvm-project/clang/lib/CodeGen/CodeGenFunction.cpp, line 163.
parent 0094bd24
No related branches found
No related tags found
No related merge requests found
......@@ -14,10 +14,19 @@ LICENSE_FILE= ${WRKSRC}/COPYING.txt
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.9,1:math/py-numpy@${PY_FLAVOR}
USES= python:3.7+
USES= compiler python:3.7+
USE_PYTHON= autoplist concurrent distutils
.include <bsd.port.pre.mk>
.if ${ARCH:Mpowerpc*} && ${COMPILER_VERSION} == 140
BUILD_DEPENDS+= clang15:devel/llvm15
CPP= clang-cpp15
CC= clang15
CXX= clang++15
.endif
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
.include <bsd.port.mk>
.include <bsd.port.post.mk>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment