Skip to content

Commit

Permalink
Revert "src: Use fstar.include for bootstrapping"
Browse files Browse the repository at this point in the history
This reverts commit 8a850694aed6f2b732d40b8530714f7d94396d71.
  • Loading branch information
mtzguido committed Sep 5, 2024
1 parent 6f2b26f commit 08c7e03
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 17 deletions.
17 changes: 16 additions & 1 deletion src/FStarCompiler.fst.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,21 @@
"-271-272-241-319-274"
],
"include_dirs": [
"../ulib"
"../ulib",
"basic",
"class",
"data",
"extraction",
"fstar",
"parser",
"prettyprint",
"reflection",
"smtencoding",
"syntax",
"syntax/print",
"tactics",
"tosyntax",
"typechecker",
"tests"
]
}
19 changes: 18 additions & 1 deletion src/Makefile.boot.common
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,28 @@
# Makefile.boot includes it too for bootstrapping
# Makefiles that include it should define FSTAR_HOME before the include

INCLUDE_PATHS = \
basic \
class \
data \
extraction \
fstar \
parser \
prettyprint \
reflection \
smtencoding \
syntax \
syntax/print \
tactics \
tosyntax \
typechecker \
tests

CACHE_DIR?=$(FSTAR_HOME)/src/.cache.boot

# 274, else we get a warning for shadowing parse.fsi, when opening FStar.Parser namespace

FSTAR_BOOT_OPTIONS=$(OTHERFLAGS) --lax --no_location_info --warn_error -271-272-241-319-274 --cache_dir $(CACHE_DIR)
FSTAR_BOOT_OPTIONS=$(OTHERFLAGS) --lax --no_location_info --warn_error -271-272-241-319-274 --cache_dir $(CACHE_DIR) $(addprefix --include , $(addprefix $(FSTAR_HOME)/src/,$(INCLUDE_PATHS)))

%.fsti-in %.fst-in:
@echo $(FSTAR_BOOT_OPTIONS)
15 changes: 0 additions & 15 deletions src/fstar.include

This file was deleted.

0 comments on commit 08c7e03

Please sign in to comment.