aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2021-10-22 11:42:18 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2021-10-22 11:42:18 +0000
commit4042b3c074c877c0e22ce76d6026fc0eeb9579a2 (patch)
tree898daf4351ce87e72d319ccc15ccf1af29a3b9aa
parent828299c91a3ae2f5f1d46c240f5304deb85abb98 (diff)
downloadports-4042b3c074c877c0e22ce76d6026fc0eeb9579a2.tar.gz
ports-4042b3c074c877c0e22ce76d6026fc0eeb9579a2.zip
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
-rw-r--r--math/pdal/Makefile2
1 files changed, 2 insertions, 0 deletions
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 \