Skip to content

Commit

Permalink
Merge pull request #722 from diffblue/homebrew-5-1
Browse files Browse the repository at this point in the history
Homebrew formula for ebmc 5.1
  • Loading branch information
kroening committed Sep 23, 2024
2 parents b918fe0 + ae37b73 commit 7460d8c
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions Formula/ebmc.rb@5.1
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
class Ebmc < Formula
desc "Model Checker for SystemVerilog"
homepage "https://www.cprover.org/ebmc/"
url "https://github.com/diffblue/hw-cbmc.git",
tag: "ebmc-5.1"
revision: "3296ed5b6e40f91702273b5503bcbfc92487c2fc"
version "5.1"
license "BSD-3-Clause"

uses_from_macos "flex" => :build
uses_from_macos "curl" => :build
depends_on "bison" => :build

def install
system "make", "-C", "lib/cbmc/src", "minisat2-download"
system "make", "-C", "src"
system "mkdir", "-p", "#{prefix}/usr/bin"
system "cp", "src/ebmc/ebmc", "#{prefix}/usr/bin/"
end

test do
system "make", "-C", "regression/ebmc", "test"
end
end

0 comments on commit 7460d8c

Please sign in to comment.