Skip to content

Upgrade master to Karamel master#298

Merged
tahina-pro merged 32 commits into
project-everest:masterfrom
tahina-pro:_taramana_krml_master
Jul 3, 2026
Merged

Upgrade master to Karamel master#298
tahina-pro merged 32 commits into
project-everest:masterfrom
tahina-pro:_taramana_krml_master

Conversation

@tahina-pro

Copy link
Copy Markdown
Member

This PR upgrades EverParse's master branch to using Karamel master.

In this process, this PR removes all uses of the KRML_HOME environment variable and relies on krml -locate-krmllib and krml -locate-include instead.

Also, on Windows, EverParse compiles Karamel into krml.exe, rather than having 3D copy the Karamel binary at every call.

Part of the changes are replicated from fstar2, which already uses Karamel master (or, at least, the Karamel packaged with F*, which is way more recent than everparse-fstar1)

tahina-pro and others added 30 commits July 2, 2026 15:34
The karamel.done rule builds Karamel with `make -C opt/karamel`, whose
krmllib sub-build reads `KRML_EXE ?= ../krml`. Since deps.Makefile exports
KRML_EXE=opt/karamel/out/bin/krml (for EverParse's own build), that value
leaked into the Karamel build and made krmllib depend on the not-yet-built
out/bin/krml, failing with:

  make[2]: *** No rule to make target '.../karamel/out/bin/krml',
  needed by 'dist/generic/Makefile.include'.  Stop.

Unset KRML_EXE for the Karamel build so krmllib uses its freshly-built
in-tree ../krml. Fixes `docker build --target deps .`.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@tahina-pro tahina-pro merged commit 77f3deb into project-everest:master Jul 3, 2026
15 checks passed
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