From eff522c1f2355f12106ef44f8612dadbc6207ea8 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 8 Jan 2020 15:46:29 +0300 Subject: boost/build: add --runtime-link This time with more safety checks. --- boost/build/ci/appveyor.py | 4 ++++ boost/build/ci/travis.py | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'boost/build/ci') diff --git a/boost/build/ci/appveyor.py b/boost/build/ci/appveyor.py index e6a330d..86488aa 100644 --- a/boost/build/ci/appveyor.py +++ b/boost/build/ci/appveyor.py @@ -58,6 +58,8 @@ def _parse_args(argv=None): parser = argparse.ArgumentParser() parser.add_argument('--link', metavar='LINKAGE', nargs='*', help='how the libraries are linked (i.e. static/shared)') + parser.add_argument('--runtime-link', metavar='LINKAGE', + help='how the libraries link to the runtime') parser.add_argument('b2_args', nargs='*', metavar='B2_ARG', default=[], help='additional b2 arguments, to be passed verbatim') return parser.parse_args(argv) @@ -88,6 +90,8 @@ def build_appveyor(argv=None): if args.link is not None: appveyor_argv.append('--link') appveyor_argv += args.link + if args.runtime_link is not None: + appveyor_argv += ['--runtime-link', args.runtime_link] appveyor_argv += [ '--', version.dir_path(_get_build_dir()), ] diff --git a/boost/build/ci/travis.py b/boost/build/ci/travis.py index 74ba29f..1c65cc9 100755 --- a/boost/build/ci/travis.py +++ b/boost/build/ci/travis.py @@ -56,6 +56,8 @@ def _parse_args(argv=None): parser = argparse.ArgumentParser() parser.add_argument('--link', metavar='LINKAGE', nargs='*', help='how the libraries are linked (i.e. static/shared)') + parser.add_argument('--runtime-link', metavar='LINKAGE', + help='how the libraries link to the runtime') parser.add_argument('b2_args', nargs='*', metavar='B2_ARG', default=[], help='additional b2 arguments, to be passed verbatim') return parser.parse_args(argv) @@ -86,6 +88,8 @@ def build_travis(argv=None): if args.link is not None: travis_argv.append('--link') travis_argv += args.link + if args.runtime_link is not None: + appveyor_argv += ['--runtime-link', args.runtime_link] travis_argv += [ '--', version.dir_path(_get_build_dir()), ] -- cgit v1.2.3