aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/os
AgeCommit message (Collapse)Author
2015-02-27Make sysctl methods private rather than protectedJack Nagel
2015-02-27Drop unnecessary $?.success? checkJack Nagel
2015-02-27Move caching from sysctl_bool to sysctl_nJack Nagel
2015-02-27Add sysctl_n and sysctl_int methods to Mac hardware moduleJack Nagel
2015-01-04Use more https in urls and updated some lost linksViktor Szakats
Closes Homebrew/homebrew#35531. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-12-16Use Utils.popen_read to avoid shelling out in a few placesJack Nagel
2014-12-03os: xcode bumpDominyk Tiller
Bumps to the latest Xcode 6.1.1. Closes Homebrew/homebrew#34632. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-10-29Revert "Revert "xcode: use 6.1 on Mavericks.""Jack Nagel
This reverts commit 2b472a6e2634a7b7592abb7084b20a098f4a488b.
2014-10-26Improve API documentation output.Mike McQuaid
And include more files.
2014-10-26Import docs from wiki.Mike McQuaid
Closes Homebrew/homebrew#33211.
2014-10-21Revert "xcode: use 6.1 on Mavericks."Jack Nagel
Pending resolution of Homebrew/homebrew#33431. This reverts commit bf434e2f7d18ba7d77ac15d54a43c555bc4019c8.
2014-10-21xcode: use 6.1 on Mavericks.Dominyk Tiller
Closes Homebrew/homebrew#33399. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-10-17xcode: check clang exists to confim install.Mike McQuaid
2014-10-10Prefer current CLT package IDJack Nagel
It seems that "com.apple.pkg.CLTools_Base" was only used for one release. New releases are using "com.apple.pkg.CLTools_Executables" again. Fixes Homebrew/homebrew#33063.
2014-09-21Update CLT version checkJack Nagel
2014-09-21XQuartz 2.7.7Mike McQuaid
2014-09-21Xcode 6.0.1Mike McQuaid
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