math/gismo: fix build on powerpc64

/wrkdirs/usr/ports/math/gismo/work/gismo-21.12.0-882-g236b1b29/external/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
/wrkdirs/usr/ports/math/gismo/work/gismo-21.12.0-882-g236b1b29/external/Eigen/src/Core/arch/AltiVec/PacketMath.h:1302:22: note: expanded from macro 'BF16_TO_F32_UNARY_OP_WRAPPER'
  Packet4f op_even = OP(a_even);\
                     ^
This commit is contained in:
Piotr Kubaj 2022-12-21 00:57:56 +00:00
parent b908189b75
commit 97e9098a18

View File

@ -22,6 +22,8 @@ GH_TUPLE= gismo:gsElasticity:a94347d:gsElasticity/extensions/gsElasticity \
gismo:gsStructuralAnalysis:f18c4b7:gsStructuralAnalysis/extensions/gsStructuralAnalysis \
gismo:gsUnitTest:7c42e58:gsUnitTest/extensions/gsUnitTest
CXXFLAGS_powerpc64= -mvsx
.include <bsd.port.pre.mk>
.if ${ARCH} == aarch64