aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorClemens Gruber2013-06-11 14:26:11 +0200
committerJack Nagel2013-06-11 10:20:23 -0500
commitd5ca203097648da43c4cefa9db69c25b5d37bc65 (patch)
tree83d78cc3d1fe1235d2e2fe6c61e0c6d949886f8b /Library
parent94736a8b1d7773da16f3f40538bb2c8233d84628 (diff)
downloadhomebrew-d5ca203097648da43c4cefa9db69c25b5d37bc65.tar.bz2
Recognize OS X 10.9 and Xcode 5.0
Closes #20410. Closes #20401. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/macos.rb1
-rw-r--r--Library/Homebrew/os/mac/xcode.rb6
2 files changed, 5 insertions, 2 deletions
diff --git a/Library/Homebrew/macos.rb b/Library/Homebrew/macos.rb
index b8c2a58f9..ab3fe76d5 100644
--- a/Library/Homebrew/macos.rb
+++ b/Library/Homebrew/macos.rb
@@ -206,6 +206,7 @@ module MacOS extend self
"4.6" => { :llvm_build => 2336, :clang => "4.2", :clang_build => 425 },
"4.6.1" => { :llvm_build => 2336, :clang => "4.2", :clang_build => 425 },
"4.6.2" => { :llvm_build => 2336, :clang => "4.2", :clang_build => 425 },
+ "5.0" => { :clang => "5.0", :clang_build => 500 },
}
def compilers_standard?
diff --git a/Library/Homebrew/os/mac/xcode.rb b/Library/Homebrew/os/mac/xcode.rb
index 30b01d88d..873275fcc 100644
--- a/Library/Homebrew/os/mac/xcode.rb
+++ b/Library/Homebrew/os/mac/xcode.rb
@@ -23,10 +23,11 @@ module MacOS::Xcode extend self
when 10.5 then "3.1.4"
when 10.6 then "3.2.6"
when 10.7, 10.8 then "4.6.2"
+ when 10.9 then "5.0"
else
# Default to newest known version of Xcode for unreleased OSX versions.
- if MacOS.version > 10.8
- "4.6.2"
+ if MacOS.version > 10.9
+ "5.0"
else
raise "Mac OS X '#{MacOS.version}' is invalid"
end
@@ -127,6 +128,7 @@ module MacOS::Xcode extend self
when 40 then "4.4"
when 41 then "4.5"
when 42 then "4.6"
+ when 50 then "5.0"
else "4.6"
end
end