Skip to content

0.5.0

Choose a tag to compare

@vlad-perevezentsev vlad-perevezentsev released this 07 Aug 12:00
· 170 commits to main since this release
aa364ac

Overview

This release migrates mkl_umath to a modern Meson-based build system, replacing the legacy scikit-build/CMake pipeline. It also introduces a command-line interface for patching NumPy's umath with MKL-accelerated implementations.

Highlights

🏗️ New Build System

  • Migrated from scikit-build to meson-python, removing setup.py and CMakeLists.txt in favor of meson.build, aligning mkl_umath with the build system used by NumPy and SciPy
  • MKL is now discovered via CMake, and ninja/cmake are formal build requirements
  • Renamed the OPTIMIZATION_REPORT/MKL_THREADING build options to opt_report/mkl_threading

🆕 NumPy umath patching CLI

  • Added python -m mkl_umath --patch install/uninstall/status for persistent NumPy umath patching across all Python sessions
  • Added python -m mkl_umath --with-numpy-patch <command> for one-shot execution of a command with MKL-accelerated umath

Python Version Support

  • ✅ Python 3.10, 3.11, 3.12, 3.13, 3.14

Detailed Changes

Added

  • Added CLI patch management for NumPy umath with persistent install/status/uninstall and one-shot command patching via python -m mkl_umath --patch <command> and python -m mkl_umath --with-numpy-patch <command> gh-216

Changed

  • Removed numpy-base dependency and USE_NUMPY_BASE environment variable from conda recipe gh-200
  • Migrated the build system from scikit-build to meson-python, removing setup.py and CMakeLists.txt in favor of meson.build gh-166
  • Renamed the OPTIMIZATION_REPORT and MKL_THREADING build options to opt_report and mkl_threading, now passed as meson setup args (e.g. -Csetup-args=-Dopt_report=true and -Csetup-args=-Dmkl_threading=tbb_thread) gh-166

Contributors

New Contributors

Full Changelog: 0.4.3...0.5.0