Skip to content

Latest commit

 

History

120 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Local build instructions

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.

  1. Run the setup script.

    ./setup.sh --fork upstream

    For CUDA (zml/xla cuda branch):

    ./setup.sh --fork cuda

    For ROCm:

    ./setup.sh --fork rocm

    For ROCm with the HRX HIP overlay:

    ./setup.sh --fork rocm_hrx

    For oneAPI:

    ./setup.sh --fork oneapi

    Optional overrides:

    • --ref <git-ref-or-sha> to override the pinned commit.
    • --dir <clone-dir> to change the clone location.
  2. 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.

About

No description, website, or topics provided.

Resources

Stars

6 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages