Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jun 2026 08:27:04 +0000
From:      Daniel Engberg <diizzy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: a2fb9923e701 - main - multimedia/vapoursynth: Clarify build requirements on amd64
Message-ID:  <6a364ed8.3f163.6e284c39@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a2fb9923e7014adde1da669b8322e5a8b631fc90

commit a2fb9923e7014adde1da669b8322e5a8b631fc90
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2026-06-20 06:19:45 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2026-06-20 08:26:45 +0000

    multimedia/vapoursynth: Clarify build requirements on amd64
    
    Vapoursynth is computational heavy so clarify why build might fail on
    amd64.
    
    Reported by:    vvd
---
 multimedia/vapoursynth/Makefile | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/multimedia/vapoursynth/Makefile b/multimedia/vapoursynth/Makefile
index eeee7de45fb2..71b389e6ebcd 100644
--- a/multimedia/vapoursynth/Makefile
+++ b/multimedia/vapoursynth/Makefile
@@ -29,4 +29,11 @@ COMMENT+= (compatibility mode)
 MESON_ARGS+=    -Denable_x86_asm=false
 .endif
 
+.if defined(CPUTYPE) && ${ARCH} == amd64
+BUILD_FAIL_MESSAGE+= If CPUTYPE is defined but falls under requirements (support for AVX2 instruction set) the build will fail. \
+		Building without utilizing the instruction set is possible however with performance penalties. \
+		To disable don't define CPUTYPE during build. \
+
+.endif
+
 .include <bsd.port.mk>


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a364ed8.3f163.6e284c39>