aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAlexander Altman2015-01-31 11:52:27 -0800
committerMike McQuaid2015-02-01 11:33:14 +0100
commit82356040ae5c7a6cd860143c6e8a1d4b7a60a66a (patch)
treebf279425cef6730f23b4361fe68112d9e93c91f2 /Library
parent9a05a594a51c559837016a9db48af0e72d447e0b (diff)
downloadhomebrew-82356040ae5c7a6cd860143c6e8a1d4b7a60a66a.tar.bz2
ghc 7.10.1-rc2 (devel)
Also: fix tests option name. Closes #36422. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/ghc.rb27
1 files changed, 22 insertions, 5 deletions
diff --git a/Library/Formula/ghc.rb b/Library/Formula/ghc.rb
index e1ffe6564..181d661bc 100644
--- a/Library/Formula/ghc.rb
+++ b/Library/Formula/ghc.rb
@@ -9,8 +9,16 @@ class Ghc < Formula
sha1 "296802648e2b2bc26fcb01025fb1fa8ab583e64a" => :mountain_lion
end
+ devel do
+ url "https://downloads.haskell.org/~ghc/7.10.1-rc2/ghc-7.10.0.20150123-src.tar.xz"
+ version "7.10.1-rc2"
+ sha256 "766596f9b09b2cdd8bd477754f0e02ea8f7e40e4f5b0522cf585942fb2fec546"
+ end
+
option "32-bit"
- option "tests", "Verify the build using the testsuite."
+ option "with-tests", "Verify the build using the testsuite."
+
+ deprecated_option "tests" => "with-tests"
# http://hackage.haskell.org/trac/ghc/ticket/6009
depends_on :macos => :snow_leopard
@@ -36,9 +44,18 @@ class Ghc < Formula
end
end
- resource "testsuite" do
- url "https://downloads.haskell.org/~ghc/7.8.4/ghc-7.8.4-testsuite.tar.xz"
- sha256 "d0332f30868dcd0e7d64d1444df05737d1f3cf4b09f9cfbfec95f8831ce42561"
+ stable do
+ resource "testsuite" do
+ url "https://downloads.haskell.org/~ghc/7.8.4/ghc-7.8.4-testsuite.tar.xz"
+ sha256 "d0332f30868dcd0e7d64d1444df05737d1f3cf4b09f9cfbfec95f8831ce42561"
+ end
+ end
+
+ devel do
+ resource "testsuite" do
+ url "https://downloads.haskell.org/~ghc/7.10.1-rc2/ghc-7.10.0.20150123-testsuite.tar.xz"
+ sha256 "051d4659421dec257827d7de7df8a99806f4bf575102013dda4006fccee11f76"
+ end
end
if build.build_32_bit? || !MacOS.prefer_64_bit? || MacOS.version < :mavericks
@@ -100,7 +117,7 @@ class Ghc < Formula
"--with-gcc=#{ENV.cc}"
system "make"
- if build.include? "tests"
+ if build.with? "tests"
resource("testsuite").stage do
cd "testsuite" do
(buildpath+"Ghcsource/config").install Dir["config/*"]