diff mbox series

[v1,7/8] .travis.yml: update GCC sanitizer build to GCC 7

Message ID 20180530110655.22022-8-alex.bennee@linaro.org
State Superseded
Headers show
Series Travis stability and a few docker patches | expand

Commit Message

Alex Bennée May 30, 2018, 11:06 a.m. UTC
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>

---
 .travis.yml | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

-- 
2.17.0

Comments

Philippe Mathieu-Daudé May 31, 2018, 4:11 p.m. UTC | #1
On 05/30/2018 08:06 AM, Alex Bennée wrote:
> 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>


> ---

>  .travis.yml | 9 +++++----

>  1 file changed, 5 insertions(+), 4 deletions(-)

> 

> diff --git a/.travis.yml b/.travis.yml

> index e99af6f357..ecc4367036 100644

> --- a/.travis.yml

> +++ b/.travis.yml

> @@ -111,13 +111,14 @@ matrix:

>      # Using newer GCC with sanitizers

>      - addons:

>          apt:

> +          update: true

>            sources:

>              # PPAs for newer toolchains

>              - ubuntu-toolchain-r-test

>            packages:

>              # Extra toolchains

> -            - gcc-5

> -            - g++-5

> +            - gcc-7

> +            - g++-7

>              # Build dependencies

>              - libaio-dev

>              - libattr1-dev

> @@ -146,8 +147,8 @@ matrix:

>        language: generic

>        compiler: none

>        env:

> -        - COMPILER_NAME=gcc CXX=g++-5 CC=gcc-5

> -        - CONFIG="--cc=gcc-5 --cxx=g++-5 --disable-pie --disable-linux-user"

> +        - COMPILER_NAME=gcc CXX=g++-7 CC=gcc-7

> +        - CONFIG="--cc=gcc-7 --cxx=g++-7 --disable-pie --disable-linux-user"

>          - TEST_CMD=""

>        before_script:

>          - ./configure ${CONFIG} --extra-cflags="-g3 -O0 -fsanitize=thread -fuse-ld=gold" || cat config.log

>
diff mbox series

Patch

diff --git a/.travis.yml b/.travis.yml
index e99af6f357..ecc4367036 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -111,13 +111,14 @@  matrix:
     # Using newer GCC with sanitizers
     - addons:
         apt:
+          update: true
           sources:
             # PPAs for newer toolchains
             - ubuntu-toolchain-r-test
           packages:
             # Extra toolchains
-            - gcc-5
-            - g++-5
+            - gcc-7
+            - g++-7
             # Build dependencies
             - libaio-dev
             - libattr1-dev
@@ -146,8 +147,8 @@  matrix:
       language: generic
       compiler: none
       env:
-        - COMPILER_NAME=gcc CXX=g++-5 CC=gcc-5
-        - CONFIG="--cc=gcc-5 --cxx=g++-5 --disable-pie --disable-linux-user"
+        - COMPILER_NAME=gcc CXX=g++-7 CC=gcc-7
+        - CONFIG="--cc=gcc-7 --cxx=g++-7 --disable-pie --disable-linux-user"
         - TEST_CMD=""
       before_script:
         - ./configure ${CONFIG} --extra-cflags="-g3 -O0 -fsanitize=thread -fuse-ld=gold" || cat config.log