Date: Sat, 23 Nov 2024 08:16:11 GMT From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 18d435c1e3c2 - main - graphics/libjxl: enable AVX512 runtime detection (amd64-only) Message-ID: <202411230816.4AN8GBlB000132@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=18d435c1e3c253c2d10e08b4b5878504c46b43e7 commit 18d435c1e3c253c2d10e08b4b5878504c46b43e7 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2024-11-23 05:55:47 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2024-11-23 08:15:37 +0000 graphics/libjxl: enable AVX512 runtime detection (amd64-only) Upstream default is optimized for bundling or Linux-style micro-packages. FreeBSD currently doesn't split docs/headers/plugins, so minor binary size increase (7 MiB -> 9 MiB) is less important. FreeBSD is primarily used on servers where AVX512 is more common while on old desktops libjxl bloat is dwarfed by many other packages (e.g., firefox, llvm*, gcc*, boost-libs). See also https://github.com/libjxl/libjxl/pull/2627#issuecomment-1618237136 --- graphics/libjxl/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/graphics/libjxl/Makefile b/graphics/libjxl/Makefile index 1ea90da38987..ee421b0d625b 100644 --- a/graphics/libjxl/Makefile +++ b/graphics/libjxl/Makefile @@ -1,7 +1,7 @@ PORTNAME= libjxl DISTVERSIONPREFIX= v DISTVERSION= 0.11.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MAINTAINER= jbeich@FreeBSD.org @@ -23,6 +23,7 @@ GH_TUPLE= libjxl:testdata:ff8d743:testdata/testdata \ webmproject:sjpeg:e5ab130:sjpeg/third_party/sjpeg \ ${NULL} CMAKE_ON= JPEGXL_ENABLE_PLUGINS +CMAKE_ON+= ${AVX512 AVX512_SPR AVX512_ZEN4:L:S/^/JPEGXL_ENABLE_/} CMAKE_OFF= ${BENCHMARK FUZZERS TCMALLOC:L:S/^/JPEGXL_ENABLE_/} CMAKE_OFF+= ${OpenGL GLUT:L:S/^/CMAKE_DISABLE_FIND_PACKAGE_/} # sjpeg CMAKE_OFF+= ${CMAKE_TESTING_ON}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411230816.4AN8GBlB000132>