Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for install of Darwin ARM64 binary #251

Closed
wants to merge 8 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions Formula/levant.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,8 @@ class Levant < Formula
end

if OS.mac? && Hardware::CPU.arm?
def caveats
<<~EOS
The darwin_arm64 architecture is not supported for this product
at this time, however we do plan to support this in the future. The
darwin_amd64 binary has been installed and may work in
compatibility mode, but it is not fully supported.
EOS
end
url "https://releases.hashicorp.com/levant/0.3.3/levant_0.3.3_darwin_arm64.zip"
sha256 "aeb4e4a5bca4be48ba8706d671d50893f2db439cf61f302162293a4362bddeb0"
end

if OS.linux? && Hardware::CPU.intel?
Expand Down
2 changes: 1 addition & 1 deletion util/formula_templater/config.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ formula {
homepage = "https://github.com/hashicorp/levant"
architectures {
darwin_amd64 = true
darwin_arm64 = false
darwin_arm64 = true
linux_amd64 = true
linux_arm = true
linux_arm64 = true
Expand Down