pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/multimedia



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun Dec 22 16:44:30 UTC 2024

Added Files:
        pkgsrc/multimedia/svt-av1: hacks.mk
        pkgsrc/multimedia/x265: hacks.mk

Log Message:
svt-av1, x265: These use ARM NEON intrinsics only supported in GCC>=10


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/multimedia/svt-av1/hacks.mk
cvs rdiff -u -r0 -r1.1 pkgsrc/multimedia/x265/hacks.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/multimedia/svt-av1/hacks.mk
diff -u /dev/null pkgsrc/multimedia/svt-av1/hacks.mk:1.1
--- /dev/null   Sun Dec 22 16:44:30 2024
+++ pkgsrc/multimedia/svt-av1/hacks.mk  Sun Dec 22 16:44:30 2024
@@ -0,0 +1,16 @@
+# $NetBSD: hacks.mk,v 1.1 2024/12/22 16:44:30 nia Exp $
+
+.if !defined(SVT_AV1_HACKS_MK)
+SVT_AV1_HACKS_MK=              # defined
+
+### [Mon Sun Dec 22 17:37:18 CET 2024 : nia]
+### GCC 9 and earlier lack certain ARM NEON intrinsics such as vld1_s16_x2
+###
+.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 100000
+PKG_HACKS+=            neon-intrin
+CMAKE_CONFIGURE_ARGS+= -DENABLE_NEON=OFF
+CMAKE_CONFIGURE_ARGS+= -DENABLE_NEON_DOTPROD=OFF
+CMAKE_CONFIGURE_ARGS+= -DENABLE_NEON_I8MM=OFF
+.endif
+
+.endif

Index: pkgsrc/multimedia/x265/hacks.mk
diff -u /dev/null pkgsrc/multimedia/x265/hacks.mk:1.1
--- /dev/null   Sun Dec 22 16:44:30 2024
+++ pkgsrc/multimedia/x265/hacks.mk     Sun Dec 22 16:44:30 2024
@@ -0,0 +1,16 @@
+# $NetBSD: hacks.mk,v 1.1 2024/12/22 16:44:30 nia Exp $
+
+.if !defined(X265_HACKS_MK)
+X265_HACKS_MK=         # defined
+
+### [Mon Sun Dec 22 17:37:18 CET 2024 : nia]
+### GCC 9 and earlier lack certain ARM NEON intrinsics such as vld1_s16_x2
+###
+.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 100000
+PKG_HACKS+=            neon-intrin
+CMAKE_CONFIGURE_ARGS+= -DENABLE_NEON=OFF
+CMAKE_CONFIGURE_ARGS+= -DENABLE_NEON_DOTPROD=OFF
+CMAKE_CONFIGURE_ARGS+= -DENABLE_NEON_I8MM=OFF
+.endif
+
+.endif



Home | Main Index | Thread Index | Old Index