You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
341 B
24 lines
341 B
#!/bin/sh
|
|
|
|
|
|
if ["$CC" -eq ""]; then
|
|
CC=cc
|
|
fi
|
|
if ["$CXX" -eq ""]; then
|
|
CXX=c++
|
|
fi
|
|
|
|
ccache --version
|
|
|
|
if [ $? -eq 0 ]; then
|
|
CC="ccache $CC"
|
|
CXX="ccache $CXX"
|
|
fi
|
|
|
|
autoconf2.13 # creates ./configure
|
|
rm -rf build-debug
|
|
mkdir build-debug
|
|
cd build-debug
|
|
|
|
time ../configure --enable-debug --disable-optimize && \
|
|
nice -n20 make -j 3
|
|
|