.travis.yml: update GCC sanitizer build to GCC 7
GCC has moved on and so should we. We also enable apt update to ensure we get the latest build from the toolchain PPA. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
This commit is contained in:
parent
044722d507
commit
ac07ffc654
@ -111,13 +111,14 @@ matrix:
|
|||||||
# Using newer GCC with sanitizers
|
# Using newer GCC with sanitizers
|
||||||
- addons:
|
- addons:
|
||||||
apt:
|
apt:
|
||||||
|
update: true
|
||||||
sources:
|
sources:
|
||||||
# PPAs for newer toolchains
|
# PPAs for newer toolchains
|
||||||
- ubuntu-toolchain-r-test
|
- ubuntu-toolchain-r-test
|
||||||
packages:
|
packages:
|
||||||
# Extra toolchains
|
# Extra toolchains
|
||||||
- gcc-5
|
- gcc-7
|
||||||
- g++-5
|
- g++-7
|
||||||
# Build dependencies
|
# Build dependencies
|
||||||
- libaio-dev
|
- libaio-dev
|
||||||
- libattr1-dev
|
- libattr1-dev
|
||||||
@ -146,8 +147,8 @@ matrix:
|
|||||||
language: generic
|
language: generic
|
||||||
compiler: none
|
compiler: none
|
||||||
env:
|
env:
|
||||||
- COMPILER_NAME=gcc CXX=g++-5 CC=gcc-5
|
- COMPILER_NAME=gcc CXX=g++-7 CC=gcc-7
|
||||||
- CONFIG="--cc=gcc-5 --cxx=g++-5 --disable-pie --disable-linux-user"
|
- CONFIG="--cc=gcc-7 --cxx=g++-7 --disable-pie --disable-linux-user"
|
||||||
- TEST_CMD=""
|
- TEST_CMD=""
|
||||||
before_script:
|
before_script:
|
||||||
- ./configure ${CONFIG} --extra-cflags="-g3 -O0 -fsanitize=thread -fuse-ld=gold" || cat config.log
|
- ./configure ${CONFIG} --extra-cflags="-g3 -O0 -fsanitize=thread -fuse-ld=gold" || cat config.log
|
||||||
|
Loading…
Reference in New Issue
Block a user