Skip to content
This repository has been archived by the owner on Jun 28, 2019. It is now read-only.

option: add icecream support #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions gitbuildsys/cmd_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,10 @@ def prepare_depanneur_opts(args):
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)]

Expand Down
2 changes: 2 additions & 0 deletions tools/gbs
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,8 @@ def build_parser(parser):
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='distributed build system')
group.add_argument('--threads', type=int, default=1,
help='number of threads to build multiple packages '
'in parallel')
Expand Down