Skip to content
Open
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
9 changes: 8 additions & 1 deletion Utilities/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@ def add_global_args(parser):
"--reconfigure",
action="store_true",
help="whether to always reconfigure cmake")
parser.add_argument(
"--install-only",
action="store_true",
default=False)

@log_entry_exit
def add_build_args(parser):
Expand Down Expand Up @@ -494,7 +498,10 @@ def test(args):
@log_entry_exit
def install(args):
"""Builds SwiftPM, then installs its build products."""
build(args)
if args.install_only:
parse_build_args(args)
else:
build(args)

# Install swiftpm content in all of the passed prefixes.
for prefix in args.install_prefixes:
Expand Down