Commit Graph
8 Commits
Author SHA1 Message Date
Adam Vandenberg 31f1fabd03 Define "snow_leopard_64?"
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-08-22 20:11:03 -07:00
listrophy a4e6393408 Add 'Arrandale' for core i7 MBP
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-04-29 11:51:05 -07:00
Adam Vandenberg ee8c805b65 Fix universal builds on 32-bit CPUs. 2010-04-22 17:23:59 -07:00
Adam Vandenberg e182e5f5b7 Move license block to separate LICENSE file. 2010-03-01 11:41:24 -08:00
Adam Vandenberg ef39adab33 Move some helper functions into Hardware 2009-11-19 14:03:06 -08:00
Ben Alpert 5d7cab9703 Add Hardware.is_64_bit? method
Closes #53
2009-09-24 16:30:26 -06:00
Max Howell 5c8c18870c Fix some "GCC cannot create executables"
This regards Issue #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-03 22:39:49 +01:00
spicyj 7c1d09672a Improvements to build environment determination
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.
2009-09-03 16:34:31 +01:00