aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/os
diff options
context:
space:
mode:
authorDominyk Tiller2014-08-07 23:43:05 +0100
committerJack Nagel2014-08-09 21:57:04 -0500
commit97af5a29f7bf2ab49803b31a88d6145c9613c16b (patch)
tree021adc2249742cb2d3c814997d887b2ed9f7168b /Library/Homebrew/os
parent2a5218dacc4bc6ef574279d5ddf069c33b8b3802 (diff)
downloadbrew-97af5a29f7bf2ab49803b31a88d6145c9613c16b.tar.bz2
Initial Yosemite Support
Closes Homebrew/homebrew#31435. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Homebrew/os')
-rw-r--r--Library/Homebrew/os/mac.rb1
-rw-r--r--Library/Homebrew/os/mac/xcode.rb4
2 files changed, 4 insertions, 1 deletions
diff --git a/Library/Homebrew/os/mac.rb b/Library/Homebrew/os/mac.rb
index 78afb8794..229071b21 100644
--- a/Library/Homebrew/os/mac.rb
+++ b/Library/Homebrew/os/mac.rb
@@ -206,6 +206,7 @@ module OS
"5.0.2" => { :clang => "5.0", :clang_build => 500 },
"5.1" => { :clang => "5.1", :clang_build => 503 },
"5.1.1" => { :clang => "5.1", :clang_build => 503 },
+ "6.0" => { :clang => "6.0", :clang_build => 600 },
}
def compilers_standard?
diff --git a/Library/Homebrew/os/mac/xcode.rb b/Library/Homebrew/os/mac/xcode.rb
index 0718ce89a..b98a4a728 100644
--- a/Library/Homebrew/os/mac/xcode.rb
+++ b/Library/Homebrew/os/mac/xcode.rb
@@ -14,10 +14,11 @@ module OS
when "10.7" then "4.6.3"
when "10.8" then "5.1.1"
when "10.9" then "5.1.1"
+ when "10.10" then "6.0"
else
# Default to newest known version of Xcode for unreleased OSX versions.
if MacOS.version > "10.9"
- "5.1.1"
+ "6.0"
else
raise "Mac OS X '#{MacOS.version}' is invalid"
end
@@ -115,6 +116,7 @@ module OS
when 42 then "4.6"
when 50 then "5.0"
when 51 then "5.1"
+ when 60 then "6.0"
else "5.1"
end
end