SConstruct (6994:c6951099a1cb) SConstruct (7450:2302e04c506e)
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

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

309
310global_sticky_vars.AddVariables(
311 ('CC', 'C compiler', environ.get('CC', main['CC'])),
312 ('CXX', 'C++ compiler', environ.get('CXX', main['CXX'])),
313 ('BATCH', 'Use batch pool for build and tests', False),
314 ('BATCH_CMD', 'Batch pool submission command name', 'qdo'),
315 ('EXTRAS', 'Add Extra directories to the compilation', '',
316 PathListAllExist, PathListMakeAbsolute),
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

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

309
310global_sticky_vars.AddVariables(
311 ('CC', 'C compiler', environ.get('CC', main['CC'])),
312 ('CXX', 'C++ compiler', environ.get('CXX', main['CXX'])),
313 ('BATCH', 'Use batch pool for build and tests', False),
314 ('BATCH_CMD', 'Batch pool submission command name', 'qdo'),
315 ('EXTRAS', 'Add Extra directories to the compilation', '',
316 PathListAllExist, PathListMakeAbsolute),
317 BoolVariable('RUBY', 'Build with Ruby', False),
318 )
319
320# base help text
321help_text = '''
322Usage: scons [scons options] [build options] [target(s)]
323
324Global sticky options:
325'''

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

683 False),
684 BoolVariable('USE_SSE2',
685 'Compile for SSE2 (-msse2) to get IEEE FP on x86 hosts',
686 False),
687 BoolVariable('USE_MYSQL', 'Use MySQL for stats output', have_mysql),
688 BoolVariable('USE_FENV', 'Use <fenv.h> IEEE mode control', have_fenv),
689 BoolVariable('USE_CHECKER', 'Use checker for detailed CPU models', False),
690 BoolVariable('CP_ANNOTATE', 'Enable critical path annotation capability', False),
317 )
318
319# base help text
320help_text = '''
321Usage: scons [scons options] [build options] [target(s)]
322
323Global sticky options:
324'''

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

682 False),
683 BoolVariable('USE_SSE2',
684 'Compile for SSE2 (-msse2) to get IEEE FP on x86 hosts',
685 False),
686 BoolVariable('USE_MYSQL', 'Use MySQL for stats output', have_mysql),
687 BoolVariable('USE_FENV', 'Use <fenv.h> IEEE mode control', have_fenv),
688 BoolVariable('USE_CHECKER', 'Use checker for detailed CPU models', False),
689 BoolVariable('CP_ANNOTATE', 'Enable critical path annotation capability', False),
690 BoolVariable('RUBY', 'Build with Ruby', False),
691 )
692
693nonsticky_vars.AddVariables(
694 BoolVariable('update_ref', 'Update test reference outputs', False)
695 )
696
697# These variables get exported to #defines in config/*.hh (see src/SConscript).
698export_vars += ['FULL_SYSTEM', 'USE_FENV', 'USE_MYSQL',

--- 190 unchanged lines hidden ---
691 )
692
693nonsticky_vars.AddVariables(
694 BoolVariable('update_ref', 'Update test reference outputs', False)
695 )
696
697# These variables get exported to #defines in config/*.hh (see src/SConscript).
698export_vars += ['FULL_SYSTEM', 'USE_FENV', 'USE_MYSQL',

--- 190 unchanged lines hidden ---