MCPcopy Create free account
hub / github.com/numpy/numpy / run_meson

Method run_meson

numpy/f2py/_backends/_meson.py:169–173  ·  view source on GitHub ↗
(self, build_dir: Path)

Source from the content-addressed store, hash-verified

167 subprocess.run(command, cwd=cwd, check=True)
168
169 def run_meson(self, build_dir: Path):
170 setup_command = ["meson", "setup", self.meson_build_dir]
171 self._run_subprocess_command(setup_command, build_dir)
172 compile_command = ["meson", "compile", "-C", self.meson_build_dir]
173 self._run_subprocess_command(compile_command, build_dir)
174
175 def compile(self) -> None:
176 self.sources = _prepare_sources(self.modulename, self.sources, self.build_dir)

Callers 1

compileMethod · 0.95

Calls 1

Tested by

no test coverage detected