Page MenuHomeFreeBSD

graphics/cloudcompare: fix build on powerpc64
ClosedPublic

Authored by pkubaj on Aug 1 2019, 7:35 PM.

Details

Summary

This port tries to use SSE instrinsics. Add to CXXFLAGS on powerpc64 -DNO_WARN_X86_INTRINSICS -mvsx, which enable using SSE to Altivec translation layer. Because of that, also use new GCC. Note that intrinsics translations needs VSX, which is only supported on POWER8 and newer, but this port doesn't currently work on powerpc64 anyway.

Limit -Wno-narrowing to only clang, gcc doesn't support it.

Also add USES=gl for PLUGINS option.

PR: 239575

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

pkubaj created this revision.Aug 1 2019, 7:35 PM
pkubaj retitled this revision from graphics/cloudcompare: fix build on powerpc64 This port tries to use SSE instrinsics. Add to CXXFLAGS on powerpc64 -DNO_WARN_X86_INTRINSICS -mvsx, which enable using SSE to Altivec translation layer. Because of that, also use new GCC. Note that... to graphics/cloudcompare: fix build on powerpc64.Aug 1 2019, 7:42 PM
pkubaj edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Aug 4 2019, 5:57 PM
This revision was automatically updated to reflect the committed changes.