travis: add defines for _Float64/_Float64x/_Float32/_Float32x

$ build/test-sizeof
...
_Float128 → 128 bits, signed
_Float64 → 64 bits, signed
_Float64x → 128 bits, signed
_Float32 → 32 bits, signed
_Float32x → 64 bits, signed
...

This seems to be enough to make coverity work with glibc-2.27 found in Fedora 28+.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2018-06-05 11:23:46 +02:00
parent e07d38937d
commit 0d2f879e20
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ jobs:
- docker cp tools/coverity.sh travis_coverity_scan:/usr/local/bin
# Preconfigure with meson to prevent Coverity from capturing meson metadata
# Set compiler flag to prevent emit failure
- docker exec -it travis_coverity_scan sh -c "CFLAGS='-D_Float128=long\ double' meson cov-build -Dman=false"
- docker exec -it travis_coverity_scan sh -c "CFLAGS='-D_Float128=long\ double -D_Float64=double -D_Float64x=long\ double -D_Float32=float -D_Float32x=double' meson cov-build -Dman=false"
# Run Coverity Analysis
- docker exec -it travis_coverity_scan coverity.sh build
- docker exec -it travis_coverity_scan coverity.sh upload