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 ...@@ -10,6 +10,9 @@ SIXTYFOURBIT_SDK_MIN=7.0
ARCH=armv7 ARCH=armv7
SCARY=yes SCARY=yes
CORE_COUNT=`sysctl -n machdep.cpu.core_count`
let MAKE_JOBS=$CORE_COUNT+1
usage() usage()
{ {
cat << EOF cat << EOF
...@@ -257,7 +260,7 @@ fi ...@@ -257,7 +260,7 @@ fi
echo "EXTRA_CFLAGS += ${EXTRA_CFLAGS}" >> config.mak echo "EXTRA_CFLAGS += ${EXTRA_CFLAGS}" >> config.mak
echo "EXTRA_LDFLAGS += ${EXTRA_LDFLAGS}" >> config.mak echo "EXTRA_LDFLAGS += ${EXTRA_LDFLAGS}" >> config.mak
make fetch make fetch
make make -j$MAKE_JOBS > ${out}
spopd spopd
info "Bootstraping vlc" info "Bootstraping vlc"
...@@ -361,9 +364,6 @@ ${VLCROOT}/configure \ ...@@ -361,9 +364,6 @@ ${VLCROOT}/configure \
--disable-mad > ${out} # MMX and SSE support requires llvm which is broken on Simulator --disable-mad > ${out} # MMX and SSE support requires llvm which is broken on Simulator
fi fi
CORE_COUNT=`sysctl -n machdep.cpu.core_count`
let MAKE_JOBS=$CORE_COUNT+1
info "Building libvlc" info "Building libvlc"
make -j$MAKE_JOBS > ${out} 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