Skip to content

Commit

Permalink
Makefile: update for new stage0
Browse files Browse the repository at this point in the history
  • Loading branch information
mtzguido committed Feb 7, 2025
1 parent 56e84cc commit bc7eb7d
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ _ != ln -Trsf $(FSTAR0_EXE) stage0/bin/fstar.exe
# ^ Setting this link allows VS code to work seamlessly.
endif

# When stage0 is bumped, use this:
#FSTAR0_EXE ?= stage0/out/bin/fstar.exe
FSTAR0_EXE ?= stage0/bin/fstar.exe
FSTAR0_EXE ?= stage0/out/bin/fstar.exe

# This is hardcoding some dune paths, with internal (non-public) names.
# This is motivated by dune installing packages as a unit, so I could not
Expand Down Expand Up @@ -72,11 +70,8 @@ build: 2
0 $(FSTAR0_EXE):
$(call bold_msg, "STAGE 0")
mkdir -p stage0/ulib/.cache # prevent warnings
$(MAKE) -C stage0 fstar
$(MAKE) -C stage0 install_bin # build: only fstar.exe
$(MAKE) -C stage0 trim # We don't need OCaml build files.
# When the stage is bumped, use this:
# $(MAKE) -C stage0 build # build: only fstar.exe
# $(MAKE) -C stage0 trim # We don't need OCaml build files.

.bare1.src.touch: $(FSTAR0_EXE) .force
$(call bold_msg, "EXTRACT", "STAGE 1 FSTARC-BARE")
Expand Down

0 comments on commit bc7eb7d

Please sign in to comment.