Skip to content

Commit c1a0bc1

Browse files
committed
Please HELP with Windows syntax
1 parent 82b1a56 commit c1a0bc1

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

bench_runner/scripts/workflow.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -202,9 +202,9 @@ def compile_windows(
202202
if "CLANG" in flags:
203203
args.extend(
204204
[
205-
'"/p:PlatformToolset`=clangcl"',
206-
r"/p:LLVMInstallDir=C:\Program Files\LLVM",
207-
r"/p:LLVMToolsVersion=19.1.6",
205+
"/p:PlatformToolset`=clangcl",
206+
"/p:LLVMInstallDir`=C:\\Program Files\\LLVM",
207+
"/p:LLVMToolsVersion`=19.1.6",
208208
"--tail-call-interp",
209209
]
210210
)
@@ -215,7 +215,6 @@ def compile_windows(
215215
Path("PCbuild") / "build.bat",
216216
*args,
217217
],
218-
shell=True,
219218
)
220219
shutil.copytree(get_windows_build_dir(force_32bit), "libs", dirs_exist_ok=True)
221220

bench_runner/templates/_benchmark.src.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ jobs:
7272
run: |
7373
git gc
7474
- name: Building Python and running pyperformance
75-
shell: cmd
7675
run: |
7776
python workflow_bootstrap.py ${{ inputs.fork }} ${{ inputs.ref }} ${{ inputs.machine }} ${{ inputs.benchmarks || 'all' }} "${{ env.flags }}" ${{ inputs.force && '--force' || '' }} ${{ inputs.pgo && '--pgo' || '' }} --run_id ${{ github.run_id }}
7877
# Pull again, since another job may have committed results in the meantime

0 commit comments

Comments
 (0)