aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDominyk Tiller2015-06-10 00:15:00 +0100
committerDominyk Tiller2015-06-14 18:38:55 +0100
commit90c8b82d382e71c95419d417ff9099dd186133b8 (patch)
treed1a6095d683792ab53b84b1a444d996bc19d6c3b /Library
parent8350e9c5ad5293b389d956be7ec9a56c72a418fb (diff)
downloadbrew-90c8b82d382e71c95419d417ff9099dd186133b8.tar.bz2
os: initial El Capitan support
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/os/mac.rb1
-rw-r--r--Library/Homebrew/os/mac/version.rb1
-rw-r--r--Library/Homebrew/os/mac/xcode.rb3
3 files changed, 4 insertions, 1 deletions
diff --git a/Library/Homebrew/os/mac.rb b/Library/Homebrew/os/mac.rb
index 6f496b849..1466a8fd1 100644
--- a/Library/Homebrew/os/mac.rb
+++ b/Library/Homebrew/os/mac.rb
@@ -214,6 +214,7 @@ module OS
"6.3" => { :clang => "6.1", :clang_build => 602 },
"6.3.1" => { :clang => "6.1", :clang_build => 602 },
"6.3.2" => { :clang => "6.1", :clang_build => 602 },
+ "7.0" => { :clang => "7.0", :clang_build => 700 },
}
def compilers_standard?
diff --git a/Library/Homebrew/os/mac/version.rb b/Library/Homebrew/os/mac/version.rb
index 06901b642..febbfd4f7 100644
--- a/Library/Homebrew/os/mac/version.rb
+++ b/Library/Homebrew/os/mac/version.rb
@@ -4,6 +4,7 @@ module OS
module Mac
class Version < ::Version
SYMBOLS = {
+ :el_capitan => '10.11',
:yosemite => '10.10',
:mavericks => '10.9',
:mountain_lion => '10.8',
diff --git a/Library/Homebrew/os/mac/xcode.rb b/Library/Homebrew/os/mac/xcode.rb
index 26382dea3..1ae0a57d6 100644
--- a/Library/Homebrew/os/mac/xcode.rb
+++ b/Library/Homebrew/os/mac/xcode.rb
@@ -18,7 +18,7 @@ module OS
else
# Default to newest known version of Xcode for unreleased OSX versions.
if MacOS.version > "10.10"
- "6.3.2"
+ "7.0"
else
raise "Mac OS X '#{MacOS.version}' is invalid"
end
@@ -161,6 +161,7 @@ module OS
def latest_version
case MacOS.version
+ when "10.11" then "700.0.53"
when "10.10" then "602.0.53"
when "10.9" then "600.0.57"
when "10.8" then "503.0.40"