git: 4b3b879fbb62 - main - devel/py-bullet3: fix build on powerpc64
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 04 Jan 2022 18:17:52 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=4b3b879fbb62b74b87c0d7eaecb2bb3890c1d561 commit 4b3b879fbb62b74b87c0d7eaecb2bb3890c1d561 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2022-01-04 18:11:37 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2022-01-04 18:11:37 +0000 devel/py-bullet3: fix build on powerpc64 In file included from examples/ThirdPartyLibs/Eigen/Core:211: examples/ThirdPartyLibs/Eigen/src/Core/arch/AltiVec/PacketMath.h:1345:32: error: use of undeclared identifier 'vec_sqrt'; did you mean 'vec_rsqrte'? BF16_TO_F32_UNARY_OP_WRAPPER(vec_sqrt, a); ^~~~~~~~ vec_rsqrte --- devel/py-bullet3/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/devel/py-bullet3/Makefile b/devel/py-bullet3/Makefile index f5242b951373..167c9b74d5ad 100644 --- a/devel/py-bullet3/Makefile +++ b/devel/py-bullet3/Makefile @@ -19,6 +19,8 @@ USE_GL= gl glew USE_GITHUB= yes GH_ACCOUNT= bulletphysics +CFLAGS_powerpc64= -mvsx + post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pybullet*.so