Skip to content

Commit

Permalink
bump resource & fix linker
Browse files Browse the repository at this point in the history
Signed-off-by: Bugen Zhao <[email protected]>
  • Loading branch information
BugenZhao committed Dec 11, 2024
1 parent 8fb1f0a commit 3516c2b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Formula/risingwave.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ class Risingwave < Formula
depends_on "[email protected]"

resource "connector" do
url "https://github.com/risingwavelabs/risingwave/releases/download/v2.0.2/risingwave-v2.0.2-x86_64-unknown-linux-all-in-one.tar.gz"
sha256 "51c8d0ba295c2d0747d8e8cafc908a65a8db26b62ee9883c589d8dc356359459"
url "https://github.com/risingwavelabs/risingwave/releases/download/v2.1.0/risingwave-v2.1.0-x86_64-unknown-linux-all-in-one.tar.gz"
sha256 "2eb0fb03288b1f48d246ebb3cfd2bf2c8950358f25e18a1e1b0adeffde55ab2a"
end

# Mitigate "argument list too long" error when linking.
Expand Down Expand Up @@ -55,7 +55,7 @@ def install
# If we `depends_on "llvm" => :build`, it will somehow corrupt the resolution of the C++
# compiler when building `cxx` crate. Didn't investigate further.
inreplace ".cargo/config.toml" do |s|
s.gsub!(/"-Clink-arg=.*ld64.lld",?/, "")
s.gsub!(/"-Clink-arg=.*lld",?/, "")
end

# Enable building embedded dashboard.
Expand Down

0 comments on commit 3516c2b

Please sign in to comment.