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

Function _enter_builder

misc/python/materialize/xcompile.py:198–213  ·  view source on GitHub ↗
(arch: Arch, channel: str | None = None)

Source from the content-addressed store, hash-verified

196
197
198def _enter_builder(arch: Arch, channel: str | None = None) -> list[str]:
199 if "MZ_DEV_CI_BUILDER" in os.environ or sys.platform == "darwin":
200 return []
201 else:
202 default_channel = (
203 "stable"
204 if Sanitizer[os.getenv("CI_SANITIZER", "none")] == Sanitizer.none
205 else "nightly"
206 )
207 return [
208 "env",
209 f"MZ_DEV_CI_BUILDER_ARCH={arch}",
210 "bin/ci-builder",
211 "run",
212 channel if channel else default_channel,
213 ]
214
215
216def _bootstrap_darwin(arch: Arch) -> None:

Callers 2

cargoFunction · 0.85
toolFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected