aboutsummaryrefslogtreecommitdiff
path: root/Makefile.dune
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2019-02-04 18:16:39 +0100
committerEmilio Jesus Gallego Arias2019-02-04 18:16:39 +0100
commit0439543db9f3be84d59cfdc1dcad34bd114036e3 (patch)
treec116ee4f057c34109abfc5fc27a45e57cad436a7 /Makefile.dune
parentc70412ec8b0bb34b7a5607c07d34607a147d834c (diff)
[dune] Fix Dune build in Windows.
In order for Dune to work in Windows we need to tweak some script calls, they need a POSIX shell and the `(run ...)` / `(system ...)` actions use `cmd.exe` on Windows. Hopefully, we will rely less on `bash` when Dune can understand Coq libraries. This affects shell scripts in `kernel/**.sh` for example. It is interesting to see how faster the Coq Windows build is with Dune + Windows. There are some problems with PATHs that prevent the test suite from working, these will be fixed in a future PR.
Diffstat (limited to 'Makefile.dune')
-rw-r--r--Makefile.dune2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.dune b/Makefile.dune
index ee3e2d6cb7..78ecc4b056 100644
--- a/Makefile.dune
+++ b/Makefile.dune
@@ -40,7 +40,7 @@ help:
voboot:
dune build $(DUNEOPT) @vodeps
- dune exec coq_dune $(BUILD_CONTEXT)/.vfiles.d
+ dune exec ./tools/coq_dune.exe $(BUILD_CONTEXT)/.vfiles.d
states: voboot
dune build $(DUNEOPT) theories/Init/Prelude.vo