Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Commit

Permalink
fix: add cdt_name to config.variants (#357)
Browse files Browse the repository at this point in the history
  • Loading branch information
anand-bala authored Sep 6, 2023
1 parent 894e05c commit 81dc74a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions boa/core/run_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 81dc74a

Please sign in to comment.