git: b94f994027a3 - main - converters/simdutf: drop power8-vector requirement
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 11 Sep 2026 12:50:10 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=b94f994027a33b56620c095af46a9cd8a78ed9fd
commit b94f994027a33b56620c095af46a9cd8a78ed9fd
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2026-09-03 08:20:50 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2026-09-11 12:49:14 +0000
converters/simdutf: drop power8-vector requirement
Allows to build on baseline G5.
---
converters/simdutf/Makefile | 2 --
converters/simdutf/files/patch-include_simdutf_portability.h | 11 +++++++++++
2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/converters/simdutf/Makefile b/converters/simdutf/Makefile
index 0f987eed94c1..cbdef6ce328a 100644
--- a/converters/simdutf/Makefile
+++ b/converters/simdutf/Makefile
@@ -36,6 +36,4 @@ ICONV_CMAKE_BOOL= SIMDUTF_ICONV
TOOLS_CMAKE_BOOL= SIMDUTF_TOOLS
-CXXFLAGS_powerpc64= -mpower8-vector
-
.include <bsd.port.mk>
diff --git a/converters/simdutf/files/patch-include_simdutf_portability.h b/converters/simdutf/files/patch-include_simdutf_portability.h
new file mode 100644
index 000000000000..079147bf9078
--- /dev/null
+++ b/converters/simdutf/files/patch-include_simdutf_portability.h
@@ -0,0 +1,11 @@
+--- include/simdutf/portability.h.orig 2026-09-02 17:18:20 UTC
++++ include/simdutf/portability.h 2026-09-02 17:19:00 UTC
+@@ -110,7 +110,7 @@
+ #elif defined(__aarch64__) || defined(_M_ARM64) || defined(_M_ARM64EC)
+ #define SIMDUTF_IS_ARM64 1
+ #elif defined(__PPC64__) || defined(_M_PPC64)
+- #if defined(__VEC__) && defined(__ALTIVEC__)
++ #if defined(__VEC__) && defined(__ALTIVEC__) && defined(__POWER8_VECTOR__)
+ #define SIMDUTF_IS_PPC64 1
+ #endif
+ #elif defined(__s390__)