Skip to content

Move build system to meson-python#166

Draft
ndgrigorian wants to merge 14 commits intoadd-pre-commitfrom
build-with-meson
Draft

Move build system to meson-python#166
ndgrigorian wants to merge 14 commits intoadd-pre-commitfrom
build-with-meson

Conversation

@ndgrigorian
Copy link
Collaborator

@ndgrigorian ndgrigorian commented Mar 4, 2026

This PR proposes moving from scikit-build to meson-python as the mkl_umath build system

meson-python is already used by NumPy and eliminates the need for CMake, while also allowing setup.py to be removed (with its logic moved into the meson.build script)

Following the approach in NumPy, vendored/process_src_template.py is vendored from NumPy to be called from the build script, automating the processing of conv_template.py

This PR also adds building and testing with standard clang

@ndgrigorian ndgrigorian force-pushed the build-with-meson branch 2 times, most recently from 1434bc2 to 5e8ef5a Compare March 4, 2026 11:09
* removes cmake and setup.py from the project
* vendors process_src_template.py from numpy and updates vendored conv_template.py
* updates build scripts
* updates meta.yaml
* updates pyproject.toml
* adds meson.build and meson.options
also fix license in pyproject.toml
@ndgrigorian ndgrigorian force-pushed the build-with-meson branch 6 times, most recently from 871aafd to ca5feea Compare March 5, 2026 01:24
@ndgrigorian ndgrigorian force-pushed the build-with-meson branch 4 times, most recently from cfbde16 to 753cc93 Compare March 5, 2026 05:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant