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

Explicitly try to compile with header inclusion in Python setup #446

Merged
merged 1 commit into from
Feb 25, 2024

Conversation

jacobkahn
Copy link
Contributor

There are some platforms/cases where the compiler sees a header with -ifoo but that #include <foo.h> still fails.

Without investigating these, since #include <foo.h> is a compile time requirement for Python bindings, change the compile test to include those headers as well.

Example of failure: https://github.com/flashlight/text/actions/runs/8039155921/job/21955863757 which succeeds from test branch when the test is added: https://github.com/flashlight/text/actions/runs/8039715499/job/21956995528 (doesn't enable HAVE_ZLIB falsely)

@kpu kpu merged commit e504a4d into kpu:master Feb 25, 2024
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants