Skip to content

BUG: Fix build_ext interaction with non-numpy extensions #20934

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

Merged

Conversation

serge-sans-paille
Copy link
Contributor

Numpy extensions define the extra_cxx_compile_args and extra_c_compile_args
filed, but distutils extensions don't. Take that into account when populating
build_extension.

Should fix #20928

Numpy extensions define the extra_cxx_compile_args and extra_c_compile_args
filed, but distutils extensions don't. Take that into account when populating
build_extension.

Should fix numpy#20928
@charris charris changed the title Fix build_ext interaction with non numpy extensions BUG: Fix build_ext interaction with non-numpy extensions Jan 28, 2022
@charris charris added 00 - Bug 09 - Backport-Candidate PRs tagged should be backported labels Jan 28, 2022
@charris charris added this to the 1.22.2 release milestone Jan 28, 2022
@charris charris merged commit 617822d into numpy:main Jan 28, 2022
@charris
Copy link
Member

charris commented Jan 28, 2022

Thanks @serge-sans-paille .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: AttributeError: 'Extension' object has no attribute 'extra_c_compile_args'
2 participants