Skip to content

CI: Exclude import libraries from list of DLLs on Cygwin. - #24570

Merged
charris merged 1 commit into
numpy:mainfrom
DWesl:patch-4
Aug 29, 2023
Merged

charris merged 1 commit into
numpy:mainfrom
DWesl:patch-4

Conversation

@DWesl

@DWesl DWesl commented Aug 28, 2023 •

Copy link
Copy Markdown
Contributor

There are import libraries in numpy.random (with extension .dll.a) that are intended for distribution. The script to list DLLs on Cygwin should not include those, only actual DLLs.

See #24206 for the issue prompting this PR.

There are import libraries in numpy.random that are intended for distribution.   This script should not include those, only actual DLLs.
@charris

charris commented Aug 29, 2023

Copy link
Copy Markdown
Member

Looks good, but I am not clear on what the difference does. Could you add a bit of explanation?

@charris
charris merged commit 0239d3e into numpy:main Aug 29, 2023
@charris

charris commented Aug 29, 2023

Copy link
Copy Markdown
Member

Thanks @DWesl .

@DWesl

DWesl commented Aug 29, 2023 •

Copy link
Copy Markdown
Contributor Author

Import libraries, .dll.a on Cygwin and .lib on WIndows, seem to be a list of functions found in the corresponding shared library (.dll on both), which allows compilers to verify at link time that there is a definition for all symbols, which will be available at run time in the DLL.

@DWesl
DWesl deleted the patch-4 branch August 29, 2023 18:09
@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants