SConstruct (8120:e4257cde2d79) | SConstruct (8121:457c24115bde) |
---|---|
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 --- 347 unchanged lines hidden (view full) --- 356global_vars = Variables(global_vars_file, args=ARGUMENTS) 357 358global_vars.AddVariables( 359 ('CC', 'C compiler', environ.get('CC', main['CC'])), 360 ('CXX', 'C++ compiler', environ.get('CXX', main['CXX'])), 361 ('BATCH', 'Use batch pool for build and tests', False), 362 ('BATCH_CMD', 'Batch pool submission command name', 'qdo'), 363 ('M5_BUILD_CACHE', 'Cache built objects in this directory', False), | 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 --- 347 unchanged lines hidden (view full) --- 356global_vars = Variables(global_vars_file, args=ARGUMENTS) 357 358global_vars.AddVariables( 359 ('CC', 'C compiler', environ.get('CC', main['CC'])), 360 ('CXX', 'C++ compiler', environ.get('CXX', main['CXX'])), 361 ('BATCH', 'Use batch pool for build and tests', False), 362 ('BATCH_CMD', 'Batch pool submission command name', 'qdo'), 363 ('M5_BUILD_CACHE', 'Cache built objects in this directory', False), |
364 ('EXTRAS', 'Add Extra directories to the compilation', '', | 364 ('EXTRAS', 'Add extra directories to the compilation', '', |
365 PathListAllExist, PathListMakeAbsolute), 366 ) 367 368# Update main environment with values from ARGUMENTS & global_vars_file 369global_vars.Update(main) 370help_texts["global_vars"] += global_vars.GenerateHelpText(main) 371 372# Save sticky variable settings back to current variables file --- 682 unchanged lines hidden --- | 365 PathListAllExist, PathListMakeAbsolute), 366 ) 367 368# Update main environment with values from ARGUMENTS & global_vars_file 369global_vars.Update(main) 370help_texts["global_vars"] += global_vars.GenerateHelpText(main) 371 372# Save sticky variable settings back to current variables file --- 682 unchanged lines hidden --- |