OCamlPro / alt-ergo

OCamlPro public development repository for Alt-Ergo
https://alt-ergo.ocamlpro.com/
Other
130 stars 33 forks source link

Rewrite `gen_link_flags` in OCaml #1189

Closed Halbaroth closed 1 month ago

Halbaroth commented 1 month ago

As we noticed yesterday, Dune does not call an appropriate shell with the stanza (run ...) on Windows. I tried (run bash ...) but I ran into issues with absolute and relative paths. Another solution consists in using the stanza (enabled_if ...) to prevent Dune from calling the script on Windows. This solution is ugly because the mini-language for actions in Dune is really limited.

Finally, I rewrite the simple script in OCaml. This solution works fine!

I tested the workflow here: https://github.com/Halbaroth/alt-ergo/actions/runs/10162591930