Skip to content

Commit

Permalink
fix if cpu not provided for
Browse files Browse the repository at this point in the history
Signed-off-by: Thing-han, Lim <[email protected]>
  • Loading branch information
potsrevennil committed Jun 20, 2024
1 parent 880e5a6 commit 9133ba4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/tests
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ def bench(force_qemu, verbose, cycles, cpu):
process_bench,
force_qemu,
verbose,
[f"CYCLES={cycles}", f"CFLAGS=-mcpu={cpu}"],
[f"CYCLES={cycles}", *(f"CFLAGS=-mcpu={cpu}" if cpu is not None else "")],
)


Expand Down

0 comments on commit 9133ba4

Please sign in to comment.