Skip to content

document cross-compile and install/sync for newer contributors #160

Open

Description

@virtuald

None of this is documented, and so it's hard for new contributors to do things.

To cross-compile, you need to run the docker container at https://github.com/robotpy/mostrobotpy/blob/main/.github/workflows/dist.yml#L217 and perform all the steps that are listed there.

An easier approach for cross-compilation is you make a PR against mostrobotpy, it will publish all the wheels to the CI job, and you can download the wheels from that (see for example https://github.com/robotpy/mostrobotpy/actions/runs/14223454151, the 'cross-roborio' download).

Activity

  1. added
    documentation
    on Apr 26, 2025
  2. virtuald commented on Jul 20, 2025

    @virtuald
    MemberAuthor

    The other tricky thing is that if you want to actually deploy your robot code and have it install the wheels you built, you need to compile a robotpy-meta wheel that uses the versions exactly. You also need to do robotpy installer download robotpy-cli.

  3. virtuald commented on Oct 24, 2025

    @virtuald
    MemberAuthor

    The most annoying part of this is setting up meson for cross-compilation. Probably should just build that part into the docker container?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions