File tree 3 files changed +11
-5
lines changed
3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,9 @@ CC ?= clang
6
6
CFLAGS ?= -O3 -Wall -Wextra -Wpedantic -Wvla -Werror -std=c99 \
7
7
-Wundef -Wshadow -Wcast-align -Wpointer-arith -Wmissing-prototypes \
8
8
-fstrict-aliasing -fno-common -pipe
9
- JASMIN ?= jasminc
9
+
10
+ JASMIN ?= jasminc
11
+ JASMIN_CT ?= jasmin-ct
10
12
11
13
# --------------------------------------------------------------------
12
14
CI ?= 0
Original file line number Diff line number Diff line change 5
5
6
6
ifneq ($(OP),)
7
7
8
- SCT_FLAGS ?=
8
+ # TODO: remove --infer
9
+ SCT_FLAGS ?= --infer
9
10
10
- CHECK_SCT_S = ($(JASMINC) -slice $* -checkSCT $(SCT_FLAGS) $< > $@ 2>&1) $(CIT)
11
- CHECK_SCT = ($(JASMINC) -checkSCT $(SCT_FLAGS) $< > $@ 2>&1) $(CIT)
11
+ CHECK_SCT_SLICE = ($(JASMIN_CT) $(JINCLUDE) -slice $* --sct $(SCT_FLAGS) $< > $@ 2>&1) $(CIT)
12
+ CHECK_SCT = ($(JASMIN_CT) $(JINCLUDE) --sct $(SCT_FLAGS) $< > $@ 2>&1) $(CIT)
12
13
13
14
SCT_TARGETS = $(addsuffix .sct, $(FUNCTIONS))
14
15
@@ -21,7 +22,7 @@ $(OP).sct : $(OP).jazz $(DEPS_DIR)/$(OP).sct.d | $(DEPS_DIR) $(CI_DIR)
21
22
$(SCT_TARGETS):
22
23
%.sct : $(OP).jazz $(DEPS_DIR)/%.sct.d | $(DEPS_DIR) $(CI_DIR)
23
24
$(DEPS)
24
- $(CHECK_SCT_S )
25
+ $(CHECK_SCT_SLICE )
25
26
26
27
DEPFILES := \
27
28
$(DEPFILES) \
Original file line number Diff line number Diff line change @@ -35,10 +35,13 @@ endif
35
35
JEXT ?= jazz
36
36
override JFLAGS += -noinsertarraycopy
37
37
JINCLUDE = -I Jade:$(SRC)
38
+
38
39
JASMIN ?= jasminc
39
40
JASMINC := $(JASMIN) $(JFLAGS) $(JINCLUDE)
40
41
COMPILE = ($(JASMINC) -o $@ $<) $(CIT)
41
42
43
+ JASMIN_CT ?= jasmin-ct
44
+
42
45
# --------------------------------------------------------------------
43
46
include $(SRC)/$(OPERATION)/EcFlags.mk
44
47
You can’t perform that action at this time.
0 commit comments