Skip to content

Commit b91087b

Browse files
authored
Merge pull request #1151 from diffblue/ebmc-homebrew
Homebrew formulas for ebmc 5.5 and 5.6
2 parents 154024f + 8451a7b commit b91087b

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
lines changed

Formula/[email protected]

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
class Ebmc < Formula
2+
desc "Model Checker for SystemVerilog"
3+
homepage "https://www.cprover.org/ebmc/"
4+
url "https://github.com/diffblue/hw-cbmc.git",
5+
tag: "ebmc-5.5",
6+
revision: "d3b36a4b52ee3b17575c59346c321729657c1877"
7+
version "5.5"
8+
license "BSD-3-Clause"
9+
10+
uses_from_macos "flex" => :build
11+
uses_from_macos "curl" => :build
12+
depends_on "bison" => :build
13+
14+
def install
15+
system "make", "-C", "lib/cbmc/src", "minisat2-download"
16+
system "make", "-C", "src"
17+
system "mkdir", "-p", "#{prefix}/usr/bin"
18+
system "cp", "src/ebmc/ebmc", "#{prefix}/usr/bin/"
19+
end
20+
21+
test do
22+
system "make", "-C", "regression/ebmc", "test"
23+
end
24+
end

Formula/[email protected]

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
class Ebmc < Formula
2+
desc "Model Checker for SystemVerilog"
3+
homepage "https://www.cprover.org/ebmc/"
4+
url "https://github.com/diffblue/hw-cbmc.git",
5+
tag: "ebmc-5.6",
6+
revision: "9b402aa7cfb1157b0399f9e684bdfc1b505ed50d"
7+
version "5.6"
8+
license "BSD-3-Clause"
9+
10+
uses_from_macos "flex" => :build
11+
uses_from_macos "curl" => :build
12+
depends_on "bison" => :build
13+
14+
def install
15+
system "make", "-C", "lib/cbmc/src", "minisat2-download"
16+
system "make", "-C", "src"
17+
system "mkdir", "-p", "#{prefix}/usr/bin"
18+
system "cp", "src/ebmc/ebmc", "#{prefix}/usr/bin/"
19+
end
20+
21+
test do
22+
system "make", "-C", "regression/ebmc", "test"
23+
end
24+
end

0 commit comments

Comments
 (0)