ponyc: depend on llvm@3.9

Closes #11205.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
ilovezfs 2017-03-17 06:05:21 -07:00
parent 5339219472
commit de282db597

View file

@ -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
@ -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
@ -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