From 81dc74a9974ecd02494b300fb97a0a7b2f186afc Mon Sep 17 00:00:00 2001 From: Anand Balakrishnan Date: Wed, 6 Sep 2023 07:49:55 -0700 Subject: [PATCH] fix: add cdt_name to config.variants (#357) --- boa/core/run_build.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/boa/core/run_build.py b/boa/core/run_build.py index 4ff3aed6..ba535e4e 100644 --- a/boa/core/run_build.py +++ b/boa/core/run_build.py @@ -479,6 +479,9 @@ def run_build(args: argparse.Namespace) -> None: config.zstd_compression_level = args.zstd_compression_level cbc, config = get_config(folder, variant, args.variant_config_files, config=config) + if config.variant and "cdt_name" in cbc: + # HACK: cdt_name is a list + config.variant["cdt_name"] = cbc["cdt_name"][0] if hasattr(args, "output_folder") and args.output_folder: config.output_folder = args.output_folder