aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/hw.model.rb
AgeCommit message (Collapse)Author
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.
2009-09-01Obtain hw.model from the sysctl toolEloy Duran
Saves building our own tool to do the same job!
2009-08-31Change license to BSDMax Howell
I confirmed this change with all relevant contributors first.
2009-08-12Add note about xeon.Adam Vandenberg
Signed-off-by: Max Howell <max@methylblue.com>
2009-08-04HOMEBREW_CACHE is now a Pathname objectMax Howell
This is consistent with the other HOMEBREW_* path constants
2009-08-04FIX brew install before Cache has yet been createdMax Howell
Closes Homebrew/homebrew#7 Cache directory is created when downloading tarballs, but the new hw.model stuff compiles the hw.model.c file there.
2009-08-01Refactor and clean up codeMax Howell
2009-07-31Determine best optimization flags for hostMax Howell
We call sysctl to determine which exact Mac model we are running on and optimize as well as possible.