Commit 8fc61bcf authored by Felix Paul Kühne's avatar Felix Paul Kühne

ios: parallelize contrib compilation

parent 1fad7fca
......@@ -10,6 +10,9 @@ SIXTYFOURBIT_SDK_MIN=7.0
ARCH=armv7
SCARY=yes
CORE_COUNT=`sysctl -n machdep.cpu.core_count`
let MAKE_JOBS=$CORE_COUNT+1
usage()
{
cat << EOF
......@@ -257,7 +260,7 @@ fi
echo "EXTRA_CFLAGS += ${EXTRA_CFLAGS}" >> config.mak
echo "EXTRA_LDFLAGS += ${EXTRA_LDFLAGS}" >> config.mak
make fetch
make
make -j$MAKE_JOBS > ${out}
spopd
info "Bootstraping vlc"
......@@ -361,9 +364,6 @@ ${VLCROOT}/configure \
--disable-mad > ${out} # MMX and SSE support requires llvm which is broken on Simulator
fi
CORE_COUNT=`sysctl -n machdep.cpu.core_count`
let MAKE_JOBS=$CORE_COUNT+1
info "Building libvlc"
make -j$MAKE_JOBS > ${out}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment