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 1717 BENCH : yes
1818 ITERS : 2
1919 MAKEFLAGS : -j2
20+ CHECK_SIDE_EFFECT_FREE : yes
2021
2122cat_logs_snippet : &CAT_LOGS
2223 always :
6465 - env : {BIGNUM: no, STATICPRECOMPUTATION: no}
6566 - env : {BUILD: distcheck, WITH_VALGRIND: no, CTIMETEST: no, BENCH: no}
6667 - env : {CPPFLAGS: -DDETERMINISTIC}
67- - env : {CFLAGS: -O0, CTIMETEST: no}
68+ - env : {CFLAGS: -O0, CTIMETEST: no, CHECK_SIDE_EFFECT_FREE: no }
6869 - env :
6970 CFLAGS : " -fsanitize=undefined -fno-omit-frame-pointer"
7071 LDFLAGS : " -fsanitize=undefined -fno-omit-frame-pointer"
9394 CC : gcc
9495 - env :
9596 CC : clang
97+ CHECK_SIDE_EFFECT_FREE : auto
9698 << : *MERGE_BASE
9799 test_script :
98100 - ./ci/cirrus.sh
@@ -115,6 +117,7 @@ task:
115117 CC : i686-linux-gnu-gcc
116118 - env :
117119 CC : clang --target=i686-pc-linux-gnu -isystem /usr/i686-linux-gnu/include
120+ CHECK_SIDE_EFFECT_FREE : auto
118121 matrix :
119122 - env :
120123 BIGNUM : gmp
@@ -141,6 +144,7 @@ task:
141144 CC : gcc-9
142145 - env :
143146 CC : clang
147+ CHECK_SIDE_EFFECT_FREE : auto
144148 # Update Command Line Tools
145149 # Uncomment this if the Command Line Tools on the CirrusCI macOS image are too old to brew valgrind.
146150 # 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
1919 --enable-module-ecdh=" $ECDH " --enable-module-recovery=" $RECOVERY " \
2020 --enable-module-schnorrsig=" $SCHNORRSIG " \
2121 --with-valgrind=" $WITH_VALGRIND " \
22+ --enable-side-effect-free-check=" $CHECK_SIDE_EFFECT_FREE " \
2223 --host=" $HOST " $EXTRAFLAGS
2324
2425# We have set "-j<n>" in MAKEFLAGS.
You can’t perform that action at this time.
0 commit comments