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/extraction/dune | 7 +++++++ plugins/extraction/plugin_base.dune | 5 ----- 2 files changed, 7 insertions(+), 5 deletions(-) create mode 100644 plugins/extraction/dune delete mode 100644 plugins/extraction/plugin_base.dune (limited to 'plugins/extraction') diff --git a/plugins/extraction/dune b/plugins/extraction/dune new file mode 100644 index 0000000000..0c01dcd488 --- /dev/null +++ b/plugins/extraction/dune @@ -0,0 +1,7 @@ +(library + (name extraction_plugin) + (public_name coq.plugins.extraction) + (synopsis "Coq's extraction plugin") + (libraries num coq.plugins.ltac)) + +(coq.pp (modules g_extraction)) diff --git a/plugins/extraction/plugin_base.dune b/plugins/extraction/plugin_base.dune deleted file mode 100644 index 037b0d5053..0000000000 --- a/plugins/extraction/plugin_base.dune +++ /dev/null @@ -1,5 +0,0 @@ -(library - (name extraction_plugin) - (public_name coq.plugins.extraction) - (synopsis "Coq's extraction plugin") - (libraries num coq.plugins.ltac)) -- cgit v1.2.3