diff options
| author | Adam Vandenberg | 2009-11-16 09:35:19 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2009-11-19 14:03:06 -0800 |
| commit | 4fbcf13e658eaa0b1a02185c05cd84c5fe7a2567 (patch) | |
| tree | 5c8607d3c40e02780d6b41f796ef6cc42e56f43a /bin | |
| parent | 83fc432eab54b12e93a62fa1800bced66c631aec (diff) | |
| download | brew-4fbcf13e658eaa0b1a02185c05cd84c5fe7a2567.tar.bz2 | |
Move some helper functions into Hardware
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/brew | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -42,14 +42,8 @@ end def dump_config require 'hardware' - bits = Hardware.is_64_bit? ? 64 : 32 - cores = case Hardware.processor_count - when 1 then 'single' - when 2 then 'dual' - when 4 then 'quad' - else - Hardware.processor_count - end + bits = Hardware.bits + cores = Hardware.cores_as_words llvm = llvm_build sha = `git rev-parse --verify HEAD`.chomp kernel_arch = `uname -m`.chomp |
