[vlc-devel] [PATCH 2/2] NPAPI: build contribs in parallel where possible

Sean McGovern gseanmcg at gmail.com
Tue Feb 3 03:56:46 CET 2015


---
 extras/macosx/build-vlc.sh |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/extras/macosx/build-vlc.sh b/extras/macosx/build-vlc.sh
index 4f459a4..6196da1 100755
--- a/extras/macosx/build-vlc.sh
+++ b/extras/macosx/build-vlc.sh
@@ -127,7 +127,8 @@ cd ${ARCH}-npapi
  --disable-caca --disable-upnp --disable-vncserver \
  --disable-ncurses --disable-protobuf
 make fetch
-make .gettext && AUTOPOINT=true make
+core_count=`sysctl -n machdep.cpu.core_count`
+make .gettext && AUTOPOINT=true make -j $core_count
 fi
 
 spopd
-- 
1.7.9.2




More information about the vlc-devel mailing list