Welcome! Log In Create A New Profile

Advanced

Re: [PATCH] Configure: recognize arm64 machine name as a synonym for aarch64

Maxim Dounin
April 30, 2022 06:26PM
Hello!

On Fri, Apr 29, 2022 at 05:39:18PM +0400, Sergey Kandaurov wrote:

> # HG changeset patch
> # User Sergey Kandaurov <pluknet@nginx.com>
> # Date 1651239481 -14400
> # Fri Apr 29 17:38:01 2022 +0400
> # Node ID 35afae4b3dffff6718c0cab3ceb16b9de207c20a
> # Parent a736a7a613ea6e182ff86fbadcb98bb0f8891c0b
> Configure: recognize arm64 machine name as a synonym for aarch64.
>
> In particular, this sets a reasonable cacheline size on FreeBSD and macOS,
> which prefer to use this name and both lack _SC_LEVEL1_DCACHE_LINESIZE.
>
> diff --git a/auto/os/conf b/auto/os/conf
> --- a/auto/os/conf
> +++ b/auto/os/conf
> @@ -110,7 +110,7 @@ case "$NGX_MACHINE" in
> NGX_MACH_CACHE_LINE=64
> ;;
>
> - aarch64 )
> + aarch64 | arm64)
> have=NGX_ALIGNMENT value=16 . auto/define
> NGX_MACH_CACHE_LINE=64
> ;;

Looks good.

--
Maxim Dounin
http://mdounin.ru/
_______________________________________________
nginx-devel mailing list -- nginx-devel@nginx.org
To unsubscribe send an email to nginx-devel-leave@nginx.org
Subject Author Views Posted

[PATCH] Configure: recognize arm64 machine name as a synonym for aarch64

Sergey Kandaurov 212 April 29, 2022 09:42AM

Re: [PATCH] Configure: recognize arm64 machine name as a synonym for aarch64

Maxim Dounin 31 April 30, 2022 06:26PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 70
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready