diff --git a/Formula/creduce.rb b/Formula/creduce.rb index c18e83ffbf..14568a101d 100644 --- a/Formula/creduce.rb +++ b/Formula/creduce.rb @@ -1,7 +1,7 @@ class Creduce < Formula desc "Reduce a C/C++ program while keeping a property of interest" homepage "https://embed.cs.utah.edu/creduce/" - revision 2 + revision 3 head "https://github.com/csmith-project/creduce.git" stable do @@ -26,7 +26,7 @@ class Creduce < Formula depends_on "astyle" depends_on "delta" - depends_on "llvm" + depends_on "llvm@5" depends_on :macos => :mavericks @@ -68,7 +68,7 @@ class Creduce < Formula ENV.prepend_create_path "PERL5LIB", libexec/"lib/perl5" # Avoid ending up with llvm's Cellar path hard coded. - ENV["CLANG_FORMAT"] = Formula["llvm"].opt_bin/"clang-format" + ENV["CLANG_FORMAT"] = Formula["llvm@5"].opt_bin/"clang-format" resources.each do |r| r.stage do @@ -80,7 +80,7 @@ class Creduce < Formula system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking", - "--with-llvm=#{Formula["llvm"].opt_prefix}", + "--with-llvm=#{Formula["llvm@5"].opt_prefix}", "--bindir=#{libexec}" system "make" system "make", "install"