Skip to content

Commit

Permalink
Added support for the aarch64/arm64 in the scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
syrusakbary committed Nov 21, 2019
1 parent 27b1789 commit e5905c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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";;
Expand Down
2 changes: 2 additions & 0 deletions scripts/binary-name.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e5905c9

Please sign in to comment.