Skip to content

Commit

Permalink
Improve O2 command generation
Browse files Browse the repository at this point in the history
  • Loading branch information
vkucera committed Dec 13, 2024
1 parent fb434e0 commit fa84b1a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion codeHF/workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ options:
- "--resources-monitoring 2"
local: # used for every workflow
- "-b"
- "--configuration json://$JSON"
- "--configuration json://\"$JSON\""
# - "--min-failure-level error"

workflows:
Expand Down
4 changes: 2 additions & 2 deletions exec/make_command_o2.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,8 @@ def main():
command += "| \\\n" + string_wf + " "
if not command:
msg_fatal("Nothing to do!")
# Remove the leading "| \\\n".
command = command[4:]
# Remove the leading "| \\\n" and the trailing " ".
command = command[4:-1]
# Append performance profiling options.
if perf:
opt_perf = "perf record -F 99 -g --call-graph dwarf --user-callchains"
Expand Down

0 comments on commit fa84b1a

Please sign in to comment.