Welcome! Log In Create A New Profile

Advanced

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

Sergey Kandaurov
May 02, 2022 08:46AM
details: https://hg.nginx.org/nginx/rev/35afae4b3dff
branches:
changeset: 8010:35afae4b3dff
user: Sergey Kandaurov <pluknet@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
;;
_______________________________________________
nginx-devel mailing list -- nginx-devel@nginx.org
To unsubscribe send an email to nginx-devel-leave@nginx.org
Subject Author Views Posted

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

Sergey Kandaurov 558 May 02, 2022 08:46AM



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

Online Users

Guests: 242
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready