aboutsummaryrefslogtreecommitdiff
path: root/cad/gmsh
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2022-12-09 15:09:21 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2022-12-09 15:09:21 +0000
commit80b2d18e6b949cc14aaf2859fe23305c62e17cda (patch)
tree01a0ded4f80c3fed69a92cb6b1da6125f01362ba /cad/gmsh
parent55dfa238e2a1d07f1f7f744337f51e4fbf6235a9 (diff)
downloadports-80b2d18e6b949cc14aaf2859fe23305c62e17cda.tar.gz
ports-80b2d18e6b949cc14aaf2859fe23305c62e17cda.zip
cad/gmsh: fix build on powerpc64
In file included from /wrkdirs/usr/ports/cad/gmsh/work/gmsh-4.11.0-source/src/common/Options.cpp:38: In file included from /wrkdirs/usr/ports/cad/gmsh/work/gmsh-4.11.0-source/src/post/adaptiveData.h:20: In file included from /wrkdirs/usr/ports/cad/gmsh/work/gmsh-4.11.0-source/src/numeric/fullMatrix.h:21: In file included from /wrkdirs/usr/ports/cad/gmsh/work/gmsh-4.11.0-source/contrib/eigen/Eigen/Dense:1: In file included from /wrkdirs/usr/ports/cad/gmsh/work/gmsh-4.11.0-source/contrib/eigen/Eigen/Core:210: /wrkdirs/usr/ports/cad/gmsh/work/gmsh-4.11.0-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 /wrkdirs/usr/ports/cad/gmsh/work/gmsh-4.11.0-source/contrib/eigen/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);\ ^ /usr/lib/clang/13.0.0/include/altivec.h:8472:34: note: 'vec_rsqrt' declared here static vector float __ATTRS_o_ai vec_rsqrt(vector float __a) { ^
Diffstat (limited to 'cad/gmsh')
-rw-r--r--cad/gmsh/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/cad/gmsh/Makefile b/cad/gmsh/Makefile
index a065a6c5f2f3..01b1f4e272fd 100644
--- a/cad/gmsh/Makefile
+++ b/cad/gmsh/Makefile
@@ -29,6 +29,7 @@ USE_XORG= x11 xcursor xext xinerama xfixes xft xrender
CMAKE_ARGS= -DCMAKE_SKIP_RPATH:BOOL=YES
+CXXFLAGS_powerpc64= -mvsx
LDFLAGS+= -lexecinfo
OPTIONS_DEFINE= CGNS DOCS MED OCC SHARED STATIC