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

Sergey Kandaurov pluknet at nginx.com
Mon May 2 12:42:46 UTC 2022


details:   https://hg.nginx.org/nginx/rev/35afae4b3dff
branches:  
changeset: 8010:35afae4b3dff
user:      Sergey Kandaurov <pluknet at nginx.com>
date:      Fri Apr 29 17:38:01 2022 +0400
description:
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.

diffstat:

 auto/os/conf |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r a736a7a613ea -r 35afae4b3dff auto/os/conf
--- a/auto/os/conf	Tue Feb 08 17:35:27 2022 +0300
+++ b/auto/os/conf	Fri Apr 29 17:38:01 2022 +0400
@@ -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
     ;;



More information about the nginx-devel mailing list