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

BLD: load extra flags when checking for libflame #19671

Merged
merged 1 commit into from Aug 14, 2021

Conversation

charris
Copy link
Member

@charris charris commented Aug 14, 2021

Backport of #19582.

When trying to build numpy with a locally compiled libflame, it fails in calc_info() (here) when calling check_embedded_lapack(), if the library needs additional flags when compiling / linking. In this function, when calling extra_args = info.get('extra_link_args', []) (here), it returns an empty list, even if arguments are provided in site.cfg, as stated in the example configuration file. This pull request loads the extra arguments, before trying to compile.

@charris charris added 08 - Backport Used to tag backport PRs 36 - Build Build related PR labels Aug 14, 2021
@charris charris added this to the 1.21.2 release milestone Aug 14, 2021
@charris charris merged commit 52d5a4b into numpy:maintenance/1.21.x Aug 14, 2021
@charris charris deleted the backport-19582 branch August 14, 2021 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
08 - Backport Used to tag backport PRs 36 - Build Build related PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants