From: "Đoàn Trần Công Danh" <congdanhqx@gmail.com>
To: git@vger.kernel.org
Cc: "Đoàn Trần Công Danh" <congdanhqx@gmail.com>
Subject: [PATCH 3/4] ci/install-dependencies: install git-lfs for arm64 build
Date: Fri, 3 Mar 2023 20:46:05 +0700 [thread overview]
Message-ID: <f8663249619f519157a19a2fa8f386dbbe23faba.1677850518.git.congdanhqx@gmail.com> (raw)
In-Reply-To: <cover.1677850517.git.congdanhqx@gmail.com>
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(+)
diff --git a/ci/install-dependencies.sh b/ci/install-dependencies.sh
index 9a32af8968..6d587ffc54 100755
--- a/ci/install-dependencies.sh
+++ b/ci/install-dependencies.sh
@@ -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
diff --git a/ci/lib.sh b/ci/lib.sh
index 661076e70b..3c19267a56 100755
--- a/ci/lib.sh
+++ b/ci/lib.sh
@@ -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"
--
2.40.0.rc1.2.gd15644fe02
next prev parent reply other threads:[~2023-03-03 13:47 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-03 13:46 [PATCH 0/4] Add a CI for unsigned char system Đoàn Trần Công Danh
2023-03-03 13:46 ` [PATCH 1/4] ci/lib.sh: remove an useless break Đoàn Trần Công Danh
2023-03-03 13:46 ` [PATCH 2/4] ci/install-dependencies: libify p4 and git-lfs installation Đoàn Trần Công Danh
2023-03-03 13:46 ` Đoàn Trần Công Danh [this message]
2023-03-03 13:46 ` [PATCH 4/4] ci: add arm64 CI environment via CircleCI Đoàn Trần Công Danh
2023-03-03 13:54 ` Đoàn Trần Công Danh
2023-03-09 9:53 ` [PATCH 0/4] Add a CI for unsigned char system Jeff King
2023-03-09 10:26 ` Chris Torek
2023-03-09 10:57 ` Jeff King
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f8663249619f519157a19a2fa8f386dbbe23faba.1677850518.git.congdanhqx@gmail.com \
--to=congdanhqx@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).