This repository is an Isabelle component that is supposed to work together with the CakeML AFP entry.
It provides a Makefile to build the bootstrapped CakeML compiler from the official release.
The etc/settings file is used to tell Isabelle about the location of the compiler.
- Obtain a recent development version of Isabelle.
- Enable
$ISABELLE_HOME/Admin/components/cakemlas component list in~/.isabelle/etc/settings. - Set the
ISABELLE_CCvariable togccorclang. - Obtain a recent development version of AFP.
- Import the theory
CakeML.CakeML_Compiler.
See the test theory.
- Make sure the compiler works as expected by running
make clean test. - Build the compiler on Linux and macOS and copy the resulting binaries to the respective folder in
bin/. git taga release.- Run
isabelle env ./package.sh. - Upload the resulting
.tar.gzto the component repository.
This README is part of the repository isabelle-prover/cakeml-component.
