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
This commit is contained in:
Piotr Kubaj 2023-08-13 16:11:03 +02:00
parent 8a2409e83d
commit d306cbb922

View file

@ -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 \