Skip to content
This repository
tag: v0.6.9
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

executable file 26 lines (19 sloc) 0.444 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
#! /bin/sh

# v8 doesn't like ccache
if [ ! -z "`echo $CC | grep ccache`" ]; then
echo "Error: V8 doesn't like ccache. Please set your CC env var to 'gcc'"
  echo " (ba)sh: export CC=gcc"
  exit 1
fi

if [ -z "$PYTHON" ]; then
PYTHON=python
fi

CUR_DIR=$PWD

#possible relative path
WORKINGDIR=`dirname $0`
cd "$WORKINGDIR"
#abs path
WORKINGDIR=`pwd`
cd "$CUR_DIR"

"$PYTHON" "${WORKINGDIR}/tools/waf-light" --jobs=1 configure $*

exit $?
Something went wrong with that request. Please try again.