Fix build timeout due to tracking vars under UBsan
Also see https://stackoverflow.com/q/2954473/608639 and https://stackoverflow.com/q/708807/608639pull/424/merge
parent
81c751314b
commit
0df38c3506
|
|
@ -29,6 +29,7 @@ env:
|
|||
- BUILD_MODE="codecov"
|
||||
|
||||
matrix:
|
||||
|
||||
exclude:
|
||||
# Skip GCC on OS X entirely
|
||||
- os: osx
|
||||
|
|
@ -43,7 +44,7 @@ matrix:
|
|||
- env: BUILD_MODE="asan"
|
||||
|
||||
script:
|
||||
- travis_wait make "$BUILD_MODE" && ./cryptest.exe v && ./cryptest.exe tv all
|
||||
- make "$BUILD_MODE" && ./cryptest.exe v && ./cryptest.exe tv all
|
||||
|
||||
after_success:
|
||||
- if [[ ( ("$BUILD_MODE" = "coverage") && ("$CC" = "gcc") ) ]]; then CODECOV_TOKEN="5c7bc59c-e95f-4594-82c3-33e7a1942592" bash <(curl -s https://codecov.io/bash); fi;
|
||||
|
|
|
|||
|
|
@ -817,6 +817,13 @@ rdrand-%.o:
|
|||
./rdrand-nasm.sh
|
||||
endif
|
||||
|
||||
# Don't build Threefish with UBsan on Travis CI. Timeouts cause the build to fail.
|
||||
# Also see https://stackoverflow.com/q/12983137/608639.
|
||||
ifeq ($(findstring true,$(CI)),true)
|
||||
threefish.o : threefish.cpp
|
||||
$(CXX) $(strip $(subst -fsanitize=undefined,,$(CXXFLAGS))) -c $<
|
||||
endif
|
||||
|
||||
# Don't build Rijndael with UBsan. Too much noise due to unaligned data accesses.
|
||||
ifneq ($(findstring -fsanitize=undefined,$(CXXFLAGS)),)
|
||||
rijndael.o : rijndael.cpp
|
||||
|
|
|
|||
Loading…
Reference in New Issue