comparison auto/cc/gcc @ 138:8e6d4d96ec4c NGINX_0_3_16

nginx 0.3.16 *) Feature: the ngx_http_map_module. *) Feature: the "types_hash_max_size" and "types_hash_bucket_size" directives. *) Feature: the "ssi_value_length" directive. *) Feature: the "worker_rlimit_core" directive. *) Workaround: the connection number in logs was always 1 if nginx was built by the icc 8.1 or 9.0 compilers with optimization for Pentium 4. *) Bugfix: the "config timefmt" SSI command set incorrect time format. *) Bugfix: nginx did not close connection to IMAP/POP3 backend for the SSL connections; bug appeared in 0.3.13. Thanks to Rob Mueller. *) Bugfix: segmentation fault may occurred in at SSL shutdown; bug appeared in 0.3.13.
author Igor Sysoev <http://sysoev.ru>
date Fri, 16 Dec 2005 00:00:00 +0300
parents 91372f004adf
children ea622d8acb38
comparison
equal deleted inserted replaced
137:768f51dd150b 138:8e6d4d96ec4c
56 56
57 case $CPU in 57 case $CPU in
58 pentium) 58 pentium)
59 # optimize for Pentium and Athlon 59 # optimize for Pentium and Athlon
60 CPU_OPT="-march=pentium" 60 CPU_OPT="-march=pentium"
61 NGX_CPU_CACHE_LINE=32
61 ;; 62 ;;
62 63
63 pentiumpro | pentium3) 64 pentiumpro | pentium3)
64 # optimize for Pentium Pro, Pentium II and Pentium III 65 # optimize for Pentium Pro, Pentium II and Pentium III
65 CPU_OPT="-march=pentiumpro" 66 CPU_OPT="-march=pentiumpro"
67 NGX_CPU_CACHE_LINE=32
66 ;; 68 ;;
67 69
68 pentium4) 70 pentium4)
69 # optimize for Pentium 4, gcc 3.x 71 # optimize for Pentium 4, gcc 3.x
70 CPU_OPT="-march=pentium4" 72 CPU_OPT="-march=pentium4"
73 NGX_CPU_CACHE_LINE=128
71 ;; 74 ;;
72 75
73 athlon) 76 athlon)
74 # optimize for Athlon, gcc 3.x 77 # optimize for Athlon, gcc 3.x
75 CPU_OPT="-march=athlon" 78 CPU_OPT="-march=athlon"
79 NGX_CPU_CACHE_LINE=64
76 ;; 80 ;;
77 81
78 opteron) 82 opteron)
79 # optimize for Opteron, gcc 3.x 83 # optimize for Opteron, gcc 3.x
80 CPU_OPT="-march=opteron" 84 CPU_OPT="-march=opteron"
85 NGX_CPU_CACHE_LINE=64
81 ;; 86 ;;
82 87
83 sparc32) 88 sparc32)
84 # build 32-bit UltraSparc binary 89 # build 32-bit UltraSparc binary
85 CPU_OPT="-m32" 90 CPU_OPT="-m32"
86 CORE_LINK="$CORE_LINK -m32" 91 CORE_LINK="$CORE_LINK -m32"
87 CC_AUX_FLAGS="$CC_AUX_FLAGS -m32" 92 CC_AUX_FLAGS="$CC_AUX_FLAGS -m32"
93 NGX_CPU_CACHE_LINE=64
88 ;; 94 ;;
89 95
90 sparc64) 96 sparc64)
91 # build 64-bit UltraSparc binary 97 # build 64-bit UltraSparc binary
92 CPU_OPT="-m64" 98 CPU_OPT="-m64"
93 CORE_LINK="$CORE_LINK -m64" 99 CORE_LINK="$CORE_LINK -m64"
94 CC_AUX_FLAGS="$CC_AUX_FLAGS -m64" 100 CC_AUX_FLAGS="$CC_AUX_FLAGS -m64"
101 NGX_CPU_CACHE_LINE=64
95 ;; 102 ;;
96 103
97 esac 104 esac
98 105
99 106