From 132e15c7f0e68fbd4428171791c5ba6e2be9537c Mon Sep 17 00:00:00 2001 From: Colin Patrick McCabe Date: Thu, 13 Jan 2011 08:56:39 -0800 Subject: [PATCH] Add gg Signed-off-by: Colin McCabe --- gg | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) create mode 100755 gg diff --git a/gg b/gg new file mode 100755 index 0000000..12267b3 --- /dev/null +++ b/gg @@ -0,0 +1,7 @@ +#!/bin/bash + +ncpus=1 +if [ -e /proc/cpuinfo ]; then + ncpus=`cat /proc/cpuinfo | grep '^processor' | wc -l` +fi +make -j $ncpus "$@" -- 1.6.6.rc1.39.g9a42