From a83316ec004d17951191a8481d986eb0c854dbd1 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Thu, 17 Sep 2020 22:31:50 -0700 Subject: [PATCH] scons: Increase the minimum clang version to 3.9. This matches what's documented elsewhere. We *need* version 3.4 to support c++14, but we support only as far back as 3.9. Also, the argument to set c++14 as the standard is different in 3.4 and earlier (-std=c++1y), so it makes life slightly easier to move past it to 3.9. Change-Id: I66fa578dd3222c62907496a888f8068ed0918c7b Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/34819 Reviewed-by: Jason Lowe-Power Maintainer: Jason Lowe-Power Tested-by: kokoro --- SConstruct | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SConstruct b/SConstruct index ca3f1a1db..0e49df4fc 100755 --- a/SConstruct +++ b/SConstruct @@ -417,8 +417,8 @@ elif main['CLANG']: clang_version_match = clang_version_re.search(CXX_version) if (clang_version_match): clang_version = clang_version_match.groups()[0] - if compareVersions(clang_version, "3.1") < 0: - error('clang version 3.1 or newer required.\n' + if compareVersions(clang_version, "3.9") < 0: + error('clang version 3.9 or newer required.\n' 'Installed version:', clang_version) else: error('Unable to determine clang version.') -- 2.30.2