SConstruct (6003:8f374fd9a348) | SConstruct (6016:9116be67b6d8) |
---|---|
1# -*- mode:python -*- 2 3# Copyright (c) 2009 The Hewlett-Packard Development Company 4# Copyright (c) 2004-2005 The Regents of The University of Michigan 5# All rights reserved. 6# 7# Redistribution and use in source and binary forms, with or without 8# modification, are permitted provided that the following conditions are --- 360 unchanged lines hidden (view full) --- 369 extras_dir_list = env['EXTRAS'].split(':') 370else: 371 extras_dir_list = [] 372 373Export('base_dir') 374Export('extras_dir_list') 375 376# M5_PLY is used by isa_parser.py to find the PLY package. | 1# -*- mode:python -*- 2 3# Copyright (c) 2009 The Hewlett-Packard Development Company 4# Copyright (c) 2004-2005 The Regents of The University of Michigan 5# All rights reserved. 6# 7# Redistribution and use in source and binary forms, with or without 8# modification, are permitted provided that the following conditions are --- 360 unchanged lines hidden (view full) --- 369 extras_dir_list = env['EXTRAS'].split(':') 370else: 371 extras_dir_list = [] 372 373Export('base_dir') 374Export('extras_dir_list') 375 376# M5_PLY is used by isa_parser.py to find the PLY package. |
377env.Append(ENV = { 'M5_PLY' : str(Dir('ext/ply')) }) | 377env.Append(ENV = { 'M5_PLY' : Dir('ext/ply').abspath }) |
378 379CXX_version = read_command([env['CXX'],'--version'], exception=False) 380CXX_V = read_command([env['CXX'],'-V'], exception=False) 381 382env['GCC'] = CXX_version and CXX_version.find('g++') >= 0 383env['SUNCC'] = CXX_V and CXX_V.find('Sun C++') >= 0 384env['ICC'] = CXX_V and CXX_V.find('Intel') >= 0 385if env['GCC'] + env['SUNCC'] + env['ICC'] > 1: --- 515 unchanged lines hidden --- | 378 379CXX_version = read_command([env['CXX'],'--version'], exception=False) 380CXX_V = read_command([env['CXX'],'-V'], exception=False) 381 382env['GCC'] = CXX_version and CXX_version.find('g++') >= 0 383env['SUNCC'] = CXX_V and CXX_V.find('Sun C++') >= 0 384env['ICC'] = CXX_V and CXX_V.find('Intel') >= 0 385if env['GCC'] + env['SUNCC'] + env['ICC'] > 1: --- 515 unchanged lines hidden --- |