SConstruct (9072:d8e5ca139d7c) SConstruct (9119:a8749b39f1f8)
1# -*- mode:python -*-
2
3# Copyright (c) 2011 Advanced Micro Devices, Inc.
4# Copyright (c) 2009 The Hewlett-Packard Development Company
5# Copyright (c) 2004-2005 The Regents of The University of Michigan
6# All rights reserved.
7#
8# Redistribution and use in source and binary forms, with or without

--- 163 unchanged lines hidden (view full) ---

172
173termcap = get_termcap(GetOption('use_colors'))
174
175########################################################################
176#
177# Set up the main build environment.
178#
179########################################################################
1# -*- mode:python -*-
2
3# Copyright (c) 2011 Advanced Micro Devices, Inc.
4# Copyright (c) 2009 The Hewlett-Packard Development Company
5# Copyright (c) 2004-2005 The Regents of The University of Michigan
6# All rights reserved.
7#
8# Redistribution and use in source and binary forms, with or without

--- 163 unchanged lines hidden (view full) ---

172
173termcap = get_termcap(GetOption('use_colors'))
174
175########################################################################
176#
177# Set up the main build environment.
178#
179########################################################################
180use_vars = set([ 'AS', 'AR', 'CC', 'CXX', 'HOME', 'LD_LIBRARY_PATH', 'PATH',
181 'PYTHONPATH', 'RANLIB', 'SWIG' ])
180use_vars = set([ 'AS', 'AR', 'CC', 'CXX', 'HOME', 'LD_LIBRARY_PATH',
181 'LIBRARY_PATH', 'PATH', 'PYTHONPATH', 'RANLIB', 'SWIG' ])
182
183use_env = {}
184for key,val in os.environ.iteritems():
185 if key in use_vars or key.startswith("M5"):
186 use_env[key] = val
187
188main = Environment(ENV=use_env)
189main.Decider('MD5-timestamp')

--- 874 unchanged lines hidden ---
182
183use_env = {}
184for key,val in os.environ.iteritems():
185 if key in use_vars or key.startswith("M5"):
186 use_env[key] = val
187
188main = Environment(ENV=use_env)
189main.Decider('MD5-timestamp')

--- 874 unchanged lines hidden ---