MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / tool

Method tool

misc/python/materialize/mzbuild.py:216–227  ·  view source on GitHub ↗

Start a binutils tool invocation for the configured architecture.

(self, name: str)

Source from the content-addressed store, hash-verified

214 )
215
216 def tool(self, name: str) -> list[str]:
217 """Start a binutils tool invocation for the configured architecture."""
218 if platform.system() != "Linux":
219 # We can't use the local tools from macOS to build a Linux executable
220 return ["bin/ci-builder", "run", "stable", name]
221 # If we're on Linux, trust that the tools are installed instead of
222 # loading the slow ci-builder. If you don't have compilation tools
223 # installed you can still run `bin/ci-builder run stable
224 # bin/mzcompose ...`, and most likely the Cargo build will already
225 # fail earlier if you don't have compilation tools installed and
226 # run without the ci-builder.
227 return [name]
228
229 def cargo_target_dir(self) -> Path:
230 """Determine the path to the target directory for Cargo."""

Callers 3

copyMethod · 0.80
mainFunction · 0.80
upload_debuginfoFunction · 0.80

Calls 1

systemMethod · 0.80

Tested by

no test coverage detected