diff --git a/Library/Homebrew/os/mac.rb b/Library/Homebrew/os/mac.rb index 6f496b849f..1466a8fd1b 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 06901b6427..febbfd4f75 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 26382dea33..1ae0a57d68 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"