aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/hardware.rb
AgeCommit message (Collapse)Author
2010-08-22Define "snow_leopard_64?"Adam Vandenberg
snow_leopard_64? (defined in Hardware) is a short-cut for: MACOS_VERSION >= 10.6 and Hardware.is_64_bit? Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-04-29Add 'Arrandale' for core i7 MBPlistrophy
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-04-22Fix universal builds on 32-bit CPUs.Adam Vandenberg
2010-03-01Move license block to separate LICENSE file.Adam Vandenberg
2009-11-19Move some helper functions into HardwareAdam Vandenberg
2009-09-24Add Hardware.is_64_bit? methodBen Alpert
Closes Homebrew/homebrew#53
2009-09-03Fix some "GCC cannot create executables"Max Howell
This regards Issue Homebrew/homebrew#30. Turns out -march=native isn't supported by Apple's GCC, but while investigating it I found they'd back ported the -march=core2 option, so we win anyway. Logic reverted to how it was yesterday. I moved the gcc options stuff back to brewkit.rb as we manipulate the cflags more later and it seemed bad form to split the logic for this area over two files. Additionally the brew command exits immediately on powerpc now. Brewkit doesn't throw as theoretically it is a useful library file for other projects.
2009-09-03Improvements to build environment determinationspicyj
Simplified hardware model testing. Even smarter compiler option generation using sysctl and new GCC 4.2 features. Get processor count from sysctl and thus remove our dependency on RubyCocoa.