Skip to content

Commit fd159da

Browse files
committed
bender 0.32.0
1 parent 40de0ef commit fd159da

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

Formula/b/bender.rb

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class Bender < Formula
22
desc "Dependency management tool for hardware projects"
33
homepage "https://github.com/pulp-platform/bender"
4-
url "https://github.com/pulp-platform/bender/archive/refs/tags/v0.31.0.tar.gz"
5-
sha256 "7b03dc86a8dcd43b278f84758af287eeb3194bdb707f30ddf9f879e05ab10b7c"
4+
url "https://github.com/pulp-platform/bender/archive/refs/tags/v0.32.0.tar.gz"
5+
sha256 "adfdf9b77802853a4153b4569cb596a89c493b5dab363f1388ed681c57f8208c"
66
license any_of: ["Apache-2.0", "MIT"]
77
head "https://github.com/pulp-platform/bender.git", branch: "master"
88

@@ -15,8 +15,18 @@ class Bender < Formula
1515
sha256 cellar: :any_skip_relocation, x86_64_linux: "9488f4a1f1321757d1ef2e1b4ff00194b00898d40049a5580191f2665aa5c54c"
1616
end
1717

18+
depends_on "cmake" => :build # for `bender-slang` crate
1819
depends_on "rust" => :build
1920

21+
on_macos do
22+
depends_on "llvm" => :build if DevelopmentTools.clang_build_version <= 1699
23+
end
24+
25+
fails_with :clang do
26+
build 1699
27+
cause "`bender-slang` crate requires C++20"
28+
end
29+
2030
def install
2131
system "cargo", "install", *std_cargo_args
2232

0 commit comments

Comments
 (0)