MCPcopy Index your code
hub / github.com/numpy/numpy / run_meson

Method run_meson

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

Source from the content-addressed store, hash-verified

185 subprocess.run(command, cwd=cwd, check=True)
186
187 def run_meson(self, build_dir: Path):
188 setup_command = ["meson", "setup", self.meson_build_dir]
189 self._run_subprocess_command(setup_command, build_dir)
190 compile_command = ["meson", "compile", "-C", self.meson_build_dir]
191 self._run_subprocess_command(compile_command, build_dir)
192
193 def compile(self) -> None:
194 self.sources = _prepare_sources(self.modulename, self.sources, self.build_dir)

Callers 2

compileMethod · 0.95
compileMethod · 0.80

Calls 1

Tested by

no test coverage detected