Skip to content

Instantly share code, notes, and snippets.

@sheepmaster
Created June 17, 2010 13:00
Show Gist options
  • Select an option

  • Save sheepmaster/442073 to your computer and use it in GitHub Desktop.

Select an option

Save sheepmaster/442073 to your computer and use it in GitHub Desktop.
distcc shim
#!/bin/sh
# Wraps distcc compiler calls in ccache.
# Install at /Developer/usr/bin.
DISTCC=/usr/bin/distcc
export CCACHE_PREFIX="$DISTCC"
if [ "$1" == "--host-info" ]; then
exec "$DISTCC" "$@"
fi
exec ccache "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment