Skip to content

Commit

Permalink
ponyc: depend on llvm@3.9
Browse files Browse the repository at this point in the history
Closes #11205.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
  • Loading branch information
ilovezfs committed Mar 17, 2017
1 parent 5339219 commit de282db
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Formula/ponyc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ class Ponyc < Formula
homepage "http://www.ponylang.org"
url "https://github.com/ponylang/ponyc/archive/0.11.3.tar.gz"
sha256 "0b88009c636669192baee71589cd37885fe0f39bd24008ccc20780d925c18a2c"
revision 1

bottle do
cellar :any_skip_relocation
Expand All @@ -12,7 +13,7 @@ class Ponyc < Formula
end

depends_on :macos => :yosemite
depends_on "llvm@3.8"
depends_on "llvm@3.9"
depends_on "libressl"
depends_on "pcre2"
needs :cxx11
Expand All @@ -28,7 +29,7 @@ class Ponyc < Formula

def install
ENV.cxx11
ENV["LLVM_CONFIG"]="#{Formula["llvm@3.8"].opt_bin}/llvm-config-3.8"
ENV["LLVM_CONFIG"] = "#{Formula["llvm@3.9"].opt_bin}/llvm-config"
system "make", "config=release", "destdir=#{prefix}", "install", "verbose=1"
end

Expand Down

0 comments on commit de282db

Please sign in to comment.