Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
os: initial El Capitan support
Browse files Browse the repository at this point in the history
  • Loading branch information
DomT4 committed Jun 14, 2015
1 parent d4dbd62 commit 62381a6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions Library/Homebrew/os/mac.rb
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ def preferred_arch
"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?
Expand Down
1 change: 1 addition & 0 deletions Library/Homebrew/os/mac/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
3 changes: 2 additions & 1 deletion Library/Homebrew/os/mac/xcode.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def latest_version
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
Expand Down Expand Up @@ -161,6 +161,7 @@ def installed?

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"
Expand Down

0 comments on commit 62381a6

Please sign in to comment.