-
Notifications
You must be signed in to change notification settings - Fork 238
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
Build F* with dune
instead of ocamlbuild
#2815
Merged
Merged
Changes from 1 commit
Commits
Show all changes
151 commits
Select commit
Hold shift + click to select a range
8a5e410
step 1: instructions for a dune snapshot for the compiler and minimal…
tahina-pro e0df548
snap
tahina-pro 31182a0
step 2: compile F* with dune
tahina-pro 840e677
escape hatch to not verify `experimental`
tahina-pro 76b5fc2
generate a fstar-stdlib snapshot
tahina-pro 1036be2
special treatment for FStar.Pervasives
tahina-pro 8ac0fb8
extract fstar-stdlib (formerly fstarlib)
tahina-pro 1291dfb
snap
tahina-pro b4f42ac
extract some taclib
tahina-pro 6e61ddf
snap
tahina-pro cad908a
load new fstar.taclib
tahina-pro f46c04c
snap
tahina-pro 988620f
always print dynlink error
tahina-pro 3f5f331
use -linkall for fstar.exe
tahina-pro e92863c
stage dune snapshot build
tahina-pro 69cb66c
snap
tahina-pro 9a1c44e
build fstar and libs from the dune snapshot, and verify ulib
tahina-pro 7821bcd
dune-full-bootstrap
tahina-pro e9e39b0
overwrite FStar_Version.ml, do not extend it
tahina-pro 3c726c0
snap
tahina-pro 301393b
make sure we are not using a stale F* snapshot
tahina-pro 408c53d
restore automatic tactic plugin compilation
tahina-pro cbcefb8
snap
tahina-pro 6a5859a
no need to dynlink taclib anymore!
tahina-pro f23810d
snap
tahina-pro da9ce82
dune-bootstrap
tahina-pro 2c7f81f
merge all libs
tahina-pro 9e748db
snap
tahina-pro 21bfa07
move CI entrypoint to root makefile, prepare for dune CI
tahina-pro 6dea28a
add an explicit ocamlbuild rule
tahina-pro 7b4a0c9
use Dune
tahina-pro 0b02e48
ToDocument: preserve state of unfold_tuples
tahina-pro 113f430
snap
tahina-pro a1855b9
fstarlib -> fstar.lib
tahina-pro eb38a57
add handwritten Steel ml files
tahina-pro 29b8519
snap
tahina-pro e75cf5b
Merge branch 'taramana_dune_step_1' into taramana_dune_step_2
tahina-pro 1b70d53
ocamlc -> ocamlopt
tahina-pro 44301e8
examples/semiring: fstar-tactics-lib -> fstar.lib
tahina-pro 2219770
Merge branch 'master' of github.com:FStarLang/FStar into taramana_dun…
tahina-pro 98b4c9f
snap
tahina-pro deed0c6
remove ocamlbuild snapshot
tahina-pro c3914d5
remove handwritten ulib files
tahina-pro 6224933
remove handwritten ml files in src/
tahina-pro acca4e3
generate everything directly into the snapshot, remove everything abo…
tahina-pro 0b39cd8
extract everything in parallel
tahina-pro 52cf538
tidy use of DUNE_SNAPSHOT
tahina-pro 014314d
define FSTAR_HOME in src/ocaml-output/Makefile
tahina-pro 23028be
remove handwritten files from ulib/experimental/ml
tahina-pro 4825a2c
verify ulib before extracting it
tahina-pro 603f2b6
extraction: drop paths in ranges
mtzguido 8607890
.gitignore: ignore lib/
mtzguido ba0ec5f
snap, for compiler sources
mtzguido 6ddfc73
snap, second for ulib files containing ranges
mtzguido 3b910e4
move FStar_Version from generated to dynamic
tahina-pro bf18af2
snap
tahina-pro 61de305
CI: update snapshot diff check
tahina-pro 23b74b5
fix FSTAR_HOME in src/ocaml-output/Makefile
tahina-pro 4b1f0ec
Merge branch 'master' of github.com:FStarLang/FStar into taramana_dun…
tahina-pro 02ba786
snap
tahina-pro 39179b8
extraction: drop paths in ranges
mtzguido 164b354
snap
tahina-pro 193716f
remove old snapshot
tahina-pro f9f2d4e
Merge branch '_taramana_dune_merge' into _taramana_dune
tahina-pro 35e5a7c
remove all mentions of "fstarlib, fstartaclib, fstar-tactics-lib"
tahina-pro 9d323d7
snap
tahina-pro 86819c6
FStar.Tactics.Load.load_lib, try_load_lib no longer needed
tahina-pro 2dd9ab9
restore the boot rule
tahina-pro 085483c
update the compilation instructions
tahina-pro 87d073d
a top-level verify-ulib rule
tahina-pro b02a50d
document `make verify-ulib`
tahina-pro 186f455
Merge branch 'master' of github.com:FStarLang/FStar into _taramana_du…
tahina-pro 59f9513
snap
tahina-pro dbb3bab
remove ocamlbuild snapshot
tahina-pro fc769a4
Merge branch '_taramana_dune_merge' into _taramana_dune
tahina-pro 7514956
Makefile: PWD -> CURDIR
tahina-pro 05314a3
reinstate `make install`
tahina-pro 230e9d6
eci19 does not need FSTAR_HOME
tahina-pro 7f42b18
a Dockerfile to test `make package` without OCaml
tahina-pro 2663ccb
.gitattributes: do not show diff in ocaml/fstar-lib/generated
mtzguido 400f371
Makefiles: autogenerate FStar_Version.ml on each run, do not check it in
mtzguido c3a71a5
Makefile.boot: take tests out of the library
mtzguido 90b24c5
dune: fstar-tests: add public name to obtain an executable
mtzguido 12fd6f4
Makefile: restore unit tests on ci rule
mtzguido d64b62c
snap, test ml files move to fstar-tests/generated
mtzguido 1937ace
clarify fstar.opam
tahina-pro c0864c8
fix multifile example
tahina-pro fc54eb0
fix installation of doc/tutorial
tahina-pro e134f6a
for parts that do not work outside of F* sources, remove them from in…
tahina-pro 8f7e674
`opam remove` needs no explicit `make uninstall`
tahina-pro 55fa49f
fix `make uninstall`
tahina-pro 7231315
book: fstarlib -> fstar.lib
tahina-pro 7d2500d
ulib vs. lib/fstar is independent of FSTAR_HOME
tahina-pro 6c8c760
move FStar_Tests_ files to ocaml/fstar-tests/generated
tahina-pro 1748089
Merge branch 'master' of github.com:FStarLang/FStar into _taramana_du…
tahina-pro 2a4b448
snap
tahina-pro d4733bb
remove the OCaml snapshot
tahina-pro 5aec95d
Merge branch '_taramana_dune_merge' into taramana_dune
tahina-pro 2031bcb
move FStar_Version.ml from generated to dynamic
tahina-pro b160b43
Merge branch '_taramana_dune_step_2' into _taramana_dune
tahina-pro e2f334a
include extracted ulib/fs into binary package
tahina-pro e90266a
do not include the nuget package, but do include ulibfs.dll
tahina-pro 7769171
ulib/Makefile.extract.fsharp: avoid long cmdline for dependency analysis
tahina-pro 4eade93
extract ulibfs using existing checked, no need for lax
tahina-pro 9654a0d
Merge branch 'master' of github.com:FStarLang/FStar into _taramana_du…
tahina-pro c7685de
Makefile: comment
mtzguido 079babf
dune: silence warnings
mtzguido c75c3b1
Makefiles: tidy up info messages
mtzguido 0b15d92
re-extract F* snapshot
tahina-pro d24c786
bump checked files version number
tahina-pro e9813c0
snap
tahina-pro 5a5692d
remove old ocamlbuild snapshot
tahina-pro 468f832
Merge branch '_taramana_dune_merge' into _taramana_dune
tahina-pro f37e300
Merge branch '_taramana_dune' of github.com:FStarLang/FStar into _tar…
tahina-pro f5b7eb5
update testing Dockerfiles
tahina-pro 248ecda
fix the package build script
tahina-pro 5d10f12
minimal restore of nix flake
tahina-pro 6b8a190
nix flake: install everything
tahina-pro bc9bfa0
fulfill all actions of `dune install`
tahina-pro 1f0c342
Merge branch 'master' of github.com:FStarLang/FStar into _taramana_du…
tahina-pro 0ab6859
snap
tahina-pro 225c59d
remove the ocamlbuild snapshot
tahina-pro 6d5cf43
Merge branch '_taramana_dune_merge' into _taramana_dune
tahina-pro 82d2e26
mlexpr_of_range: what if filename has no `/` ?
tahina-pro e957f44
snap
tahina-pro 7a54d99
update the build process
pnmadelaine 2cc1a6f
leverage the install-sides rule
tahina-pro 8d1edab
`make -C src clean` shouldn't erase `generated/`
tahina-pro 056150a
fix `make -C ulib clean`
tahina-pro 7ea6196
more intermediate files to cleanup
tahina-pro 0730555
clarify what to clean when in the root Makefile
tahina-pro 0fb05c9
Merge branch 'master' of github.com:FStarLang/FStar into _taramana_du…
tahina-pro c222f0f
snap
tahina-pro c596682
remove ocamlbuild snapshot
tahina-pro 08d68a5
Merge branch '_taramana_dune' into _taramana_dune_merge
tahina-pro 8e35a31
Nix update
pnmadelaine 5865554
tweaks to Makefiles
mtzguido cd076c6
/Makefile: tidy PHONY rules and reintroduce shortcuts
mtzguido 571a668
snap
mtzguido d883f05
ocaml: .gitignore version.txt and silence copy rule
mtzguido 7f99f6d
ocaml/dune: ignore all warnings
mtzguido 7a914d7
`dune --prefix` does not support Cygwin paths
tahina-pro f1ca638
Merge remote-tracking branch 'pnm/dev' into _taramana_dune
tahina-pro c0a7927
Merge branch 'master' of github.com:FStarLang/FStar into _taramana_du…
tahina-pro a108445
explicitly call bash from dune when regenerating FStar_Version.ml
tahina-pro de65146
snap
tahina-pro a297ac5
remove ocamlbuild snapshot
tahina-pro e9a951e
Merge branch '_taramana_dune_merge' into _taramana_dune
tahina-pro d3e0aef
checkedfiles: suppress not found warning for --lax
mtzguido a7feb41
require dune >= 3.2.0
tahina-pro 6a26ef0
Merge branch 'master' into _taramana_dune
tahina-pro File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI @nikswamy @aseemr, this is a way to bootstrap the compiler without verifying/extracting ulib. It won't work if something in ulib that the compiler depends on changed significantly, but it can save you time otherwise