Skip to content

Commit 8a43f94

Browse files
authored
Merge pull request #1387 from diffblue/homebrew-5-7-and-5-8
Homebrew formulas for ebmc 5.7 and 5.8
2 parents 905b813 + df6746b commit 8a43f94

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
lines changed

Formula/ebmc@5.7.rb

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.7",
6+
revision: "953ccfa6092115594a28b43c87e27a6f22b2f192"
7+
version "5.7"
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/ebmc@5.8.rb

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.8",
6+
revision: "e67715256cd4ac967545bef1025410f676256f5d"
7+
version "5.8"
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)