-
Notifications
You must be signed in to change notification settings - Fork 236
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
40 additions
and
163 deletions.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
_output | ||
_cache |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,22 @@ | ||
include ../../Makefile.include | ||
FSTAR_ROOT ?= ../../.. | ||
include $(FSTAR_ROOT)/mk/test.mk | ||
|
||
EXCLUDE_FILES = ContextPollution.fst | ||
FSTAR_FILES := $(filter-out $(EXCLUDE_FILES),$(wildcard *.fst *.fsti)) | ||
OTHERFLAGS := --cache_checked_modules $(OTHERFLAGS) | ||
FSTAR_FILES := $(filter-out ContextPollution.fst,$(FSTAR_FILES)) | ||
|
||
all: $(addsuffix .checked, $(FSTAR_FILES)) | ||
$(MAKE) -C exercises | ||
|
||
.depend: | ||
$(FSTAR) --dep full $(FSTAR_FILES) --output_deps_to .depend | ||
|
||
.DELETE_ON_ERROR: | ||
include .depend | ||
# Disable context pruning for this file, fails otherwise. | ||
$(CACHE_DIR)/Alex.fst.checked: OTHERFLAGS += --ext context_pruning= | ||
|
||
depend: .depend | ||
exercises: | ||
$(MAKE) -C exercises | ||
|
||
%.checked: | ||
$(FSTAR) --already_cached '+Prims +FStar +LowStar' $< | ||
touch -c $@ | ||
all: exercises | ||
|
||
wc: | ||
# Prims.fst seems to be missing here? | ||
wc -l Prims.fst $(ALL) | ||
|
||
|
||
extract: | ||
krml -skip-compilation MemCpy.fst -tmpdir out | ||
|
||
clean: | ||
rm -rf *.c *.h *~ *.checked *.checked.lax *.krml .depend | ||
$(MAKE) -C exercises clean |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,2 @@ | ||
include ../../../Makefile.include | ||
|
||
FSTAR_FILES := $(wildcard *fst *fsti) | ||
OTHERFLAGS := --cache_checked_modules $(OTHERFLAGS) | ||
|
||
all: $(addsuffix .checked, $(FSTAR_FILES)) | ||
|
||
.depend: | ||
$(FSTAR) --dep full $(FSTAR_FILES) --output_deps_to .depend | ||
|
||
depend: .depend | ||
|
||
-include .depend | ||
|
||
%.checked: | ||
$(FSTAR) --already_cached '+Prims +FStar +LowStar' $< | ||
touch -c $@ | ||
|
||
wc: | ||
wc -l Prims.fst $(ALL) | ||
|
||
|
||
extract: | ||
krml -skip-compilation MemCpy.fst -tmpdir out | ||
|
||
clean: | ||
rm -rf *.c *.h *~ *.checked *.checked.lax *.krml .depend | ||
FSTAR_ROOT ?= ../../../.. | ||
include $(FSTAR_ROOT)/mk/test.mk |
This file was deleted.
Oops, something went wrong.
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
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