This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1 @@
Definition foo := 3.

View file

@ -0,0 +1,3 @@
(coq.theory
(name a)
(package csimple))

View file

@ -0,0 +1,3 @@
(lang dune 3.7)
(using coq 0.7)

View file

@ -0,0 +1,37 @@
$ mkdir b
$ cat > b/dune <<EOF
> (coq.theory
> (name b)
> (theories a)
> (package csimple))
> EOF
$ cat > b/b.v <<EOF
> From a Require Import a.
> Definition bar := a.foo.
> EOF
$ cat > b/d.v <<EOF
> From a Require Import a.
> Definition doo := a.foo.
> EOF
$ dune build --display short --debug-dependency-path
Warning: Coq Language Versions lower than 0.8 have been deprecated in Dune
3.8 and will be removed in an upcoming Dune version.
Hint: To disable this warning, add the following to your dune-project file:
(warnings (deprecated_coq_lang_lt_08 disabled))
coqdep a/.a.theory.d
coqdep b/.b.theory.d
coqc a/Na_a.{cmi,cmxs},a/a.{glob,vo}
coqc b/Nb_b.{cmi,cmxs},b/b.{glob,vo}
coqc b/Nb_d.{cmi,cmxs},b/d.{glob,vo}
$ cat > b/b.v <<EOF
> From a Require Import a.
> Definition bar := a.foo.
> Definition zoo := 4.
> EOF
$ dune build --display short --debug-dependency-path
Warning: Coq Language Versions lower than 0.8 have been deprecated in Dune
3.8 and will be removed in an upcoming Dune version.
Hint: To disable this warning, add the following to your dune-project file:
(warnings (deprecated_coq_lang_lt_08 disabled))
coqdep b/.b.theory.d
coqc b/Nb_b.{cmi,cmxs},b/b.{glob,vo}