Skip to content

Commit

Permalink
embedded dashboard & bump connector
Browse files Browse the repository at this point in the history
Signed-off-by: Bugen Zhao <[email protected]>
  • Loading branch information
BugenZhao committed May 21, 2024
1 parent b7a0813 commit 728c143
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Formula/risingwave.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,15 @@ class Risingwave < Formula
end

depends_on "cmake" => :build
depends_on "node@20" => :build
depends_on "protobuf" => :build
depends_on "rustup-init" => :build
depends_on "java11"
depends_on "openssl@3"

resource "connector" do
url "https://github.com/risingwavelabs/risingwave/releases/download/v1.8.0/risingwave-v1.8.0-x86_64-unknown-linux-all-in-one.tar.gz"
sha256 "341fd43fe75535732e67f11dee544cf309b30a30ad76370a6d5313dc6a5147e5"
url "https://github.com/risingwavelabs/risingwave/releases/download/v1.9.0/risingwave-v1.9.0-x86_64-unknown-linux-all-in-one.tar.gz"
sha256 "ab736b8ec145cd32741e5ed548e8d3441ed22360d5555b0f94cd1b2e8036347e"
end

def install
Expand Down Expand Up @@ -51,6 +52,9 @@ def install
s.gsub!(/"-Clink-arg=.*ld64.lld",?/, "")
end

# Enable building embedded dashboard.
ENV["ENABLE_BUILD_DASHBOARD"] = "1"

system "cargo", "install",
"--bin", "risingwave",
"--features", "rw-static-link",
Expand Down

0 comments on commit 728c143

Please sign in to comment.