Skip to content

Commit ae59073

Browse files
BrewTestBotdaeho-ro
authored andcommitted
turso 0.2.0
1 parent d4ba22c commit ae59073

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

Formula/t/turso.rb

Lines changed: 11 additions & 2 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

@@ -25,7 +25,16 @@ class Turso < Formula
2525
depends_on "rust" => :build
2626
uses_from_macos "sqlite" => :test
2727

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

0 commit comments

Comments
 (0)