1
1
class Risingwave < Formula
2
2
desc "Distributed SQL database for stream processing"
3
3
homepage "https://github.com/risingwavelabs/risingwave"
4
- url "https://github.com/risingwavelabs/risingwave/archive/refs/tags/v1.9.1 .tar.gz"
5
- sha256 "a2ad286cde11891906082f54ca5edb997382df639acee83e096b921b0d29a642 "
4
+ url "https://github.com/risingwavelabs/risingwave/archive/refs/tags/v1.10.0 .tar.gz"
5
+ sha256 "3ecb95e792bd16afa7404b74e3b624b798f4824cbad668fb38d536dabbb8f5e3 "
6
6
license "Apache-2.0"
7
7
head "https://github.com/risingwavelabs/risingwave.git" , branch : "main"
8
8
@@ -15,18 +15,18 @@ class Risingwave < Formula
15
15
depends_on "cmake" => :build
16
16
depends_on "node@20" => :build
17
17
depends_on "protobuf" => :build
18
- depends_on "rustup-init " => :build
18
+ depends_on "rustup" => :build
19
19
depends_on "java11"
20
20
depends_on "openssl@3"
21
21
22
22
resource "connector" do
23
- url "https://github.com/risingwavelabs/risingwave/releases/download/v1.9.1 /risingwave-v1.9.1 -x86_64-unknown-linux-all-in-one.tar.gz"
24
- sha256 "8f88a4754aebd94196e49f67300180ddf2236d88d93da96cd9e053b2f7487fc8 "
23
+ url "https://github.com/risingwavelabs/risingwave/releases/download/v1.10.0 /risingwave-v1.10.0 -x86_64-unknown-linux-all-in-one.tar.gz"
24
+ sha256 "cf4927c62c2234567a2d87256fee217ae853300e12a2f7e9b28a0c873d823129 "
25
25
end
26
26
27
27
def install
28
28
# this will install the necessary cargo/rustup toolchain bits in HOMEBREW_CACHE
29
- system "#{ Formula [ "rustup-init " ] . bin } /rustup-init " ,
29
+ system "#{ Formula [ "rustup" ] . bin } /rustup" ,
30
30
"-qy" , "--no-modify-path" ,
31
31
"--default-toolchain" , "none"
32
32
ENV . prepend_path "PATH" , HOMEBREW_CACHE /"cargo_cache/bin"
@@ -56,6 +56,7 @@ def install
56
56
ENV [ "ENABLE_BUILD_DASHBOARD" ] = "1"
57
57
58
58
system "cargo" , "install" ,
59
+ # "--profile", "production", # since the upcoming release 1.11 (or 2.0)
59
60
"--bin" , "risingwave" ,
60
61
"--features" , "rw-static-link" ,
61
62
*std_cargo_args ( root : libexec , path : "src/cmd_all" )
0 commit comments