Skip to content

Commit 9d2ba7f

Browse files
committed
toolchain: Add missing --no-build
1 parent 5e8b15d commit 9d2ba7f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

toolchain/mfc/test/case.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,13 +118,14 @@ def run(self, targets: typing.List[typing.Union[str, MFCTarget]], gpus: typing.S
118118
tasks = ["-n", str(self.ppn)]
119119
jobs = ["-j", str(ARG("jobs"))] if ARG("case_optimization") else []
120120
case_optimization = ["--case-optimization"] if ARG("case_optimization") else []
121+
rebuild = [] if self.rebuild or ARG("case_optimization") else ["--no-build"]
121122

122123
mfc_script = ".\\mfc.bat" if os.name == 'nt' else "./mfc.sh"
123124

124125
target_names = [ get_target(t).name for t in targets ]
125126

126127
command = [
127-
mfc_script, "run", filepath, *tasks, *case_optimization,
128+
mfc_script, "run", filepath, *rebuild, *tasks, *case_optimization,
128129
*jobs, "-t", *target_names, *gpus_select, *ARG("--")
129130
]
130131

0 commit comments

Comments
 (0)