forked from github/server
updated bindings
This commit is contained in:
parent
fe7eb0bdeb
commit
edae097591
|
@ -1,19 +1,19 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
git submodule update --init
|
git submodule update --init
|
||||||
MACHINE=`uname -m`
|
MACHINE=`uname -m`
|
||||||
BIN_DIR="build-$MACHINE-Debug"
|
|
||||||
[ -z "$CC" ] && [ ! -z `which gcc` ] && CC="gcc"
|
[ -z "$CC" ] && [ ! -z `which gcc` ] && CC="gcc"
|
||||||
[ -z "$CC" ] && [ ! -z `which tcc` ] && CC="tcc"
|
[ -z "$CC" ] && [ ! -z `which tcc` ] && CC="tcc"
|
||||||
[ -z "$CC" ] && [ ! -z `which cc` ] && CC="cc"
|
[ -z "$CC" ] && [ ! -z `which cc` ] && CC="cc"
|
||||||
[ -z "$JOBS" ] && JOBS=$(nproc)
|
[ -z "$JOBS" ] && JOBS=$(nproc)
|
||||||
|
|
||||||
|
BIN_DIR="build-$MACHINE-$CC-Debug"
|
||||||
DISTCC=`which distcc`
|
DISTCC=`which distcc`
|
||||||
if [ ! -z "$DISTCC" ] ; then
|
if [ ! -z "$DISTCC" ] ; then
|
||||||
JOBS=`distcc -j`
|
JOBS=`distcc -j`
|
||||||
if [ -z "$JOBS" ] ; then
|
if [ -z "$JOBS" ] ; then
|
||||||
JOBS=1
|
JOBS=1
|
||||||
elif [ $JOBS -gt 1 ] ; then
|
elif [ $JOBS -gt 1 ] ; then
|
||||||
CC="distcc $CC"
|
CC="$DISTCC $CC"
|
||||||
MAKEOPTS=-j$JOBS
|
MAKEOPTS=-j$JOBS
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
/*
|
/*
|
||||||
** Lua binding: process
|
** Lua binding: process
|
||||||
** Generated automatically by tolua 5.1.3 on Sat Mar 15 19:26:36 2014.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "tolua.h"
|
#include "tolua.h"
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
/*
|
/*
|
||||||
** Lua binding: settings
|
** Lua binding: settings
|
||||||
** Generated automatically by tolua 5.1.3 on Sat Mar 15 19:26:36 2014.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "tolua.h"
|
#include "tolua.h"
|
||||||
|
|
Loading…
Reference in New Issue