Skip to content

Commit

Permalink
multimedia/vvdec: enable on powerpc64, remove incorrect ONLY_FOR_ARCH…
Browse files Browse the repository at this point in the history
…S_REASON

Like other ports, powerpc64 needs to have LTO disabled.
  • Loading branch information
pkubaj committed Feb 15, 2022
1 parent 75e714c commit dafebd8
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions multimedia/vvdec/Makefile
Expand Up @@ -9,8 +9,7 @@ COMMENT= Versatile Video Coding (VVC) decoder
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt

ONLY_FOR_ARCHS= amd64 powerpc64le
ONLY_FOR_ARCHS_REASON= uses explicit SSE instructions without any way to turn them off, can be removed once this bug is fixed: https://github.com/fraunhoferhhi/vvdec/issues/9; also is for 64-bit systems
ONLY_FOR_ARCHS= amd64 powerpc64 powerpc64le

USES= cmake compiler:c++14-lang
USE_LDCONFIG= yes
Expand All @@ -21,4 +20,10 @@ GH_ACCOUNT= fraunhoferhhi
CMAKE_ON= BUILD_SHARED_LIBS
CMAKE_OFF= FREEBSD_VVDEC_ENABLE_X86_SIMD

.include <bsd.port.options.mk>

.if ${ARCH} == powerpc64
CMAKE_ARGS+= -DVVDEC_ENABLE_LINK_TIME_OPT:BOOL=OFF
.endif

.include <bsd.port.mk>

0 comments on commit dafebd8

Please sign in to comment.