summaryrefslogtreecommitdiff
path: root/cad/py-gmsh
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2023-08-13 16:11:03 +0200
committerPiotr Kubaj <pkubaj@FreeBSD.org>2023-08-13 16:48:47 +0200
commitd306cbb9224c05944f49009212f079d141b9d306 (patch)
treed3055e2e70e972e93c7338e10a992256dac064d9 /cad/py-gmsh
parentgames/widelands: enable LTO on powerpc64 (diff)
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
Diffstat (limited to 'cad/py-gmsh')
-rw-r--r--cad/py-gmsh/Makefile2
1 files changed, 2 insertions, 0 deletions
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 \