Skip to content

BLD: simplifications in meson.build files#20121

Merged
tylerjereddy merged 4 commits intoscipy:mainfrom
rgommers:build-simplifications
Feb 21, 2024
Merged

BLD: simplifications in meson.build files#20121
tylerjereddy merged 4 commits intoscipy:mainfrom
rgommers:build-simplifications

Conversation

@rgommers
Copy link
Member

  • simplify Pythran usage, removing unnecessary custom_target's
  • remove unused variable names
  • improve use of Tempita where possible
  • avoid use of py3 but rather rely on shebang files

@rgommers rgommers removed scipy.integrate scipy.cluster Build issues Issues with building from source, including different choices of architecture, compilers and OS scipy.spatial labels Feb 20, 2024
@lucascolley lucascolley added this to the 1.13.0 milestone Feb 21, 2024
Using a generator is analogous to how it's done for Cython, and
easier to understand.
Use a generator where possible, and also avoid invoking the Python
interpreter with `py3, tempita` but rather relying on Meson's
`find_program` via a shebang.
@rgommers rgommers force-pushed the build-simplifications branch from b64e3e1 to 0d19f3c Compare February 21, 2024 09:22
@rgommers rgommers changed the title BLD: simplification in meson.build files BLD: simplifications in meson.build files Feb 21, 2024
@rgommers
Copy link
Member Author

This is happy now, should be good to go.

Copy link
Contributor

@tylerjereddy tylerjereddy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I read the full diff and tested against NumPy main locally, seems like useful cleanup thanks.

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

Labels

maintenance Items related to regular maintenance tasks Meson Items related to the introduction of Meson as the new build system for SciPy

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants