Skip to content

Commit c388cf4

Browse files
authored
Merge pull request #279 from tahina-pro/_taramana_ci_macos
Mitigate new compiler errors on MacOS
2 parents 263122c + 686c46d commit c388cf4

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

share/everparse/tests/lowparse/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ include $(EVERPARSE_SRC_PATH)/common.Makefile
1818

1919
KRML_OPTS += -warn-error @4@6
2020

21+
ifeq ($(OS),Darwin)
22+
KRML_OPTS += -ccopt -Wno-tautological-constant-out-of-range-compare
23+
endif
24+
2125
KRML=$(KRML_HOME)/krml -fstar $(FSTAR_EXE) $(KRML_OPTS)
2226

2327
EXAMPLES=Example3 ExampleConstInt32le Example2 Example5 Example7 Example8 Example9 Example10 Example11 Example12 ExampleDepLen

share/everparse/tests/qd/unit/extracted.Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ FSTAR = $(FSTAR_EXE) $(FSTAR_OPTIONS)
3232

3333
HEADERS = $(addprefix -add-include ,'"krml/internal/compat.h"')
3434

35+
ifeq ($(OS),Darwin)
36+
KRML_OPTS += -ccopt -Wno-tautological-constant-out-of-range-compare
37+
endif
38+
3539
# -Wno-tautological-overlap-compare because of T32
3640
KRML = $(KRML_HOME)/krml \
3741
-fstar $(FSTAR_EXE) \

0 commit comments

Comments
 (0)