From addd6ff33184614c6ad191436d34ea7528b17878 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 6 May 2021 23:49:46 +0300 Subject: "toolchain" -> "toolset", part 2 --- project/ci/boost.py | 2 +- project/ci/cmake.py | 2 +- project/ci/dirs.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'project/ci') diff --git a/project/ci/boost.py b/project/ci/boost.py index 6861603..8784e19 100644 --- a/project/ci/boost.py +++ b/project/ci/boost.py @@ -59,7 +59,7 @@ def build_ci(dirs, argv=None): configurations=(dirs.get_configuration(),), link=args.link, runtime_link=args.runtime_link, - toolset=dirs.get_toolset(), + toolset_hint=dirs.get_toolset(), b2_args=args.b2_args) build(params) diff --git a/project/ci/cmake.py b/project/ci/cmake.py index dbe31f6..9234a39 100644 --- a/project/ci/cmake.py +++ b/project/ci/cmake.py @@ -63,7 +63,7 @@ def build_ci(dirs, argv=None): platform=dirs.get_platform(), configuration=dirs.get_configuration(), boost_dir=boost_dir, - toolset=dirs.get_toolset(), + toolset_hint=dirs.get_toolset(), cmake_args=dirs.get_cmake_args() + args.cmake_args) build(params) diff --git a/project/ci/dirs.py b/project/ci/dirs.py index 6804ff4..7e3ce03 100644 --- a/project/ci/dirs.py +++ b/project/ci/dirs.py @@ -11,7 +11,7 @@ from project.boost.version import Version from project.ci.appveyor.generator import Generator, Image from project.configuration import Configuration from project.platform import Platform -from project.toolset import ToolchainType +from project.toolset import ToolsetHint from project.utils import env @@ -47,7 +47,7 @@ class Dirs(abc.ABC): @staticmethod def get_toolset(): if 'TOOLSET' in os.environ: - return ToolchainType.parse(os.environ['TOOLSET']) + return ToolsetHint.parse(os.environ['TOOLSET']) return None @staticmethod -- cgit v1.2.3