From 5db591257070734439dd5550995d6d3f497256c0 Mon Sep 17 00:00:00 2001 From: Emilio Jesus Gallego Arias Date: Fri, 22 Mar 2019 06:33:49 +0100 Subject: [dune] [stdlib] Build the standard library natively with Dune. This completes a pure Dune bootstrap of Coq. There is still the question if we should modify `coqdep` so it does output a dependency on `Init.Prelude.vo` in certain cases. TODO: We still double-add `theories` and `plugins` [in coqinit and in Dune], this should be easy to clean up. Setting `libs_init_load_path` does give a correct build indeed; however we still must call this for compatibility? --- plugins/micromega/dune | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 plugins/micromega/dune (limited to 'plugins/micromega/dune') diff --git a/plugins/micromega/dune b/plugins/micromega/dune new file mode 100644 index 0000000000..33ad3a0138 --- /dev/null +++ b/plugins/micromega/dune @@ -0,0 +1,24 @@ +(library + (name micromega_plugin) + (public_name coq.plugins.micromega) + ; be careful not to link the executable to the plugin! + (modules (:standard \ csdpcert g_zify zify)) + (synopsis "Coq's micromega plugin") + (libraries num coq.plugins.ltac)) + +(executable + (name csdpcert) + (public_name csdpcert) + (package coq) + (modules csdpcert) + (flags :standard -open Micromega_plugin) + (libraries coq.plugins.micromega)) + +(library + (name zify_plugin) + (public_name coq.plugins.zify) + (modules g_zify zify) + (synopsis "Coq's zify plugin") + (libraries coq.plugins.ltac)) + +(coq.pp (modules g_micromega g_zify)) -- cgit v1.2.3