Gabe Black has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/41595 )

Change subject: scons,systemc: Drop the check for gcc version when building systemc.
......................................................................

scons,systemc: Drop the check for gcc version when building systemc.

The minimum version of gcc is 5, and the check would only fail if gcc
was older than that.

Change-Id: I20f4f42661baf415b7cbe80ec0ace4e427666348
---
M src/systemc/SConsopts
1 file changed, 1 insertion(+), 6 deletions(-)



diff --git a/src/systemc/SConsopts b/src/systemc/SConsopts
index 13636cd..4864944 100644
--- a/src/systemc/SConsopts
+++ b/src/systemc/SConsopts
@@ -30,12 +30,7 @@
 from gem5_scons import warning

 def use_systemc_check(env, warn=False):
-    if ('GCC_VERSION' in env and
-            compareVersions(env['GCC_VERSION'], '5.0') < 0):
-        if warn:
-            warning('Systemc may not work on gcc versions less than 5.0.')
-        return False
-    elif env['PLATFORM'] == 'darwin':
+    if env['PLATFORM'] == 'darwin':
         if warn:
             warning('Warning: Systemc may not work on Mac OS.')
         return False

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/41595
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I20f4f42661baf415b7cbe80ec0ace4e427666348
Gerrit-Change-Number: 41595
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to