git: dafebd823dca - main - multimedia/vvdec: enable on powerpc64, remove incorrect ONLY_FOR_ARCHS_REASON
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 15 Feb 2022 15:24:30 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=dafebd823dca2906e4f0371a96a861df2c7a30fc commit dafebd823dca2906e4f0371a96a861df2c7a30fc Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2022-02-15 15:19:23 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2022-02-15 15:19:23 +0000 multimedia/vvdec: enable on powerpc64, remove incorrect ONLY_FOR_ARCHS_REASON Like other ports, powerpc64 needs to have LTO disabled. --- multimedia/vvdec/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/multimedia/vvdec/Makefile b/multimedia/vvdec/Makefile index 63e49bd9b7b6..023751befbdb 100644 --- a/multimedia/vvdec/Makefile +++ b/multimedia/vvdec/Makefile @@ -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 @@ -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>