MCPcopy Create free account
hub / github.com/UbiquitousLearning/mllm / run

Method run

task.py:191–204  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

189 ]
190
191 def run(self):
192 logging.info("CMake build Task Start...")
193 targets = self.config.get("targets", None)
194 if targets:
195 for target in targets:
196 sub_command = self.make_command_str(
197 self.CMAKE_COMMAND.extend(["--target", target])
198 )
199 logging.info(sub_command)
200 throw_error_if_failed(os.system(sub_command))
201 else:
202 sub_command = self.make_command_str(self.CMAKE_COMMAND)
203 logging.info(sub_command)
204 throw_error_if_failed(os.system(sub_command))
205
206
207class CMakeInstallTask(Task):

Callers

nothing calls this directly

Calls 3

throw_error_if_failedFunction · 0.85
make_command_strMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected