Skip to content

Commit

Permalink
dafny: fix Linux build (#95334)
Browse files Browse the repository at this point in the history
  • Loading branch information
cho-m authored Feb 18, 2022
1 parent 1dea529 commit 88f2e4b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Formula/dafny.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class Dafny < Formula
end

depends_on "gradle" => :build
depends_on "[email protected]" => :build # for z3
depends_on "dotnet"
depends_on "openjdk@11"

Expand All @@ -36,6 +37,7 @@ def install
dst_z3_bin.mkpath

resource("z3").stage do
ENV["PYTHON"] = which("python3")
system "./configure"
system "make", "-C", "build"
mv("build/z3", dst_z3_bin/"z3")
Expand Down

0 comments on commit 88f2e4b

Please sign in to comment.