Welcome! Log In Create A New Profile

Advanced

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

Sergey Kandaurov
April 29, 2022 09:42AM
# 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
;;

_______________________________________________
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 587 April 29, 2022 09:42AM

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

Maxim Dounin 180 April 30, 2022 06:26PM



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

Online Users

Guests: 115
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready