Skip to content

Commit f1f38b9

Browse files
authored
Merge pull request #589 from diffblue/homebrew-formula
add a Homebrew formula
2 parents f59c64d + 2924823 commit f1f38b9

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

Formula/ebmc.rb@5.0

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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+
revision: "f2f3a40951f9e505a90621b430035b811dfc2b1a"
6+
version "5.0"
7+
license "BSD-3-Clause"
8+
9+
uses_from_macos "flex" => :build
10+
uses_from_macos "curl" => :build
11+
depends_on "bison" => :build
12+
13+
def install
14+
system "make", "-C", "lib/cbmc/src", "minisat2-download"
15+
system "make", "-C", "src"
16+
system "mkdir", "-p", "#{prefix}/usr/bin"
17+
system "cp", "src/ebmc/ebmc", "#{prefix}/usr/bin/"
18+
end
19+
20+
test do
21+
system "make", "-C", "regression/ebmc", "test"
22+
end
23+
end

0 commit comments

Comments
 (0)