Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Fix meson build failure due to unchanged inplace auto-generated dispatch config headers #24468

Merged
merged 1 commit into from
Aug 21, 2023

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.
.gitignore Show resolved Hide resolved
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.

@mattip mattip merged commit e8e523f into numpy:main Aug 21, 2023
58 of 60 checks passed
@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Aug 22, 2023
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