From 97e9098a189d2777b54b0fe3400f51fb3635f621 Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Wed, 21 Dec 2022 00:57:56 +0000 Subject: [PATCH] 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);\ ^ --- math/gismo/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/math/gismo/Makefile b/math/gismo/Makefile index 8e7a46a40742..ee6cfb7e6b89 100644 --- a/math/gismo/Makefile +++ b/math/gismo/Makefile @@ -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 .if ${ARCH} == aarch64