aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/project/ci/boost.py
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-01-25 12:24:09 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-01-25 12:32:43 +0300
commitb265ab254b23edca357fcecbd0afade26d5a66ac (patch)
tree4395624af00d71dc43ff3bfe2d65e37f39798037 /project/ci/boost.py
parentREADME: update (diff)
downloadcmake-common-b265ab254b23edca357fcecbd0afade26d5a66ac.tar.gz
cmake-common-b265ab254b23edca357fcecbd0afade26d5a66ac.zip
project.ci: auto-fill --toolset from environment
Diffstat (limited to 'project/ci/boost.py')
-rw-r--r--project/ci/boost.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/project/ci/boost.py b/project/ci/boost.py
index 0320b1a..861dc1a 100644
--- a/project/ci/boost.py
+++ b/project/ci/boost.py
@@ -9,7 +9,6 @@ import sys
from project.boost.build import BuildParameters, build
from project.boost.download import DownloadParameters, download
-from project.boost.toolchain import ToolchainType
from project.ci.dirs import Dirs
from project.linkage import Linkage
from project.utils import setup_logging
@@ -30,9 +29,6 @@ def _parse_args(argv=None):
parser.add_argument('--runtime-link', metavar='LINKAGE',
type=Linkage.parse,
help='how the libraries link to the runtime')
- parser.add_argument('--toolset', metavar='TOOLSET',
- type=ToolchainType.parse,
- help='toolset to use')
parser.add_argument('b2_args', metavar='B2_ARG',
nargs='*', default=[],
@@ -57,7 +53,7 @@ def build_ci(dirs, argv=None):
configurations=(dirs.get_configuration(),),
link=args.link,
runtime_link=args.runtime_link,
- toolset=args.toolset,
+ toolset=dirs.get_toolset(),
b2_args=args.b2_args)
build(params)