Skip to content

Commit

Permalink
fall back to linux-64 if no target-platform is set
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfv committed Jan 15, 2025
1 parent fd269f4 commit 26cac91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rattler_build_conda_compat/jinja/jinja.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def jinja_env(variant_config: Mapping[str, str] | None = None) -> SandboxedEnvir
variant_config = {"target_platform": "linux-64", "build_platform": "linux-64", "mpi": "mpi"}

extra_vars = {}
target_platform = variant_config["target_platform"]
target_platform = variant_config.get("target_platform", "linux-64")
if target_platform != "noarch":
# set `linux` / `win`
platform, arch = target_platform.split("-")
Expand Down

0 comments on commit 26cac91

Please sign in to comment.