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

how can I do the Dune build on my local machine? #147

Open
rmatthes opened this issue Mar 2, 2023 · 2 comments
Open

how can I do the Dune build on my local machine? #147

rmatthes opened this issue Mar 2, 2023 · 2 comments
Assignees

Comments

@rmatthes
Copy link
Member

rmatthes commented Mar 2, 2023

To be more precise, how do I tell the satellite repository where the UniMath build resides?
Currently, there is only an instruction for using make, based on an "installed" UniMath (and I know how to "install" UniMath from the Dune build by creating a TAR file of the .vo files and injecting it).

@m-lindgren
Copy link
Member

So what I do is I keep largecatmodules inside of UniMath, so my directory structure is something like this:

UniMath
├── largecatmodules
└── UniMath

then I can run dune build in largecatmodules, or from the top UniMath directory I run dune build largecatmodules. I can update the documentation to reflect this. Note that if you do dune build in the top level directory with this setup it will always build both UniMath and largecatmodules. If you only want it to build UniMath then you have to specify it by using the command dune build UniMath.

@rmatthes
Copy link
Member Author

rmatthes commented Mar 2, 2023

Excellent, with my most recent PR to this satellite, I recognize the power of Dune in avoiding unnecessary compilation.

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