From a4b3db0b9e098a096b5429df595be2f77d8cf3ea Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sat, 24 Jul 2021 00:08:26 -0700 Subject: [PATCH] scons: Increase the minimum version of gcc to 7. This was bumped up to 7 by policy, but the SConsctruct was still enforcing the old minimum of version 5. Change-Id: I91966f95b18451f880af279dae286119f7b282d6 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/48512 Reviewed-by: Daniel Carvalho Maintainer: Gabe Black Tested-by: kokoro --- SConstruct | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SConstruct b/SConstruct index ca1bc7b5a2..c98030008f 100755 --- a/SConstruct +++ b/SConstruct @@ -351,8 +351,8 @@ else: "src/SConscript to support that compiler."))) if main['GCC']: - if compareVersions(main['CXXVERSION'], "5") < 0: - error('gcc version 5 or newer required.\n' + if compareVersions(main['CXXVERSION'], "7") < 0: + error('gcc version 7 or newer required.\n' 'Installed version:', main['CXXVERSION']) # Add the appropriate Link-Time Optimization (LTO) flags if `--with-lto` is