git: d306cbb9224c - main - cad/py-gmsh: fix build on powerpc64
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 13 Aug 2023 14:49:05 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=d306cbb9224c05944f49009212f079d141b9d306 commit d306cbb9224c05944f49009212f079d141b9d306 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2023-08-13 14:11:03 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2023-08-13 14:48:47 +0000 cad/py-gmsh: fix build on powerpc64 /wrkdirs/usr/ports/cad/py-gmsh/work-py39/gmsh-4.11.1-source/contrib/eigen/Eigen/src/Core/arch/AltiVec/PacketMath.h:1345:32: error: use of undeclared identifier 'vec_sqrt'; did you mean 'vec_rsqrt'? BF16_TO_F32_UNARY_OP_WRAPPER(vec_sqrt, a); ^~~~~~~~ vec_rsqrt --- cad/py-gmsh/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cad/py-gmsh/Makefile b/cad/py-gmsh/Makefile index ec4d2a7ebe7a..f7b67343e5c0 100644 --- a/cad/py-gmsh/Makefile +++ b/cad/py-gmsh/Makefile @@ -34,6 +34,8 @@ USE_LDCONFIG= ${PYTHON_SITELIBDIR} CMAKE_ON= ENABLE_WRAP_PYTHON ENABLE_PRIVATE_API ENABLE_OCC CMAKE_ARGS= -DOCC_INC=${LOCALBASE}/include/OpenCASCADE +CXXFLAGS_powerpc64= -mvsx + post-install: # remove all except for the python binding @cd ${STAGEDIR}${PREFIX} && \ ${RM} -r \