Skip to content

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

Merged
charris merged 1 commit intonumpy:mainfrom
serge-sans-paille:fix/distutils-c-cxx-compile-args
Jan 28, 2022
Merged

BUG: Fix build_ext interaction with non-numpy extensions#20934
charris merged 1 commit intonumpy:mainfrom
serge-sans-paille:fix/distutils-c-cxx-compile-args

Conversation

@serge-sans-paille
Copy link
Copy Markdown
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
Copy Markdown
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