Skip to content

Support meson in build-wheel #1041

Closed as not planned
Closed as not planned

Description

@mhsmith

This will be required for any further updates to:

Activity

  1. vjeson commented on Dec 8, 2023

    @vjeson

    Waiting for this done #1040

  2. mhsmith commented on Dec 9, 2023

    @mhsmith
    MemberAuthor

    The mobile-forge repository has a recipe for building a recent version of numpy for iOS using meson. However, that may rely on crossenv, which we're not currently using in the Android build tool, though it might be a good idea in the future. See other references to crossenv in the issue tracker and the Git repository.

    The iOS recipe worked by patching NumPy's vendored copy of meson. However, the current NumPy version uses meson externally via pyproject.toml, so a different approach would be needed. Maybe we can change build-system to be a local directory which imports meson and monkey patches it.

  3. rgommers commented on Nov 5, 2024

    @rgommers

    However, the current NumPy version uses meson externally via pyproject.toml, so a different approach would be needed.

    It doesn't, as of today Meson is still vendored within the NumPy source tree (and that won't change very fast unfortunately). However, that is unique to NumPy. I'd suggest focusing first on the regular use case, where meson is a build dependency. Reasonable patches can always be added to Meson itself and I'd then be happy to sync them to NumPy's vendored fork.

  4. mhsmith commented on Nov 16, 2024

    @mhsmith
    MemberAuthor
  5. mhsmith commented on Dec 9, 2025

    @mhsmith
    MemberAuthor

    build-wheel is now deprecated in favor of cibuildwheel, so further work will take place in the cibuildwheel or meson repositories.

  6. mhsmith commented on Jan 15, 2026

    @mhsmith
    MemberAuthor

    I'm now working on adding official Android support to meson (mesonbuild/meson-python#824).

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions