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/syntax/dune | 36 ++++++++++++++++++++++++++++++++++++ plugins/syntax/plugin_base.dune | 34 ---------------------------------- 2 files changed, 36 insertions(+), 34 deletions(-) create mode 100644 plugins/syntax/dune delete mode 100644 plugins/syntax/plugin_base.dune (limited to 'plugins/syntax') diff --git a/plugins/syntax/dune b/plugins/syntax/dune new file mode 100644 index 0000000000..b395695c8a --- /dev/null +++ b/plugins/syntax/dune @@ -0,0 +1,36 @@ +(library + (name numeral_notation_plugin) + (public_name coq.plugins.numeral_notation) + (synopsis "Coq numeral notation plugin") + (modules g_numeral numeral) + (libraries coq.vernac)) + +(library + (name string_notation_plugin) + (public_name coq.plugins.string_notation) + (synopsis "Coq string notation plugin") + (modules g_string string_notation) + (libraries coq.vernac)) + +(library + (name r_syntax_plugin) + (public_name coq.plugins.r_syntax) + (synopsis "Coq syntax plugin: reals") + (modules r_syntax) + (libraries coq.vernac)) + +(library + (name int63_syntax_plugin) + (public_name coq.plugins.int63_syntax) + (synopsis "Coq syntax plugin: int63") + (modules int63_syntax) + (libraries coq.vernac)) + +(library + (name float_syntax_plugin) + (public_name coq.plugins.float_syntax) + (synopsis "Coq syntax plugin: float") + (modules float_syntax) + (libraries coq.vernac)) + +(coq.pp (modules g_numeral g_string)) diff --git a/plugins/syntax/plugin_base.dune b/plugins/syntax/plugin_base.dune deleted file mode 100644 index 512752135d..0000000000 --- a/plugins/syntax/plugin_base.dune +++ /dev/null @@ -1,34 +0,0 @@ -(library - (name numeral_notation_plugin) - (public_name coq.plugins.numeral_notation) - (synopsis "Coq numeral notation plugin") - (modules g_numeral numeral) - (libraries coq.vernac)) - -(library - (name string_notation_plugin) - (public_name coq.plugins.string_notation) - (synopsis "Coq string notation plugin") - (modules g_string string_notation) - (libraries coq.vernac)) - -(library - (name r_syntax_plugin) - (public_name coq.plugins.r_syntax) - (synopsis "Coq syntax plugin: reals") - (modules r_syntax) - (libraries coq.vernac)) - -(library - (name int63_syntax_plugin) - (public_name coq.plugins.int63_syntax) - (synopsis "Coq syntax plugin: int63") - (modules int63_syntax) - (libraries coq.vernac)) - -(library - (name float_syntax_plugin) - (public_name coq.plugins.float_syntax) - (synopsis "Coq syntax plugin: float") - (modules float_syntax) - (libraries coq.vernac)) -- cgit v1.2.3