Skip to content

Commit

Permalink
Use a newer version of GCC to build on Linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
pmuetschard committed Apr 3, 2019
1 parent 80f648d commit 2eb3c57
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions kokoro/linux/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ curl -L -k -O -s https://github.com/bazelbuild/bazel/releases/download/0.20.0/ba
mkdir bazel
bash bazel-0.20.0-installer-linux-x86_64.sh --prefix=$PWD/bazel

# Get GCC 7
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt-get -q update
sudo apt-get -qy install gcc-7 g++-7
export CC=/usr/bin/gcc-7

# Setup environment.
export ANDROID_NDK_HOME=/opt/android-ndk-r16b

Expand Down

0 comments on commit 2eb3c57

Please sign in to comment.