git: 4042b3c074c8 - main - math/pdal: fix build on powerpc64
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 22 Oct 2021 12:09:08 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=4042b3c074c877c0e22ce76d6026fc0eeb9579a2 commit 4042b3c074c877c0e22ce76d6026fc0eeb9579a2 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2021-10-22 11:42:18 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2021-10-22 11:42:18 +0000 math/pdal: fix build on powerpc64 vec_sqrt() requires VSX: /wrkdirs/usr/ports/math/pdal/work/PDAL-2.3.0/vendor/eigen/Eigen/src/Core/arch/AltiVec/PacketMath.h:1296:32: error: use of undeclared identifier 'vec_sqrt'; did you mean 'vec_rsqrte'? BF16_TO_F32_UNARY_OP_WRAPPER(vec_sqrt, a); ^~~~~~~~ vec_rsqrte --- math/pdal/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/math/pdal/Makefile b/math/pdal/Makefile index 185b3822ecab..bc36b5322856 100644 --- a/math/pdal/Makefile +++ b/math/pdal/Makefile @@ -68,6 +68,8 @@ MBIO_CMAKE_BOOL= BUILD_PLUGIN_MBIO PGPOINTCLOUD_CMAKE_BOOL= BUILD_PLUGIN_PGPOINTCLOUD PGPOINTCLOUD_USES= pgsql +CXXFLAGS_powerpc64= -mvsx + post-install-BASH-on: ${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions ${INSTALL_DATA} ${WRKSRC}/scripts/bash-completion/pdal \