Skip to content
Snippets Groups Projects
Commit 4b785dfd authored by David's avatar David
Browse files

build.sh: Build contribs from source with multiple cores as well

parent b4731197
No related branches found
No related tags found
No related merge requests found
......@@ -115,6 +115,8 @@ fi
make > $out
spopd
core_count=`sysctl -n machdep.cpu.core_count`
let jobs=$core_count+1
#
# vlc/contribs
......@@ -129,7 +131,7 @@ if [ "$REBUILD" = "yes" ]; then
fi
if [ "$CONTRIBFROMSOURCE" = "yes" ]; then
make fetch
make
make -j$jobs
else
if [ ! -e "../$TRIPLET" ]; then
make prebuilt > $out
......@@ -168,8 +170,6 @@ fi
# make
#
core_count=`sysctl -n machdep.cpu.core_count`
let jobs=$core_count+1
if [ "$REBUILD" = "yes" ]; then
info "Running make clean"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment