mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Reduce Sybmian parallel build for Travis.
May help reduce the random failures.
This commit is contained in:
parent
cd413ab659
commit
97b8073818
1 changed files with 5 additions and 2 deletions
7
b.sh
7
b.sh
|
@ -1,5 +1,6 @@
|
|||
#!/bin/bash
|
||||
CMAKE=1
|
||||
MAKE_JOBS=4
|
||||
# Check Blackberry NDK
|
||||
BB_OS=`cat ${QNX_TARGET}/etc/qversion 2>/dev/null`
|
||||
if [ ! -z "$BB_OS" ]; then
|
||||
|
@ -71,9 +72,11 @@ done
|
|||
if [ ! -z "$TARGET_OS" ]; then
|
||||
echo "Building for $TARGET_OS"
|
||||
BUILD_DIR="$(tr [A-Z] [a-z] <<< build-"$TARGET_OS")"
|
||||
# HACK (doesn't like shadowed dir)
|
||||
# HACK (doesn't like shadowed dir)
|
||||
if [ "$TARGET_OS" == "Symbian" ]; then
|
||||
BUILD_DIR="Qt"
|
||||
# Temporarily limiting memory usage for automated builds.
|
||||
MAKE_JOBS=2
|
||||
fi
|
||||
else
|
||||
echo "Building for native host."
|
||||
|
@ -96,7 +99,7 @@ else
|
|||
qmake $QMAKE_ARGS ../Qt/PPSSPPQt.pro
|
||||
fi
|
||||
|
||||
make -j4 $MAKE_OPT
|
||||
make -j$MAKE_JOBS $MAKE_OPT
|
||||
|
||||
if [ "$PACKAGE" == "1" ]; then
|
||||
if [ "$TARGET_OS" == "Blackberry" ]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue