Summary: | graphics/cloudcompare: fix build on powerpc64 | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Piotr Kubaj <pkubaj> | ||||
Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | nc | ||||
Priority: | --- | Flags: | nc:
maintainer-feedback+
|
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Fine with me. A commit references this bug: Author: pkubaj Date: Mon Aug 5 10:54:50 UTC 2019 New revision: 508159 URL: https://svnweb.freebsd.org/changeset/ports/508159 Log: 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 Changes: head/graphics/cloudcompare/Makefile |
Created attachment 206196 [details] patch 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.