| 1 |
(library |
| 2 |
(name dev) |
| 3 |
(public_name rocq-runtime.dev) |
| 4 |
(synopsis "Rocq's Debug Printers") |
| 5 |
(wrapped false) |
| 6 |
(modules top_printers vm_printers) |
| 7 |
; NB currently we have no "install_printer" using ltac2, |
| 8 |
; but we still want to load_printer ltac2 |
| 9 |
; so that its genarg printers are present in the debugger's printer process |
| 10 |
(libraries rocq-runtime.vernac rocq-runtime.plugins.ltac rocq-runtime.plugins.ltac2)) |
| 11 |
|
| 12 |
(library |
| 13 |
(name debugger_support) |
| 14 |
(public_name rocq-runtime.debugger_support) |
| 15 |
(synopsis "Rocq Support for ocamldebug") |
| 16 |
(wrapped false) |
| 17 |
(modules debugger_support) |
| 18 |
(libraries rocq-runtime.dev)) |
| 19 |
|
| 20 |
(rule |
| 21 |
(targets dune-dbg) |
| 22 |
(deps |
| 23 |
dune-dbg.in |
| 24 |
../checker/coqchk.bc |
| 25 |
../topbin/rocqworker.bc |
| 26 |
../topbin/rocqnative.bc |
| 27 |
; We require all the OCaml libs to be in place and searchable |
| 28 |
; by OCamlfind, this is a bit of a hack but until Dune gets |
| 29 |
; proper ocamldebug support we have to live with that. |
| 30 |
%{lib:rocq-runtime.config:config.cma} |
| 31 |
%{lib:rocq-runtime.clib:clib.cma} |
| 32 |
%{lib:rocq-runtime.lib:lib.cma} |
| 33 |
%{lib:rocq-runtime.kernel:kernel.cma} |
| 34 |
%{lib:rocq-runtime.vm:coqrun.cma} |
| 35 |
%{lib:rocq-runtime.vm:../../stublibs/dllcoqrun_stubs.so} |
| 36 |
%{lib:rocq-runtime.library:library.cma} |
| 37 |
%{lib:rocq-runtime.engine:engine.cma} |
| 38 |
%{lib:rocq-runtime.pretyping:pretyping.cma} |
| 39 |
%{lib:rocq-runtime.gramlib:gramlib.cma} |
| 40 |
%{lib:rocq-runtime.interp:interp.cma} |
| 41 |
%{lib:rocq-runtime.proofs:proofs.cma} |
| 42 |
%{lib:rocq-runtime.parsing:parsing.cma} |
| 43 |
%{lib:rocq-runtime.printing:printing.cma} |
| 44 |
%{lib:rocq-runtime.tactics:tactics.cma} |
| 45 |
%{lib:rocq-runtime.vernac:vernac.cma} |
| 46 |
%{lib:rocq-runtime.plugins.ltac:ltac_plugin.cma} |
| 47 |
%{lib:rocq-runtime.plugins.ltac2:ltac2_plugin.cma} |
| 48 |
%{lib:rocq-runtime.dev:dev.cma} |
| 49 |
%{lib:rocq-runtime.debugger_support:debugger_support.cmi} |
| 50 |
%{lib:rocq-runtime.debugger_support:debugger_support.cma} |
| 51 |
%{lib:rocq-runtime.debugger_support:../META}) |
| 52 |
(action (copy dune-dbg.in dune-dbg))) |
| 53 |
|
| 54 |
(alias |
| 55 |
(name ml_toplevel_files) |
| 56 |
(deps (glob_files ml_toplevel/**))) |
| 57 |
|
| 58 |
(install |
| 59 |
(section lib) |
| 60 |
(package rocq-runtime) |
| •61 |
(files (glob_files (ml_toplevel/** with_prefix dev/ml_toplevel)))) |