Skip to content

Add a MacOS builder #269

Description

@rengolin

After #267 Lighthouse is supposed to run on MacOS, but we need a CI builder to make sure it works consistently and doesn't regress.

I've added macos-26 to the matrix in https://github.com/llvm/lighthouse/tree/macos, but the error in Torch means we'll have to also update the toml file somehow.

error: Distribution `torch==2.13.0+cpu @ registry+[https://download.pytorch.org/whl`](https://download.pytorch.org/whl%60) can't be installed because it doesn't have a source distribution or wheel for the current platform
hint: You're on macOS (`macosx_26_0_arm64`), but `torch` (v2.13.0+cpu) only has wheels for the following platforms: `manylinux_2_28_aarch64`, `manylinux_2_28_x86_64`, `linux_s390x`, `win_amd64`, `win_arm64`; consider adding "sys_platform == 'darwin' and platform_machine == 'arm64'" to `tool.uv.required-environments` to ensure uv resolves to a version with compatible wheels
Error: Process completed with exit code 2.

Torch-MLIR also doesn't have support for MacOS (only manylinux and win), so that's another thing that we'll need to fix before we can officially claim to support MacOS.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions