Skip to content

Homebrew formula for ebmc 5.1 #722

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions Formula/[email protected]
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