build
Installation
SKILL.md
Building Usd Optimize
The repo ships two equivalent entry scripts:
./repo.shfor Linux/bash-compatible shells andrepo.batfor Windowscmd.exe/PowerShell. They accept the same arguments — every example below shows both. Pick whichever matches the active shell.Consuming a published binary drop (no source, no
repo.sh/repo.bat) is a different workflow — see theprebuilt-packageskill anddocs/install-prebuilt-windows.md.
What this skill covers
Search this doc for keywords like MSVC, gcc, Packman, repo.sh, repo.bat, --config, --rebuild, usd-flavor, gcov, format to jump.
- Prerequisites — Linux (
gcc,make) and Windows (Visual Studio, MSVC, Win SDK). - Default Build (release) —
./repo.sh build/repo.bat buildinvocation. - Build Options —
--config,--rebuild,--enable-gcov, USD-flavor selection. - Build Output —
_build/<platform>/<config>/layout. - USD Flavor Tokens — selecting which USD bundle to build against.
- Formatting Check —
./repo.sh ci format.