aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/os
AgeCommit message (Collapse)Author
2014-09-18Disable outdated Xcode doctor checks until the bots are updatedJack Nagel
2014-09-18Xcode 6.0.1Jack Nagel
Closes Homebrew/homebrew#32394.
2014-09-10Prefer Xcode 6.1 on 10.10Dominyk Tiller
More Yosemite changes. Within two weeks or so, Xcode should be made available on the App Store, at which point 10.9 will need to go from β€œ5.1.1” to β€œ6.0” but whilst Yosemite is in Beta *everyone* should be using the Xcode Beta builds according to Apple, so Yosemite should be on 6.1 for the foreseeable, even when Apple releases Xcode 6.0 to 10.9 & below. 6.1 is still using the same Clang version number at this point. Closes Homebrew/homebrew#32201. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-08-09Realign case statementJack Nagel
2014-08-09Update unreleased version checkJack Nagel
2014-08-09Initial Yosemite SupportDominyk Tiller
Closes Homebrew/homebrew#31435. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-07-24OS::Mac: allow clearing compiler version cache.Mike McQuaid
Without this it’s impossible for brew-test-bot to be able to verify if installing GCC has allowed it to fix a compiler selection failure.
2014-07-16Raise ArgumentError when a symbol can't be mapped to a versionJack Nagel
The fact that this is implemented as a hash lookup is an implementation detail, so don't let the KeyError bubble up.
2014-07-13Use a hash to cache compiler version lookupsJack Nagel
2014-07-11Read if no block is passed to Utils.popen_readJack Nagel
2014-07-11Use Utils.popen_read in XQuartz version codepathJack Nagel
2014-07-05Use popen wrapperJack Nagel
Closes Homebrew/homebrew#30678.
2014-06-21Hardware: add new .features methodMisty De Meo
This returns a list of symbols with the various CPU features supported by the active hardware.
2014-06-20xcode: add new package ID for Mavericks (again).Mike McQuaid
Closes Homebrew/homebrew#30296.
2014-06-20Revert "xcode: add new package ID for Mavericks."Mike McQuaid
This reverts commit b0caede328b5181106451025df74a456276b76cf. Fixes Homebrew/homebrew#30299.
2014-06-20xcode: add new package ID for Mavericks.Mike McQuaid
Closes Homebrew/homebrew#30296.
2014-06-06Linuxbrew: Read CPU flags from /proc/cpuinfoShaun Jackman
Closes Homebrew/homebrew#29895. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-06-04hardware: Add Intel CPUs to OPTIMIZATION_FLAGSShaun Jackman
Closes Homebrew/homebrew#29866. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-06-04Update latest XQuartz versionTrent Ogren
See https://xquartz.macosforge.org/landing/ Closes Homebrew/homebrew#29826. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-06-03Add yosemite to mac versionsAndy Blyler
Closes Homebrew/homebrew#29823. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-06-03Simplify MacOS.version.to_symJack Nagel
2014-06-03Don't coerce value to string unnecessarilyJack Nagel
2014-05-28Loosen GCC version regexp to allow for custom version stringsJack Nagel
2014-05-12Fix CLT outdated check on 10.9Jack Nagel
Fixes Homebrew/homebrew#27420.
2014-05-12Latest Xcode is 5.1.1Jack Nagel
2014-05-06os/mac: don't use Formula.factory unnecessarily.Mike McQuaid
Instead check if the path exists by using opt.
2014-05-02Simpler Xcode prefix detection codeJack Nagel
2014-05-02Remove obsolete fallback for broken Xcode 4.3+Jack Nagel
After recent cleanups the code in this branch should be unreachable, so there is little point in keeping it around.
2014-05-01Remove MacOS.dev_tools_path and MacOS.dev_tools_prefixJack Nagel
These methods are no longer required.
2014-05-01Rename Xcode.folder to MacOS.active_developer_dirJack Nagel
This reflects what Apple calls it in more recent versions of Xcode/OS X.
2014-05-01Move xctoolchain_path to Xcode module, where it belongsJack Nagel
2014-05-01Trust xcrun now that we error out early for bad xcode-select pathsJack Nagel
Since ae177adb2bd55ee5ad6367e7639c4cf0c774b63a, we can safely assume that xcrun works, and a functioning xcrun will search dev_tools_path and xctoolchain_path, so we can stop doing extra work here. On CLT-only 10.7 and 10.8, xcrun will not work, but all the tools will be in /usr/bin, which we check before invoking xcrun. Further, in this case, dev_tools_path will be /usr/bin, and xctoolchain_path will not exist, so the fallbacks here are unnecessary.
2014-05-01Remove unnecessary nil checkJack Nagel
2014-05-01Fix caching of gcc_42_build_versionJack Nagel
2014-05-01Remove outdated commentJack Nagel
2014-04-30--config -> configAdam Vandenberg
2014-04-23Support core GCC formula as a GCC compiler.Mike McQuaid
It is activated by the same mechanism as the Homebrew/versions compilers which now check if the GCC formula uses the same, correct version. References Homebrew/homebrew#28418.
2014-04-21The argument to MacOS.locate is always a stringJack Nagel
2014-04-21Only check Xcode prefix when non-nilJack Nagel
2014-04-21Remove comments that no longer reflect any adjacent codeJack Nagel
2014-04-19Add another commentJack Nagel
2014-04-19Elaborate on why we should remove this codeJack Nagel
2014-04-15Update commentJack Nagel
2014-04-15Start cleaning up Xcode.versionJack Nagel
2014-04-15Xcode.bad_xcode_select_path? is used only once, so inline itJack Nagel
2014-04-15Don't call xcrun twiceJack Nagel
2014-04-15Remove another unnecessary checkJack Nagel
2014-04-15Remove unnecessary xcode-select checkJack Nagel
This is handled here: https://github.com/Homebrew/homebrew/blob/67fbb313da8843234c4d1785c9c074af5a025394/Library/brew.rb#L34-46
2014-04-15Document some unanswered questions in the Xcode moduleJack Nagel
2014-04-15Remove dead constantJack Nagel