Skip to content

Commit c551dac

Browse files
committed
"--pgo" and "-c Release" are mutually exclusive
1 parent d363daf commit c551dac

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

bench_runner/scripts/workflow.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,10 @@ def compile_windows(
185185
args = ["--%"] # This is the PowerShell "stop parsing" flag
186186
if force_32bit:
187187
args.extend(["-p", "win32"])
188-
args.extend(["-c", "Release"])
189188
if pgo:
190189
args.append("--pgo")
190+
else:
191+
args.extend(["-c", "Release"])
191192
if "JIT" in flags:
192193
args.append("--experimental-jit")
193194
if "PYTHON_UOPS" in flags:

0 commit comments

Comments
 (0)