Commit 5643df48 authored by Philippe Coval's avatar Philippe Coval Committed by Uze Choi

tizen: Set parallelize build up to (nproc / 2)

Some systems faced internal compiler errors when overloaded

Bug: https://jira.iotivity.org/browse/IOT-2026
Change-Id: I898a76d894ec63a7945ec3ea668a0095b7fb2468
Signed-off-by: default avatarPhilippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/18905Tested-by: default avatarjenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: default avatarUze Choi <uzchoi@samsung.com>
parent c2906518
......@@ -56,6 +56,8 @@ cd $sourcedir/tmp
secured=1
gbscommand="gbs build -A armv7l "
nproc=$(expr 1 + $(expr `nproc --ignore=1` / 2 ) )
gbscommand=$gbscommand" --define '_smp_mflags -j$nproc'"
for ARGUMENT_VALUE in $*
do
......
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