If someone with a powerpc64 system could please try build
testing simdutf.

Index: patches/patch-src_CMakeLists_txt
===================================================================
RCS file: patches/patch-src_CMakeLists_txt
diff -N patches/patch-src_CMakeLists_txt
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_CMakeLists_txt    24 Jul 2026 06:12:51 -0000
@@ -0,0 +1,16 @@
+Fix building on powerpc64 which requires enabling VSX
+
+Index: src/CMakeLists.txt
+--- src/CMakeLists.txt.orig
++++ src/CMakeLists.txt
+@@ -55,6 +55,10 @@ if ((CMAKE_CXX_COMPILER_ID STREQUAL "GNU") AND (CMAKE_
+   target_compile_options(simdutf PRIVATE -maltivec -mvsx -mcpu=power8)
+ endif()
+ 
++if ((CMAKE_CXX_COMPILER_ID STREQUAL "Clang") AND (CMAKE_SYSTEM_PROCESSOR 
MATCHES "^(ppc64|ppc64le)$"))
++  target_compile_options(simdutf PRIVATE -mvsx) 
++endif()
++
+ ##
+ ## Feature-specific library variants for the tools.
+ ## These are NOT installed ??? they exist only to give each tool a smaller 
binary.

Reply via email to