The icecream N option is forwarded to depanneur
which one forwards it to the build script
Change-Id: I43e84a4b483093e2919d74575d55c756307ea423
Signed-off-by: Julien Isorce <j.isorce@samsung.com>
Signed-off-by: Li Jinjing <jinjingx.li@intel.com>
cmd_opts += ['--deps']
if args.rdeps:
cmd_opts += ['--rdeps']
+
+ if args.icecream > 0:
+ cmd_opts += ['--icecream=%s' % args.icecream]
+
cmd_opts += ['--threads=%s' % args.threads]
cmd_opts += ['--packaging-dir=%s' % get_packaging_dir(args)]
help='working in offline mode. Start building directly')
group.add_argument('--ccache', action="store_true",
help='use ccache to speed up rebuilds')
+ group.add_argument('--icecream', type=int, default=0,
+ help='Use N parallel build jobs with icecream')
group.add_argument('--threads', type=int, default=1,
help='number of threads to build multiple packages '
'in parallel')