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

fix cygwin compilation (without timer support) #283

Merged
merged 1 commit into from
Oct 14, 2021
Merged

Conversation

quicquid
Copy link
Contributor

@quicquid quicquid commented Oct 6, 2021

Cygwin's gcc/newlib (c standard library) does not define some constants and functions without explicitly enabling them as a feature via -D_BSD_SOURCE. See also https://man7.org/linux/man-pages/man7/feature_test_macros.7.html .

@quickbeam123
Copy link
Collaborator

I guess this is a step in the right direction, but might not fix the whole cigwin compile issue, right?

@quicquid
Copy link
Contributor Author

quicquid commented Oct 6, 2021

It does compile on cygwin but schedules / timers don't work because there is no SIGALARM on Windows (the signal gets silently dropped). Afaik for Isabelle that should be sufficient because it runs Vampire with its own set of options and has its own timeout but it's not enough for a proper Windows / Cygwin release. We also only tested without Z3 so far - but having it turned off might be a good idea when we do not have the means to stop it.

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