Skip to content

Commit 2548e7f

Browse files
committed
Adjusting compiler options in Travis w.r.t requirements of Glucose.
1 parent 1dacbef commit 2548e7f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -238,13 +238,13 @@ install:
238238
- ccache --max-size=1G
239239
- make -C src glucose-download
240240
- make -C src/ansi-c library_check
241-
- make -C src "CXX=${COMPILER}" "CXXFLAGS=-Wall -Werror -pedantic -O2 -g ${EXTRA_CXXFLAGS}" -j2
242-
- make -C src "CXX=${COMPILER}" "CXXFLAGS=-Wall -Werror -pedantic -O2 -g ${EXTRA_CXXFLAGS}" -j2 clobber.dir memory-models.dir
241+
- make -C src "CXX=${COMPILER}" "CXXFLAGS=-Wall -Werror -Wno-parentheses -Wno-error=misleading-indentation -pedantic -O2 -g ${EXTRA_CXXFLAGS}" -j2
242+
- make -C src "CXX=${COMPILER}" "CXXFLAGS=-Wall -Werror -Wno-parentheses -Wno-error=misleading-indentation -pedantic -O2 -g ${EXTRA_CXXFLAGS}" -j2 clobber.dir memory-models.dir
243243

244244
script:
245245
- if [ -e bin/gcc ] ; then export PATH=$PWD/bin:$PATH ; fi ;
246-
- env UBSAN_OPTIONS=print_stacktrace=1 make -C regression test "CXX=${COMPILER}" "CXXFLAGS=-Wall -Werror -pedantic -O2 -g ${EXTRA_CXXFLAGS}"
247-
- make -C unit "CXX=${COMPILER}" "CXXFLAGS=-Wall -Werror -pedantic -O2 -g ${EXTRA_CXXFLAGS}" -j2
246+
- env UBSAN_OPTIONS=print_stacktrace=1 make -C regression test "CXX=${COMPILER}" "CXXFLAGS=-Wall -Werror -Wno-parentheses -pedantic -O2 -g ${EXTRA_CXXFLAGS}"
247+
- make -C unit "CXX=${COMPILER}" "CXXFLAGS=-Wall -Werror -Wno-parentheses -Wno-error=misleading-indentation -pedantic -O2 -g ${EXTRA_CXXFLAGS}" -j2
248248
- make -C unit test
249249

250250
before_cache:

0 commit comments

Comments
 (0)