Skip to content

Commit 14f6c53

Browse files
authored
Merge pull request #246748 from Homebrew/bump-turso-0.2.0
turso 0.2.0
2 parents 9e22cbb + c89903f commit 14f6c53

File tree

1 file changed

+17
-10
lines changed

1 file changed

+17
-10
lines changed

Formula/t/turso.rb

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class Turso < Formula
22
desc "Interactive SQL shell for Turso"
33
homepage "https://github.com/tursodatabase/turso"
4-
url "https://github.com/tursodatabase/turso/archive/refs/tags/v0.1.4.tar.gz"
5-
sha256 "8be7fdd8e5f3c996a038d7676c80829b5414b07c4af14ef7de6219f03835f2d6"
4+
url "https://github.com/tursodatabase/turso/archive/refs/tags/v0.2.0.tar.gz"
5+
sha256 "3674566ce7115dc6ba4f3598fa9c204e229098a16388eb7ec9079451c96a2dd8"
66
license "MIT"
77
head "https://github.com/tursodatabase/turso.git", branch: "main"
88

@@ -12,20 +12,27 @@ class Turso < Formula
1212
end
1313

1414
bottle do
15-
sha256 cellar: :any_skip_relocation, arm64_tahoe: "f13d5f01676d049f414fcaeb363078076e1dd0a37469ce7742bf126a74437b22"
16-
sha256 cellar: :any_skip_relocation, arm64_sequoia: "c5f08d0c0a08168a2b768994601cc54f9f77f444bfdd364c19330812d41a0574"
17-
sha256 cellar: :any_skip_relocation, arm64_sonoma: "a988b524fba5f59403150414c872765217def89a363965bdfe80a14fe0ef9628"
18-
sha256 cellar: :any_skip_relocation, arm64_ventura: "ddcdec3ba9d36774485ac3deec3e4c7fdadb6eba04116cc87f13443f6b683d83"
19-
sha256 cellar: :any_skip_relocation, sonoma: "09a48d301f5c2526ba3b7c1db9d52aee69ce9d066922af8b2ff77b211486a7b4"
20-
sha256 cellar: :any_skip_relocation, ventura: "579c5fccd77ac186a0961a7036fa68d5accde33cc4aa6f3b580aef4187a00ee9"
21-
sha256 cellar: :any_skip_relocation, arm64_linux: "935d2e25c7aa96ac3d984017bda840788ed230044f2cb3d034e90c6bd65768c4"
22-
sha256 cellar: :any_skip_relocation, x86_64_linux: "2ce01203150d51917cc989058342870aef861353af25f06e87babf05095c537f"
15+
sha256 cellar: :any_skip_relocation, arm64_tahoe: "3ae08978ce47f890d4f5e13735403a6bfee8f94189ec94801210a246c2c19579"
16+
sha256 cellar: :any_skip_relocation, arm64_sequoia: "765fc00f10416b748e2096f1f90550d72851614fe2c08007068adac798c37959"
17+
sha256 cellar: :any_skip_relocation, arm64_sonoma: "a065feab5f0d76386cd0309ec9015e77b667ca5e811dcab669c023b5f1233bd6"
18+
sha256 cellar: :any_skip_relocation, sonoma: "976151d81c68f1a14d6cf1f273d4b538d2b8320da0a00f6252eda107a3bea114"
19+
sha256 cellar: :any_skip_relocation, arm64_linux: "0627092923d5bc935901833dfa0992313819658f57889c89cfcf5b8f330ec921"
20+
sha256 cellar: :any_skip_relocation, x86_64_linux: "61dcddf68cd1a17fe21dc7179d61253b0fd98cadbc6302cf51cec616192cf1fe"
2321
end
2422

2523
depends_on "rust" => :build
2624
uses_from_macos "sqlite" => :test
2725

26+
# Fix to error unsupported option '-mcrypto|-maes' for target 'arm64-apple-macosx'
27+
# PR ref: https://github.com/tursodatabase/turso/pull/3561
28+
patch do
29+
url "https://github.com/tursodatabase/turso/commit/0ef0c7587979ce3f6863599e387c9ef6e93abe75.patch?full_index=1"
30+
sha256 "788ffb4a456318a16073784b940fe6c10376dc54bc4408ca6d55db068b888303"
31+
end
32+
2833
def install
34+
# Workaround to build `aegis v0.9.3` for arm64 linux without -march `sha3`
35+
ENV.append_to_cflags "-march=native" if OS.linux? && Hardware::CPU.arm?
2936
system "cargo", "install", *std_cargo_args(path: "cli")
3037
end
3138

0 commit comments

Comments
 (0)