Skip to content

Commit 7460d8c

Browse files
authored
Merge pull request #722 from diffblue/homebrew-5-1
Homebrew formula for ebmc 5.1
2 parents b918fe0 + ae37b73 commit 7460d8c

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

Formula/[email protected]

+24
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.1"
6+
revision: "3296ed5b6e40f91702273b5503bcbfc92487c2fc"
7+
version "5.1"
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)