Skip to content

Commit

Permalink
bump ready-to-run (OpenXiangShan#1173)
Browse files Browse the repository at this point in the history
  • Loading branch information
poemonsense authored Oct 26, 2021
1 parent a2d7423 commit f9930da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ready-to-run
3 changes: 3 additions & 0 deletions scripts/xiangshan.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ def __init__(self, args):
self.max_instr = args.max_instr
self.seed = random.randint(0, 9999)
self.numa = args.numa
self.diff = args.diff
self.fork = not args.disable_fork
# wave dump path
if args.wave_dump is not None:
Expand Down Expand Up @@ -99,6 +100,7 @@ def get_makefile_args(self):
def get_emu_args(self):
emu_args = [
(self.max_instr, "max-instr"),
(self.diff, "diff"),
(self.seed, "seed")
]
args = filter(lambda arg: arg[0] is not None, emu_args)
Expand Down Expand Up @@ -306,6 +308,7 @@ def run_ci(self, test):
parser.add_argument('--config', nargs='?', type=str, help='config')
# emu arguments
parser.add_argument('--numa', action='store_true', help='use numactl')
parser.add_argument('--diff', nargs='?', default="./ready-to-run/riscv64-nemu-interpreter-so", type=str, help='nemu so')
parser.add_argument('--max-instr', nargs='?', type=int, help='max instr')
parser.add_argument('--disable-fork', action='store_true', help='disable lightSSS')
# ci action head sha
Expand Down

0 comments on commit f9930da

Please sign in to comment.