[vlc-commits] ios: parallelize contrib compilation

Felix Paul Kühne git at videolan.org
Tue Feb 3 15:19:28 CET 2015


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Tue Feb  3 15:18:34 2015 +0100| [8fc61bcf57b327599bc4138cf74e39e84e1e2327] | committer: Felix Paul Kühne

ios: parallelize contrib compilation

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8fc61bcf57b327599bc4138cf74e39e84e1e2327
---

 extras/package/ios/build.sh |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/extras/package/ios/build.sh b/extras/package/ios/build.sh
index 9a5aed2..2736236 100755
--- a/extras/package/ios/build.sh
+++ b/extras/package/ios/build.sh
@@ -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}
 



More information about the vlc-commits mailing list