File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 17
17
BENCH : yes
18
18
ITERS : 2
19
19
MAKEFLAGS : -j2
20
+ CHECK_SIDE_EFFECT_FREE : yes
20
21
21
22
cat_logs_snippet : &CAT_LOGS
22
23
always :
64
65
- env : {BIGNUM: no, STATICPRECOMPUTATION: no}
65
66
- env : {BUILD: distcheck, WITH_VALGRIND: no, CTIMETEST: no, BENCH: no}
66
67
- env : {CPPFLAGS: -DDETERMINISTIC}
67
- - env : {CFLAGS: -O0, CTIMETEST: no}
68
+ - env : {CFLAGS: -O0, CTIMETEST: no, CHECK_SIDE_EFFECT_FREE: no }
68
69
- env :
69
70
CFLAGS : " -fsanitize=undefined -fno-omit-frame-pointer"
70
71
LDFLAGS : " -fsanitize=undefined -fno-omit-frame-pointer"
93
94
CC : gcc
94
95
- env :
95
96
CC : clang
97
+ CHECK_SIDE_EFFECT_FREE : auto
96
98
<< : *MERGE_BASE
97
99
test_script :
98
100
- ./ci/cirrus.sh
@@ -115,6 +117,7 @@ task:
115
117
CC : i686-linux-gnu-gcc
116
118
- env :
117
119
CC : clang --target=i686-pc-linux-gnu -isystem /usr/i686-linux-gnu/include
120
+ CHECK_SIDE_EFFECT_FREE : auto
118
121
matrix :
119
122
- env :
120
123
BIGNUM : gmp
@@ -141,6 +144,7 @@ task:
141
144
CC : gcc-9
142
145
- env :
143
146
CC : clang
147
+ CHECK_SIDE_EFFECT_FREE : auto
144
148
# Update Command Line Tools
145
149
# Uncomment this if the Command Line Tools on the CirrusCI macOS image are too old to brew valgrind.
146
150
# See https://apple.stackexchange.com/a/195963 for the implementation.
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ valgrind --version || true
19
19
--enable-module-ecdh=" $ECDH " --enable-module-recovery=" $RECOVERY " \
20
20
--enable-module-schnorrsig=" $SCHNORRSIG " \
21
21
--with-valgrind=" $WITH_VALGRIND " \
22
+ --enable-side-effect-free-check=" $CHECK_SIDE_EFFECT_FREE " \
22
23
--host=" $HOST " $EXTRAFLAGS
23
24
24
25
# We have set "-j<n>" in MAKEFLAGS.
You can’t perform that action at this time.
0 commit comments