Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dune support #1

Open
Alizter opened this issue May 15, 2023 · 1 comment
Open

Dune support #1

Alizter opened this issue May 15, 2023 · 1 comment

Comments

@Alizter
Copy link

Alizter commented May 15, 2023

You should be able to build this using Dune with something like:

dune

(coq.theory
 (name CentralTypes) ; can be changed
 (theories HoTT)
 (mode vo) ; no native
 (stdlib no) ; not stldlib
 (flags -noinit -indices-matter))

and a dune-project file like:

(lang dune 3.7)
(using coq 0.7)

Then you can simply drop this project into Coq-HoTT and it will build together, or alternatively have them both in a directory with a dune-workspace file containing (lang dune 3.7).

Soon Dune 3.8 will be released and it will mean you can install the HoTT library using opam and build this repo directly. For now you can build them together.

@jarlg
Copy link
Owner

jarlg commented May 19, 2023

Thanks! This is good to know, especially that Dune 3.8 will make things more convenient. I might add info about it to the README after its out and I've tested it. (And I guess maybe we might want to add similar info to the Coq-HoTT build instructions.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants