Skip to content

Make it easy to build the CakeML compiler backend from HOL #1536

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

myreen
Copy link
Contributor

@myreen myreen commented Jun 25, 2025

This PR adds examples/developers/build_cakeml which is setup so that a run of Holmake there downloads the master branch of CakeML and builds compiler/backend/proofs, i.e. the correctness proof for the CakeML compiler backend.

This can be handy to run in case one wants to check whether changes to HOL break the CakeML compiler proofs.

Just run Holmake in $(HOLDIR)/examples/developers/build_cakeml/
@mn200
Copy link
Member

mn200 commented Jun 25, 2025

Why not just set up a cron job to do this test as part of general CakeML infrastructure?

@myreen
Copy link
Contributor Author

myreen commented Jun 25, 2025

Feel free to close this PR and delete the branch if you see no use in it.

I see this PR as a simple way to build CakeML for someone not involved in CakeML. Also, this serves as an example of how to use .hol_preexec, but it's basically the same as the one for the ARM ASL<->L3 proofs.

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

Successfully merging this pull request may close these issues.

2 participants