Skip to content

BLD: load extra flags when checking for libflame#19671

Merged
charris merged 1 commit intonumpy:maintenance/1.21.xfrom
charris:backport-19582
Aug 14, 2021
Merged

BLD: load extra flags when checking for libflame#19671
charris merged 1 commit intonumpy:maintenance/1.21.xfrom
charris:backport-19582

Conversation

@charris
Copy link
Copy Markdown
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.

2 participants