HomeFreeBSD

graphics/cloudcompare: fix build on powerpc64

Description

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 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
Approved by: neel@neelc.org (maintainer), tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D21130

Details

Committed
pkubajAug 5 2019, 10:54 AM
Differential Revision
D21130: graphics/cloudcompare: fix build on powerpc64
Parents
rP508158: emulators/qemu2: Mark DEPRECATED
Branches
Unknown
Tags
Unknown