Browse Source

Use GCC 9 on Travis CI

PiperOrigin-RevId: 249899128
master
Victor Costan 5 years ago
committed by Victor Costan
parent
commit
a3b71c1ff6
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      .travis.yml

+ 4
- 4
.travis.yml View File

@ -25,8 +25,8 @@ addons:
packages: packages:
- clang-8 - clang-8
- cmake - cmake
- gcc-8
- g++-8
- gcc-9
- g++-9
- libgoogle-perftools-dev - libgoogle-perftools-dev
- libkyotocabinet-dev - libkyotocabinet-dev
- libsnappy-dev - libsnappy-dev
@ -36,7 +36,7 @@ addons:
packages: packages:
- cmake - cmake
- crc32c - crc32c
- gcc@8
- gcc@9
- gperftools - gperftools
- kyotocabinet - kyotocabinet
- llvm@8 - llvm@8
@ -52,7 +52,7 @@ install:
export PATH="$(brew --prefix llvm)/bin:$PATH"; export PATH="$(brew --prefix llvm)/bin:$PATH";
fi fi
# /usr/bin/gcc points to an older compiler on both Linux and macOS. # /usr/bin/gcc points to an older compiler on both Linux and macOS.
- if [ "$CXX" = "g++" ]; then export CXX="g++-8" CC="gcc-8"; fi
- if [ "$CXX" = "g++" ]; then export CXX="g++-9" CC="gcc-9"; fi
# /usr/bin/clang points to an older compiler on both Linux and macOS. # /usr/bin/clang points to an older compiler on both Linux and macOS.
# #
# Homebrew's llvm package doesn't ship a versioned clang++ binary, so the values # Homebrew's llvm package doesn't ship a versioned clang++ binary, so the values

Loading…
Cancel
Save