diff options
| author | jp | 2020-02-12 17:46:48 +0000 |
|---|---|---|
| committer | jp | 2020-02-12 17:46:48 +0000 |
| commit | ed8bccd927306551f93d5aab8d0e2a92b9e5d227 (patch) | |
| tree | 55bf788c8155f0c7d024f2147f5eb3873729b02a /lib/isabelle | |
| parent | 31a65c9b7383d2a87da0fbcf5c265d533146ac23 (diff) | |
| parent | 4a72cb8084237161d0bccc66f27d5fb6d24315e0 (diff) | |
Merge branch 'sail2' of https://github.com/rems-project/sail into sail2
Diffstat (limited to 'lib/isabelle')
| -rw-r--r-- | lib/isabelle/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/isabelle/Makefile b/lib/isabelle/Makefile index 465b4c36..42071a8c 100644 --- a/lib/isabelle/Makefile +++ b/lib/isabelle/Makefile @@ -18,17 +18,17 @@ all: thys thys: $(THYS) heap-img: thys $(EXTRA_THYS) ROOT -ifeq ($(wildcard $(LEM_ISA_LIB)/ROOT),) - $(error isabelle-lib directory of Lem not found. Please set the LEM_ISA_LIB environment variable) -endif - isabelle build -b -d $(LEM_ISA_LIB) -D . + if [ -z "$(wildcard $(LEM_ISA_LIB)/ROOT)" ]; \ + then echo isabelle-lib directory of Lem not found. Please set the LEM_ISA_LIB environment variable; false; \ + else isabelle build -b -d $(LEM_ISA_LIB) -D . ; \ + fi manual: heap-img manual/Manual.thy manual/ROOT manual/document/root.tex cp output/document/session_graph.pdf manual/document/Sail_session_graph.pdf make -C $(SAIL_RISCV) riscv_duopod isabelle build -d $(LEM_ISA_LIB) -d . -d $(SAIL_RISCV)/generated_definitions/isabelle -D manual -Sail2_instr_kinds.thy: ../../src/lem_interp/sail2_instr_kinds.lem +Sail2_instr_kinds.thy: ../../src/gen_lib/sail2_instr_kinds.lem lem -isa -outdir . -auxiliary_level none -lib ../../src/lem_interp -lib ../../src/gen_lib $< Sail2_values.thy: ../../src/gen_lib/sail2_values.lem Sail2_instr_kinds.thy |
