@@ -44,6 +44,10 @@ ubuntu-*)
_install_linux_git_lfs "$LFSWHENCE/v${LINUX_GIT_LFS_VERSION}" \
"git-lfs-linux-amd64-$LINUX_GIT_LFS_VERSION.tar.gz"
;;
+ aarch64)
+ _install_linux_git_lfs "$LFSWHENCE/v${LINUX_GIT_LFS_VERSION}" \
+ "git-lfs-linux-arm64-v$LINUX_GIT_LFS_VERSION.tar.gz"
+ ;;
*)
echo "Not supported architecture" >&2
exit 1
@@ -242,6 +242,12 @@ ubuntu-*)
# image.
# Keep that in mind when you encounter a broken OS X build!
export LINUX_GIT_LFS_VERSION="1.5.2"
+ # The Linux arm64 build installs yet another recent version, since
+ # above version doesn't ship prebuilt binaries for arm64.
+ if test "$(uname -m)" = aarch64
+ then
+ LINUX_GIT_LFS_VERSION="3.3.0"
+ fi
P4_PATH="$HOME/custom/p4"
GIT_LFS_PATH="$HOME/custom/git-lfs"
Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com> --- ci/install-dependencies.sh | 4 ++++ ci/lib.sh | 6 ++++++ 2 files changed, 10 insertions(+)