StageRuntime (stage_runtime v0.1.0-dev.6)

Copy Markdown View Source

Prebuilt, per-triplet OpenUSD runtime (monolithic usd_ms + headers + plugins).

Modeled on elixir-nx/xla: by default mix compile downloads the prebuilt archive matching the host triplet from this repo's GitHub releases, verifies it against checksum.txt, and unpacks it. Set OPENUSD_BUILD=true to build OpenUSD from source instead (via the Makefile + build_openusd.py).

Downstream NIFs consume StageRuntime.include_dir/0 and lib_dir/0.

Summary

Functions

Basename of the prebuilt archive for target/0.

Whether to build OpenUSD from source (OPENUSD_BUILD) rather than download.

Environment passed to the Makefile by elixir_make.

The OpenUSD version this package ships (e.g. "26.05").

Root of the unpacked OpenUSD tree (downloading/building on first use).

The resolved target triplet for the host (override with OPENUSD_TARGET).

All triplets this package publishes.

Functions

archive_filename(target \\ target())

Basename of the prebuilt archive for target/0.

build?()

Whether to build OpenUSD from source (OPENUSD_BUILD) rather than download.

include_dir()

lib_dir()

make_env()

Environment passed to the Makefile by elixir_make.

openusd_version()

The OpenUSD version this package ships (e.g. "26.05").

root()

Root of the unpacked OpenUSD tree (downloading/building on first use).

target()

The resolved target triplet for the host (override with OPENUSD_TARGET).

targets()

All triplets this package publishes.