-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[dune] [ci] [appveyor] Fix and test Dune for Windows.
Unfortunately our `.vo` building scheme introduces a bit of pitfall as it needs a POSIX shell and `system` is `cmd.exe` on Windows. Hopefully, this bit of hack will go away when Dune can understand Coq libraries. Another core problem is that shell scripts (`kernel/**.sh`, `mkcamlp5.opt`) cannot be called with `(run ...)` on Windows, so we must use `(bash ...)` which is far from ideal. We also add some minimal testing of a Dune build on Windows, this should take 3/4 minutes so I believe it is acceptable. Current problem on windows is that the loadpath is set sometimes to `_build/install/default/lib/coq/theories/Init` and others to `_build/default/theories/Init/` due to coqroot being a strange thing in Win32 due to lack of symlinks, which makes it work by miracle on Unix.
- Loading branch information
Showing
8 changed files
with
39 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters