changeset 26231e06f86d in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=26231e06f86d
description:
We're searching for g++ incorrectly
diffstat:
1 file changed, 3 deletions(-)
SConstruct | 3 ---
diffs (17 lines):
diff -r ed9b39dce0aa -r 26231e06f86d SConstruct
--- a/SConstruct Fri Sep 19 09:42:54 2008 -0700
+++ b/SConstruct Fri Sep 19 09:42:55 2008 -0700
@@ -332,12 +332,9 @@
# M5_PLY is used by isa_parser.py to find the PLY package.
env.Append(ENV = { 'M5_PLY' : str(Dir('ext/ply')) })
-env['GCC'] = False
-env['SUNCC'] = False
-env['ICC'] = False
env['GCC'] = subprocess.Popen(env['CXX'] + ' --version', shell=True,
stdout=subprocess.PIPE, stderr=subprocess.STDOUT,
- close_fds=True).communicate()[0].find('GCC') >= 0
+ close_fds=True).communicate()[0].find('g++') >= 0
env['SUNCC'] = subprocess.Popen(env['CXX'] + ' -V', shell=True,
stdout=subprocess.PIPE, stderr=subprocess.STDOUT,
close_fds=True).communicate()[0].find('Sun C++') >= 0
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev