Skip to content

Commit b096106

Browse files
authored
Merge pull request #3622 from mtzguido/release
Makefiles: more conditional ocaml build, for package testing
2 parents 988a013 + ee0f124 commit b096106

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

examples/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,11 @@ SUBDIRS += verifythis
4040
# SUBDIRS_CLEAN += hello
4141
SUBDIRS_ALL += dependencies
4242
SUBDIRS_CLEAN += dependencies
43+
44+
HAS_OCAML ?= 1
45+
ifneq (,$(HAS_OCAML))
4346
SUBDIRS_ALL += native_tactics
47+
endif
4448
SUBDIRS_CLEAN += native_tactics
4549

4650
FSTAR_ROOT ?= ..

examples/data_structures/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
FSTAR_ROOT ?= ../..
22
include $(FSTAR_ROOT)/mk/test.mk
33

4+
HAS_OCAML ?= 1
5+
6+
ifneq (,$(HAS_OCAML))
47
all: $(OUTPUT_DIR)/RBTreeIntrinsic_patched.exe
8+
endif
59

610
# EXTRACT = RBTreeIntrinsic
711

0 commit comments

Comments
 (0)