aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/os
AgeCommit message (Collapse)Author
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 #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
2014-04-05Add Xcode 5.1.1 (=Golden master build) clang versionClemens Gruber
Closes #28173. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-04-04Xcode.prefix: remove osx-gcc-installer hackMisty De Meo
This hack is starting to outlive its usefulness, and produces false positives. Fixes #28147.
2014-04-02Cache MacOS.version comparison resultsJack Nagel
MacOS.version#<=> is called many, many times during formula loading with the same half dozen or so arguments. A typical call to this method involves: * a hash lookup to convert a symbol argument to a string * creation of a throw-away Version object wrapping the argument * the actual version comparison, which is not cheap This makes it a prime candidate to be memoized.
2014-04-01Remove dead codeJack Nagel
2014-04-01The argument to pkgutil_info is always a stringJack Nagel
2014-04-01Batch up mdfind calls when possibleJack Nagel
2014-04-01Avoid calling xcodebuild twiceJack Nagel
2014-03-26CLT.installed?: base result on version detectionMisty De Meo
CLT.installed? previously returned false if the user had outdated dev tools installed after a 10.9 upgrade, which was confusing to users.
2014-03-22Remove unnecessary swearing.Mike McQuaid
2014-03-10Update latest CLT version checkJack Nagel
2014-03-10Recognize Xcode 5.1 and CLT 5.1Jack Nagel
Closes #27389. Fixes #27390.
2014-02-23latest xcode is 5.0.2Adam Vandenberg
Closes #26943.
2014-01-22mac: note that we only track stable Xcode versions.Mike McQuaid
2014-01-04Recommit ENV changesMisty De Meo
2014-01-04Revert "default_cc: locate already returns Pathnames"Mike McQuaid
This reverts commit 8ec6123d439e8f4d3586bbca6a426b726bd5e9dd.
2014-01-04Revert "default_compiler: recognize gcc-4.0"Mike McQuaid
This reverts commit bedcbb806bb8a991a1317b4ccde8d16b6974cc46.
2014-01-03default_compiler: recognize gcc-4.0Misty De Meo
2014-01-03default_cc: locate already returns PathnamesMisty De Meo
2013-12-14CLT.version: check 10.9 CLT firstMisty De Meo
10.9 users might have older CLT receipts sitting around, which could result in bad pkgutil results. For example, before changing this, my `brew --config` was printing '1.0' (the 10.7 version) instead of '5.0.1.0.1.1382131676', the actual CLT I had installed.
2013-12-14Update string references to mxcl/homebrew.Mike McQuaid
2013-12-14Update docs, comment mxcl/homebrew refs.Mike McQuaid
2013-12-04Homebrew CVS is required for Xcode 5+Jack Nagel
2013-11-28Implement MacOS.dev_tools_prefix a different wayJack Nagel
Avoid producing a dev_tools_path of "//usr/bin". Fixes #24751. Closes #24754.
2013-11-27Mac: add dev_tools_prefix method.Mike McQuaid
Basically dev_tools_path without the `/usr/bin`.
2013-11-26Add Hardware::CPU.aes? and Hardware::CPU.avx2?Jack Nagel
2013-11-26Add Hardware::CPU.intel? and Hardware::CPU.ppc?Jack Nagel
2013-11-26Remove caching from MacOS.preferred_archJack Nagel
The really expensive computation is now cached at its source, and this only caches true anyway.