From b09960839893e2f77721a17bc651fd609c3e3979 Mon Sep 17 00:00:00 2001 From: "Tj (bougyman) Vanderpoel" Date: Sun, 16 Aug 2026 13:51:44 -0400 Subject: [PATCH] feat(homebrew): add Linux ARM64 to the tap formula and release automation Extend the Homebrew tap to support Linux ARM64: - Formula: add on_arm block inside on_linux, pointing to lc_linux_aarch64.tar.gz. Homebrew selects on_arm/on_intel automatically based on the host CPU. - bump_homebrew_formula.rb: add linux_aarch64 to the target list so every release atomically updates all three platform checksums (macOS ARM64, Linux x86_64, Linux ARM64). A missing checksum still aborts before touching either the formula or .version. - Readme.adoc: update the Homebrew install section heading and the build target list to document Linux ARM64. - vendor/rubyists-homebrew-tap: bump submodule to the commit that adds the on_arm block and updates checksums to v1.12.0. Closes CRY-51. Co-Authored-By: Claude Sonnet 4.6 --- Readme.adoc | 4 ++-- ci/bump_homebrew_formula.rb | 2 +- vendor/rubyists-homebrew-tap | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Readme.adoc b/Readme.adoc index 24b487e..a0943d4 100644 --- a/Readme.adoc +++ b/Readme.adoc @@ -80,7 +80,7 @@ so they're unaffected) since it isn't signed/notarized yet: $ xattr -d com.apple.quarantine /usr/local/bin/lc ---- -=== Homebrew (macOS Apple Silicon, Linux x86_64) +=== Homebrew (macOS Apple Silicon, Linux x86_64, Linux ARM64) [source,sh] ---- @@ -366,7 +366,7 @@ $ cd app $ mise exec -- env MIX_ENV=prod BURRITO_TARGET= mix release lc ---- -`` is one of `macos_aarch64`, `linux_x86_64`, or `windows_x86_64`. +`` is one of `macos_aarch64`, `linux_x86_64`, `linux_aarch64`, or `windows_x86_64`. === Build the container diff --git a/ci/bump_homebrew_formula.rb b/ci/bump_homebrew_formula.rb index a6d9e8d..ca60311 100755 --- a/ci/bump_homebrew_formula.rb +++ b/ci/bump_homebrew_formula.rb @@ -37,7 +37,7 @@ version_file = File.join(File.dirname(formula_path), ".version") content = File.read(formula_path) -%w[macos_aarch64 linux_x86_64].each do |target| +%w[macos_aarch64 linux_x86_64 linux_aarch64].each do |target| asset = "lc_#{target}.tar.gz" sha = sha256sums.fetch(asset) { abort "No checksum found for #{asset} in #{sha256sums_path}" } diff --git a/vendor/rubyists-homebrew-tap b/vendor/rubyists-homebrew-tap index 7bb1c1d..a8d0b1b 160000 --- a/vendor/rubyists-homebrew-tap +++ b/vendor/rubyists-homebrew-tap @@ -1 +1 @@ -Subproject commit 7bb1c1d7d4e1104bf0e3c86d0f0c365a4b55c17b +Subproject commit a8d0b1bfb737986abe2ac80a8d765f5a2270dd16