Merge pull request #181 from hydro-b/improve_arch_detection
Improve arch detection, add "aarch64" as arm64 platform
This commit is contained in:
commit
12e7341afe
|
|
@ -20,7 +20,7 @@ if [ "$ARCH" = "x86_64" ] || [ "$ARCH" = "amd64" ]; then
|
||||||
ARCH="x86_64|amd64"
|
ARCH="x86_64|amd64"
|
||||||
elif [[ $ARCH == *386* ]] || [[ $ARCH == *686* ]]; then
|
elif [[ $ARCH == *386* ]] || [[ $ARCH == *686* ]]; then
|
||||||
ARCH="i386"
|
ARCH="i386"
|
||||||
elif [[ $ARCH == *arm64* ]] || [[ $ARCH == *armv8* ]]; then
|
elif [[ $ARCH == *arm64* ]] || [[ $ARCH == *armv8* ]] || [[ $ARCH == *aarch64* ]]; then
|
||||||
ARCH="arm64"
|
ARCH="arm64"
|
||||||
elif [[ $ARCH == *armv6* ]] || [[ $ARCH == *armv7* ]]; then
|
elif [[ $ARCH == *armv6* ]] || [[ $ARCH == *armv7* ]]; then
|
||||||
ARCH="armhf"
|
ARCH="armhf"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue