Created
March 5, 2014 19:14
-
-
Save dhuseby/9374384 to your computer and use it in GitHub Desktop.
a minimal distcc .userconfig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# figure out where B2G root is | |
export B2G_DIR=${B2G_DIR:-$(cd $(dirname $0); pwd)} | |
# options | |
export CC=gcc-4.6 | |
export CXX=g++-4.6 | |
export USE_DISTCC=${USE_DISTCC:-} | |
export CCACHE_DIR=${CCACHE_DIR:-$HOME/.ccache} | |
# enable distcc if specified | |
if [ "${USE_DISTCC}" == "1" ]; then | |
export CC=`which ${CC}` | |
export CXX=`which ${CXX}` | |
export CCACHE_PREFIX="distcc" | |
export CCACHE_DIR="/mnt/ccache" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment