This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,15 @@
|
|||
Test for https://github.com/ocaml/dune/issues/7893
|
||||
When using an installed theory with plugins, things should work fine.
|
||||
|
||||
$ dune build --root to_install @all
|
||||
Entering directory 'to_install'
|
||||
Hello
|
||||
Leaving directory 'to_install'
|
||||
$ dune install --root to_install --prefix=$PWD
|
||||
|
||||
We now build the normal theory, and should work
|
||||
|
||||
$ COQPATH=$PWD/lib/coq/user-contrib dune build --root user @all
|
||||
Entering directory 'user'
|
||||
Hello
|
||||
Leaving directory 'user'
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
(lang dune 3.8)
|
||||
(using coq 0.8)
|
||||
|
||||
(package (name global))
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
(library
|
||||
(name plugin)
|
||||
(public_name global.plugin))
|
||||
|
|
@ -0,0 +1 @@
|
|||
let () = Format.eprintf "Hello@\n%!"
|
||||
|
|
@ -0,0 +1 @@
|
|||
|
||||
|
|
@ -0,0 +1 @@
|
|||
Declare ML Module "plugin:global.plugin".
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
(coq.theory
|
||||
(name Bar)
|
||||
(package global)
|
||||
(plugins global.plugin))
|
||||
|
|
@ -0,0 +1 @@
|
|||
From Bar Require Import bar.
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
(coq.theory
|
||||
(name Foo)
|
||||
(package local)
|
||||
(theories Bar))
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
(lang dune 3.8)
|
||||
(using coq 0.8)
|
||||
|
||||
(package (name local))
|
||||
Loading…
Add table
Add a link
Reference in a new issue