Skip to content

Conversation

@seiko2plus
Copy link
Member

Ensure that the distutils generated config files and wrapped sources,
derived from dispatch-able sources are consistently generated within the build directory
when the inplace build option is enabled.

This change is crucial to prevent conflicts with meson-generated config headers.
Given that spin build --clean does not remove these headers, which
requires cleaning up the numpy root via git clean otherwise
the build will fails.

closes #24450

@seiko2plus seiko2plus added component: numpy.distutils component: SIMD Issues in SIMD (fast instruction sets) code or machinery labels Aug 20, 2023
…dispatch config headers

  Ensure that the distutils generated config files and wrapped sources,
  derived from dispatch-able sources are consistently generated within the build directory
  when the inplace build option is enabled.

  This change is crucial to prevent conflicts with meson-generated config headers.
  Given that `spin build --clean` does not remove these headers, which
  requires cleaning up the numpy root via `git clean` otherwise
  the build will fails.
Copy link
Member

@rgommers rgommers left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @seiko2plus

I'll leave it to @mattip to merge, since there's still an open comment from him.

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

Labels

00 - Bug component: numpy.distutils component: SIMD Issues in SIMD (fast instruction sets) code or machinery

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG: Cannot build main on MacOS M1

4 participants