dafny: fix Linux build (#95334)

master
Michael Cho 2022-02-17 19:07:10 -08:00 committed by GitHub
parent 1dea529f57
commit 88f2e4b7e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,7 @@ class Dafny < Formula
end
depends_on "gradle" => :build
depends_on "python@3.10" => :build # for z3
depends_on "dotnet"
depends_on "openjdk@11"
@ -36,6 +37,7 @@ class Dafny < Formula
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")