[dv] Fix running on LSF

Signed-off-by: Udi <udij@google.com>
This commit is contained in:
Udi 2020-04-07 17:04:42 -07:00 committed by udinator
parent 1d2959e00a
commit 47678a855a
2 changed files with 3 additions and 1 deletions

View file

@ -328,6 +328,7 @@ $(OUT)/rtl_sim/.compile.stamp: \
@./sim.py \
--o=${OUT} \
--steps=compile \
--lsf_cmd="${LSF_CMD}" \
${COMMON_OPTS} \
--simulator="${SIMULATOR}" --simulator_yaml=yaml/rtl_simulation.yaml \
$(cov-arg) $(wave-arg) --cmp_opts="${COMPILE_OPTS}"
@ -363,6 +364,7 @@ $(metadata)/rtl_sim.run.stamp: \
@./sim.py \
--o=$(OUT-SEED) \
--steps=sim \
--lsf_cmd="${LSF_CMD}" \
${TEST_OPTS} \
--simulator="${SIMULATOR}" --simulator_yaml=yaml/rtl_simulation.yaml \
$(cov-arg) $(wave-arg) $(lsf-arg) \

View file

@ -264,7 +264,7 @@ def run_sim_commands(command_list, use_lsf, check_return_code):
# we have to create the output directories in advance.
if use_lsf:
cmds = []
for cmd, dirname in command_list:
for desc, cmd, dirname in command_list:
os.makedirs(dirname, exist_ok=True)
cmds.append(cmd)
run_parallel_cmd(cmds, 600, check_return_code=check_return_code)