mirror of
https://github.com/cmz0228/hysteria-dev.git
synced 2025-06-15 16:59:52 +00:00
Revert "feat(install_server.sh): auto detect amd64-avx"
some vps have avx in their /proc/cpuinfo but actually not support it This reverts commit f203ab901e15df6b6f05d066957e367594490339.
This commit is contained in:
parent
042f42b655
commit
a5647379b1
@ -331,12 +331,6 @@ check_environment_architecture() {
|
||||
;;
|
||||
'amd64' | 'x86_64')
|
||||
ARCHITECTURE='amd64'
|
||||
# check avx
|
||||
if [[ -z "$VERSION" ]] || [[ "$(vercmp "$VERSION" 'v1.3.2')" -ge 0 ]]; then
|
||||
if grep -qs 'flags\s*:.* avx ' /proc/cpuinfo; then
|
||||
ARCHITECTURE='amd64-avx'
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
'armv5tel' | 'armv6l' | 'armv7' | 'armv7l')
|
||||
ARCHITECTURE='arm'
|
||||
|
Loading…
x
Reference in New Issue
Block a user