aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/macos.rb
AgeCommit message (Collapse)Author
2013-10-18Rename MacOS to OS::MacJack Nagel
2013-10-18Add OS.mac? and OS.linux?Jack Nagel
2013-10-06Track the OS's default C++ stdlibMisty De Meo
2013-10-04Fetch yields the key, use itJack Nagel
2013-10-04MacOS: remove unnecessary begin blockJack Nagel
2013-10-04Add Xcode 5.0.1.Mike McQuaid
Closes #23040.
2013-10-04macos: cleanup whitespace.Mike McQuaid
2013-09-01Implement fails_with for non-Apple compilersMisty De Meo
This adds support for non-Apple GCC compilers in the fails_with code. A fails_with block for a non-Apple compiler looks like: fails_with :gcc => '4.8.1' do cause 'Foo' end Non-Apple compilers don't have build numbers, so compiler failures are based on version strings instead. Internally non-Apple compilers can be distinguished because they are passed around as strings instead of symbols. In addition, this alters the priority list for compilers, with the following changes: * Apple GCC 4.2 and LLVM-GCC swap positions, with GCC now taking priority. (Maybe LLVM-GCC should just go away.) * Non-Apple GCC compilers are ranked below GCC 4.2 but above LLVM-GCC and Apple GCC 4.0.
2013-08-15Add MacOS.preferred_archMisty De Meo
Replaced the plethora of ternaries we've used all over the place to determine whether x86_64 or i386 is called for.
2013-07-26MacOS.locate: search HOMEBREW_PREFIX before xcrunMisty De Meo
Since xcrun doesn't work on CLT-only systems. Querying HOMEBREW_PREFIX first before xcrun is much faster for that case.
2013-07-21Cache pkgutil results at the sourceJack Nagel
2013-07-21Existence of directory is implied by existence of executablesJack Nagel
2013-07-21Pull another unwieldy condition into a methodJack Nagel
2013-07-21These should be integersJack Nagel
2013-07-20Remove unnecessary use of globals in compiler version methodsJack Nagel
2013-07-20Don't report llvm-gcc if it's actually clangJack Nagel
2013-06-26Detect Command Line Tools on Mavericks.David Rice
Closes #20774.
2013-06-15Push MacOS.cat logic down into MacOS::VersionJack Nagel
2013-06-15Avoid unnecessary float to string conversionJack Nagel
2013-06-14Move pretty_name into MacOS::VersionAdam Vandenberg
Closes #20507. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-06-14Use Hardware::CPU moduleJack Nagel
2013-06-13Xcode 4.6.3Jack Nagel
2013-06-11Recognize OS X 10.9 and Xcode 5.0Clemens Gruber
Closes #20410. Closes #20401. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-06-06Add MacOS.pretty_nameJack Nagel
2013-06-06Decouple bottle tags from MacOS.catJack Nagel
2013-06-06Move oldest_cpu to HardwareJack Nagel
2013-06-01Require hardware where it is neededJack Nagel
2013-05-25Remove cat_without_underscores bottle methods.Mike McQuaid
2013-05-11Fix --build-bottle CFLAGS.Mike McQuaid
The CFLAGS were previously not generic enough. References #18944. References #19179.
2013-05-08Add gcc-4.0 to fails_withMisty De Meo
2013-04-15Update for Xcode 4.6.2Ashley Towns
Closes #19227. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-04-15Don't create MacOS.version multiple timesJack Nagel
2013-04-02CompilerSelector: don't use non-existent compilersJack Nagel
2013-03-23Hardware: separate out CPU values into CPU moduleMisty De Meo
* CPU functions now exist in Hardware::CPU * Added compatibility functions in compat/hardware_compat.rb * Names are less specific to Mac hardware, e.g. CPU.family instead of Hardware.intel_family * Hardware::CPU.family works for both Intel and PowerPC * New helper methods on CPU, like .sse4? and .altivec? Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2013-03-14Xcode 4.6.1 is releasedJack Nagel
Closes #18481.
2013-03-11Portability fixes to run Homebrew on Linux systemsShaun Jackman
Closes #16344. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-03-11Don't run certain functions on non-MACOS.Mike McQuaid
2013-03-01Support 32-bit 10.6 bottles.Mike McQuaid
Closes #17735. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-03-01Add non-/usr/local bottles support.Mike McQuaid
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-02-28Exclude all located superenv paths.Mike McQuaid
The previous fix only looked at the current Homebrew but we should discard hits from other installations of Homebrew too.
2013-02-10Don't reinvent IndexError hereJack Nagel
2013-02-07superenv bin directory is under HOMEBREW_REPOSITORYJack Nagel
2013-02-07MacOSVersion -> MacOS::VersionJack Nagel
2013-02-06MacOS: cache calls to mdfindJack Nagel
2013-02-01Don't call methods on xcrun_path if it's nilJack Nagel
2013-01-31Don't let xcrun find superenv tools.Mike McQuaid
Causes an infinite loop when trying to find e.g. missing gcc. Closes #17426 References #17455
2013-01-29Don't use underscores in (new) bottle filenames.Mike McQuaid
Closes #14270
2013-01-28Fix clang version detection on Xcode 4.6+Jack Nagel
2013-01-28Fix compiler map keyJack Nagel
2013-01-28Xcode 4.6 released.Mike McQuaid
Closes #17383. Closes #17384.