This repo mirrors the GitHub Actions workflow for OpenXLA builds. Use the setup script to clone the correct fork at the pinned commit, apply patches, and print the exact build commands from the workflow matrix.
-
Run the setup script.
./setup.sh --fork upstream
For ROCm:
./setup.sh --fork rocm
Optional overrides:
--ref <git-ref-or-sha>to override the pinned commit.--dir <clone-dir>to change the clone location.
-
Copy/paste the emitted commands for the target you want to build.
The script reads the matrix in .github/workflows/_build.yaml, so the printed commands are always consistent with CI.