From c551dac4eb46f9e5420f37c759d7f60a04f5c1e8 Mon Sep 17 00:00:00 2001 From: Chris Eibl <138194463+chris-eibl@users.noreply.github.com> Date: Fri, 20 Feb 2026 21:16:32 +0100 Subject: [PATCH] "--pgo" and "-c Release" are mutually exclusive --- bench_runner/scripts/workflow.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bench_runner/scripts/workflow.py b/bench_runner/scripts/workflow.py index a84355b..a6312bb 100644 --- a/bench_runner/scripts/workflow.py +++ b/bench_runner/scripts/workflow.py @@ -185,9 +185,10 @@ def compile_windows( args = ["--%"] # This is the PowerShell "stop parsing" flag if force_32bit: args.extend(["-p", "win32"]) - args.extend(["-c", "Release"]) if pgo: args.append("--pgo") + else: + args.extend(["-c", "Release"]) if "JIT" in flags: args.append("--experimental-jit") if "PYTHON_UOPS" in flags: