comparison auto/os/conf @ 8010:35afae4b3dff

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.
author Sergey Kandaurov <pluknet@nginx.com>
date Fri, 29 Apr 2022 17:38:01 +0400
parents e4c21e417277
children
comparison
equal deleted inserted replaced
8009:a736a7a613ea 8010:35afae4b3dff
108 have=NGX_ALIGNMENT value=16 . auto/define 108 have=NGX_ALIGNMENT value=16 . auto/define
109 # TODO 109 # TODO
110 NGX_MACH_CACHE_LINE=64 110 NGX_MACH_CACHE_LINE=64
111 ;; 111 ;;
112 112
113 aarch64 ) 113 aarch64 | arm64)
114 have=NGX_ALIGNMENT value=16 . auto/define 114 have=NGX_ALIGNMENT value=16 . auto/define
115 NGX_MACH_CACHE_LINE=64 115 NGX_MACH_CACHE_LINE=64
116 ;; 116 ;;
117 117
118 *) 118 *)