Added support for the aarch64/arm64 in the scripts

This commit is contained in:
Syrus 2019-11-20 19:34:27 -08:00
parent 27b17893d8
commit e5905c9b79
2 changed files with 3 additions and 0 deletions

View File

@ -208,6 +208,7 @@ initArch() {
printf "$cyan> Using WASMER_ARCH ($WASMER_ARCH).$reset\n"
ARCH="$WASMER_ARCH"
fi
# If you modify this list, please also modify scripts/binary-name.sh
case $ARCH in
amd64) ARCH="amd64";;
x86_64) ARCH="amd64";;

View File

@ -5,9 +5,11 @@ initArch() {
if [ -n "$WASMER_ARCH" ]; then
ARCH="$WASMER_ARCH"
fi
# If you modify this list, please also modify install.sh
case $ARCH in
amd64) ARCH="amd64";;
x86_64) ARCH="amd64";;
aarch64) ARCH="arm64";;
i386) ARCH="386";;
*) echo "Architecture ${ARCH} is not supported by this installation script"; exit 1;;
esac