mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-28 18:01:36 +00:00
Timeout optimized Python build so we can cache partial testing...
This commit is contained in:
@@ -66,17 +66,19 @@ else
|
||||
echo "running configure with safe and unsafe"
|
||||
./configure $safe_flags $unsafe_flags > /dev/null
|
||||
fi
|
||||
make -j$cpucount -s
|
||||
timeout 1800 make -j$cpucount -s
|
||||
RESULT=$?
|
||||
echo "First make exited with $RESULT"
|
||||
if [ $RESULT != 0 ]; then
|
||||
echo "Trying Python compile again without unsafe flags..."
|
||||
make clean
|
||||
./configure $safe_flags > /dev/null
|
||||
make -j$cpucount -s
|
||||
#echo "Trying Python compile again without unsafe flags..."
|
||||
#make clean
|
||||
#./configure $safe_flags > /dev/null
|
||||
#make -j$cpucount -s
|
||||
echo "Sticking with safe Python for now..."
|
||||
else
|
||||
echo "Installing optimized Python..."
|
||||
make install > /dev/null
|
||||
fi
|
||||
echo "Installing Python..."
|
||||
make install > /dev/null
|
||||
cd ~
|
||||
|
||||
export LD_LIBRARY_PATH=~/ssl/lib:~/python/lib
|
||||
|
||||
Reference in New Issue
Block a user