https://github.com/EasyCrypt/easycrypt
Revision bfd4f84ff05bb15c8b01a8e92ed72730abf4eada authored by Pierre-Yves Strub on 07 April 2022, 15:11:17 UTC, committed by Pierre-Yves Strub on 22 April 2022, 06:59:22 UTC
The API was s.t. it was possibly to detect a non-empty stack
as an empty one.

Partially address #121
1 parent ecb156d
Raw File
Tip revision: bfd4f84ff05bb15c8b01a8e92ed72730abf4eada authored by Pierre-Yves Strub on 07 April 2022, 15:11:17 UTC
[reduction]: in cbv, fix handling of stack arguments
Tip revision: bfd4f84
Makefile
# -*- Makefile -*-

# --------------------------------------------------------------------
DUNE      ?= dune
ECARGS    ?=
ECTOUT    ?= 10
ECJOBS    ?= 1
ECEXTRA   ?= --report=report.log
ECPROVERS ?= Alt-Ergo Z3 CVC4
CHECKPY   ?=
CHECK     := $(CHECKPY) scripts/testing/runtest
CHECK     += --bin-args="$(ECARGS)" --bin-args="$(ECPROVERS:%=-p %)"
CHECK     += --timeout="$(ECTOUT)" --jobs="$(ECJOBS)"
CHECK     += $(ECEXTRA) config/tests.config

# --------------------------------------------------------------------
.PHONY: default build byte native tests check examples
.PHONY: clean install uninstall

default: build
	@true

build:
	rm -f ec.native && $(DUNE) build && ln -sf src/ec.exe ec.native

install: build
	dune install

uninstall:
	dune uninstall

check: stdlib examples

stdlib: build
	$(CHECK) prelude stdlib

examples: build
	$(CHECK) examples mee-cbc

check: stdlib examples
	@true

clean:
	rm -f ec.native && dune clean
	find theories examples -name '*.eco' -exec rm '{}' ';'

clean_eco:
	find theories examples -name '*.eco' -exec rm '{}' ';'
back to top