Commit bfd8c70a by Ben Clayton

Kokoro: Update from GCC 4.8 to GCC 7.

GCC 4.8 doesn't even understand --std=c++14 Bug: b/147359661 Change-Id: I5189d24638007ffe40e8903a382bccab9ef1c0fc Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/39950Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com> Tested-by: 's avatarBen Clayton <bclayton@google.com>
parent 8a7067d8
...@@ -5,6 +5,12 @@ cd git/SwiftShader ...@@ -5,6 +5,12 @@ cd git/SwiftShader
set -e # Fail on any error. set -e # Fail on any error.
set -x # Display commands being run. set -x # Display commands being run.
# Specify we want to build with GCC 7
sudo apt-get update
sudo apt-get install -y gcc-7 g++-7
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 100 --slave /usr/bin/g++ g++ /usr/bin/g++-7
sudo update-alternatives --set gcc "/usr/bin/gcc-7"
# Download all submodules # Download all submodules
git submodule update --init git submodule update --init
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment