#66602 closed defect (fixed)

nanoflann uses unsupported insns on PPC

Reported by: barracuda156 Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: powerpc Cc:
Port: nanoflann, eigen3

Description

:info:build /opt/local/include/eigen3/Eigen/src/Core/arch/AltiVec/PacketMath.h: In function 'Packet Eigen::internal::pcmp_le(const Packet&, const Packet&) [with Packet = __vector(4) int]':
:info:build /opt/local/include/eigen3/Eigen/src/Core/arch/AltiVec/PacketMath.h:875:123: error: '__builtin_vsx_cmpge_4si' requires the '-mvsx' option
:info:build   875 | template<> EIGEN_STRONG_INLINE Packet4i pcmp_le(const Packet4i& a, const Packet4i& b) { return reinterpret_cast<Packet4i>(vec_cmple(a,b)); }
:info:build       |

Attachments (1)

nanoflann.txt (137.2 KB) - added by barracuda156 16 months ago.

Download all attachments as: .zip

Change History (5)

Changed 16 months ago by barracuda156

Attachment: nanoflann.txt added

comment:1 Changed 16 months ago by barracuda156

Apparently eigen3 bug.

comment:2 Changed 16 months ago by barracuda156

Port: eigen3 added

comment:3 Changed 16 months ago by barracuda156

Well, in fact it should not build examples at all (that is why dependency on eigen3 is not declared), but configure arg is wrong, so examples are being built.

comment:4 Changed 16 months ago by barracuda156

Resolution: fixed
Status: assignedclosed

In 31eb2b3803a6074108082b618d161038ad903822/macports-ports (master):

nanoflann: fix configure arg NANOFLANN_BUILD_EXAMPLES=OFF
Fixes: #66602

Note: See TracTickets for help on using tickets.