On Sat, Jul 13, 2024 at 06:37:05PM +0900, SASANO Takayoshi wrote:
> Hi,
> 
> > Looks like this is, at best, ONLY_FOR_ARCHS=amd64 aarch64
> 
> How about to disable intrinsics at configure like this?
> Even if poorer performance, I prefer to use the library with wider
> architecture.

Could we only set -DLIBUNICODE_USE_INTRINSICS=OFF on the architectures that
require it?


> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/textproc/libunicode/Makefile,v
> diff -u -p -r1.1 Makefile
> --- Makefile  9 Jul 2024 13:56:10 -0000       1.1
> +++ Makefile  13 Jul 2024 09:34:51 -0000
> @@ -35,6 +35,7 @@ CONFIGURE_STYLE =   cmake
>  # set LIBUNICODE_TESTING=OFF (and Catch2 is not used)
>  
>  CONFIGURE_ARGS =     -DLIBUNICODE_TESTING=OFF \
> +                     -DLIBUNICODE_USE_INTRINSICS=OFF \
>                       -DLIBUNICODE_UCD_DIR=${LOCALBASE}/share/unicode/ucd
>  
>  .include <bsd.port.mk>
> 
> 
> -- 
> SASANO Takayoshi (JG1UAA) <[email protected]>
> 

-- 
Antoine

Reply via email to