From a4534b0de68d819214c53031cc9542a3802f692e Mon Sep 17 00:00:00 2001 From: Ben Clayton Date: Wed, 29 Nov 2023 18:17:16 +0000 Subject: [PATCH] Fixes for Kokoro builds --- examples/primes.cpp | 1 + kokoro/ubuntu/docker.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/primes.cpp b/examples/primes.cpp index a3e871a..e5ee4f0 100644 --- a/examples/primes.cpp +++ b/examples/primes.cpp @@ -23,6 +23,7 @@ #include #include +#include // searchMax defines the upper limit on primes to find. constexpr int searchMax = 10000000; diff --git a/kokoro/ubuntu/docker.sh b/kokoro/ubuntu/docker.sh index 4cba967..e4902ef 100755 --- a/kokoro/ubuntu/docker.sh +++ b/kokoro/ubuntu/docker.sh @@ -29,7 +29,7 @@ function status { . /bin/using.sh # Declare the bash `using` function for configuring toolchains. status "Setting up environment" -using gcc-9 # Always update gcc so we get a newer standard library. +using gcc-10 # Always update gcc so we get a newer standard library. if [ "$BUILD_SYSTEM" == "cmake" ]; then using cmake-3.17.2