Skip to content

Commit 5a2c730

Browse files
committed
at: use correct ulimit flag for virtual memory
Signed-off-by: Vitor Bandeira <[email protected]>
1 parent 52b1f22 commit 5a2c730

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/AutoTuner/src/autotuner/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ def openroad(
325325

326326
make_command = export_command
327327
if args.memory_limit is not None:
328-
make_command += f"ulimit -m {args.memory_limit * 1_000_000}; "
328+
make_command += f"ulimit -v {args.memory_limit * 1_000_000}; "
329329
make_command += f"make -C {base_dir}/flow DESIGN_CONFIG=designs/"
330330
make_command += f"{args.platform}/{args.design}/config.mk"
331331
make_command += f" PLATFORM={args.platform}"

0 commit comments

Comments
 (0)