Date: Fri, 9 Dec 2022 15:09:25 GMT From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 80b2d18e6b94 - main - cad/gmsh: fix build on powerpc64 Message-ID: <202212091509.2B9F9PMN030731@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=80b2d18e6b949cc14aaf2859fe23305c62e17cda commit 80b2d18e6b949cc14aaf2859fe23305c62e17cda Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2022-12-09 15:09:21 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2022-12-09 15:09:21 +0000 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) { ^ --- cad/gmsh/Makefile | 1 + 1 file changed, 1 insertion(+) 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202212091509.2B9F9PMN030731>