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

Add a lambdapi command dep to generate a Makefile to check files in parallel #1108

Open
fblanqui opened this issue May 1, 2024 · 0 comments

Comments

@fblanqui
Copy link
Member

fblanqui commented May 1, 2024

The Makefile generated by lambdapi init is not that nice since it is calling lambdapi only once with all the files as argument so that files are not checked in parallel according to their dependencies and the option -j we could pass to make.
We should add a command lambdapi dep to automatically include the dependencies in a Makefile with

include .depends
.depends: $(SRC)
        lambdapi dep $(SRC) > $@

This could be done via a script like https://github.com/Deducteam/hol2dk/blob/main/dep-lpo but more elaborated because, in general, require (and require open) commands can appear any where, may have several arguments, and may be written on several lines.
Some tests could then be run in parallel using make instead of for f in ... do ... done.

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

1 participant