-
Notifications
You must be signed in to change notification settings - Fork 33
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
Windows support through Opam 2.2 #1150
Comments
Thanks for the report & extra information. |
Good news, Alt-Ergo works on Windows through Opam 2.2 now! We support installations with both MSYS2 and Cygwin.
Please, let me know if you have an issue. Your patches have been helpful but when I tried it, I need to patch Alt-Ergo will officially support Windows in the next release Notice that some features are not available on Windows (see #1201). We plan to support |
Sorry for this long silence, I was in vacation ^^. I installed the package this morning and got the following warning:
And when I try to run the exectuable, nothing happens but the return value is false:
I guess that it means that Why3 will not be able to stop alt-ergo, but since Why3 still cannot compilable on Windows via Opam 2.2, I guess that it is not that problematic for us :P . From a business perspective it is not a problem for now: we have workaround for the very few people working on Windows and most of them do not use WP (thus, they do not use Alt-Ergo). It might be a "problem" for me for teaching in march 2025 if:
|
Thanks for the bug report. I will investigate. I need bit of information:
I didn't check but I guess that Why3 can kill a subprocess if it exceed the time limit. We plan to support timelimit on Windows through GC alarms.
We can publish a small release if you really need this feature before the 2.7.0. |
FYI, we worked a little bit on porting Frama-C to Windows in Opam 2.2. We had to fix zlib and gmp which are also necessary for Alt-Ergo but we could not really figure out how to fix Alt-Ergo.
The fixes that we prepared are available here: ocaml/opam-repository@master...zilbuz:opam-repository:frama-c-windows
In Alt-Ergo, I slightly modified /src/bin/text/dune, adding a condition
enabled_if
for the flags, and for now just adding a rule for Windows that uses the standard flags, however, if I can build the executable, it just fails to run currently, so I guess that diving in the code of Alt-Ergo might be necessary.The text was updated successfully, but these errors were encountered: