git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 3/4] ci/install-dependencies: install git-lfs for arm64 build

From
Đoàn Trần Công Danh <congdanhqx@gmail.com>
Date
Mar 3, 2023, 13:46 UTC
Message-ID
<f8663249619f519157a19a2fa8f386dbbe23faba.1677850518.git.congdanhqx@gmail.com>
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
Previous: Đoàn Trần Công DanhNext: Đoàn Trần Công Danh
Message 4 of 9 in “Add a CI for unsigned char system”
  1. 0/4 Add a CI for unsigned char systemĐoàn Trần Công Danh, Mar 3, 2023
  2. 1/4 ci/lib.sh: remove an useless breakĐoàn Trần Công Danh, Mar 3, 2023
  3. 2/4 ci/install-dependencies: libify p4 and git-lfs installationĐoàn Trần Công Danh, Mar 3, 2023
  4. 3/4 ci/install-dependencies: install git-lfs for arm64 buildĐoàn Trần Công Danh, Mar 3, 2023
  5. 4/4 ci: add arm64 CI environment via CircleCIĐoàn Trần Công Danh, Mar 3, 2023
  6. Đoàn Trần Công DanhMar 3, 2023
  7. Jeff KingMar 9, 2023
  8. Chris TorekMar 9, 2023
  9. Jeff KingMar 9, 2023

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.