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

F*+dune: new F* library layout, improved handling of FSTAR_HOME #92

Merged
merged 4 commits into from
Feb 21, 2023

Conversation

tahina-pro
Copy link
Member

This PR is a companion to FStarLang/FStar#2815
With F* being built with dune, its library is now organized differently: fstar-lib, fstar-compiler-lib and fstar-tactics-lib are now merged into fstar.lib located in $FSTAR_HOME/lib/fstar/lib/fstar_lib.cmx* instead of $FSTAR_HOME/bin/*.cmx* So this PR fixes the dune builds for qd.exe and 3d.exe accordingly. In this process, FStar_Getopt.ml need no longer be copied from the F* sources, since it is already implemented in fstar.lib

This PR also improves the handling of the FSTAR_HOME environment variable in Makefiles, so that EverParse can now be compiled and tested even if F* is installed from opam (or with make install), with fstar.exe in the PATH, so that the user need no longer set FSTAR_HOME in such cases.

I have an Everest branch reporting green CI (cf. project-everest/everest@9250435) with this PR and the corresponding F* and Karamel PRs (FStarLang/karamel#333)

@tahina-pro tahina-pro self-assigned this Feb 14, 2023
@tahina-pro tahina-pro merged commit d9a5f5f into master Feb 21, 2023
@tahina-pro tahina-pro deleted the taramana_fstar_dune branch March 28, 2023 01:56
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.

1 participant