SConstruct (8980:903a824a0583) SConstruct (9044:904ddeecc653)
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

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

828
829all_isa_list.sort()
830
831sticky_vars.AddVariables(
832 EnumVariable('TARGET_ISA', 'Target ISA', 'alpha', all_isa_list),
833 ListVariable('CPU_MODELS', 'CPU models',
834 sorted(n for n,m in CpuModel.dict.iteritems() if m.default),
835 sorted(CpuModel.list)),
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

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

828
829all_isa_list.sort()
830
831sticky_vars.AddVariables(
832 EnumVariable('TARGET_ISA', 'Target ISA', 'alpha', all_isa_list),
833 ListVariable('CPU_MODELS', 'CPU models',
834 sorted(n for n,m in CpuModel.dict.iteritems() if m.default),
835 sorted(CpuModel.list)),
836 BoolVariable('NO_FAST_ALLOC', 'Disable fast object allocator', False),
837 BoolVariable('FORCE_FAST_ALLOC',
838 'Enable fast object allocator, even for gem5.debug', False),
839 BoolVariable('FAST_ALLOC_STATS', 'Enable fast object allocator statistics',
840 False),
841 BoolVariable('EFENCE', 'Link with Electric Fence malloc debugger',
842 False),
843 BoolVariable('SS_COMPATIBLE_FP',
844 'Make floating-point results compatible with SimpleScalar',
845 False),
846 BoolVariable('USE_SSE2',
847 'Compile for SSE2 (-msse2) to get IEEE FP on x86 hosts',
848 False),
849 BoolVariable('USE_POSIX_CLOCK', 'Use POSIX Clocks', have_posix_clock),
850 BoolVariable('USE_FENV', 'Use <fenv.h> IEEE mode control', have_fenv),
851 BoolVariable('CP_ANNOTATE', 'Enable critical path annotation capability', False),
852 )
853
854# These variables get exported to #defines in config/*.hh (see src/SConscript).
836 BoolVariable('EFENCE', 'Link with Electric Fence malloc debugger',
837 False),
838 BoolVariable('SS_COMPATIBLE_FP',
839 'Make floating-point results compatible with SimpleScalar',
840 False),
841 BoolVariable('USE_SSE2',
842 'Compile for SSE2 (-msse2) to get IEEE FP on x86 hosts',
843 False),
844 BoolVariable('USE_POSIX_CLOCK', 'Use POSIX Clocks', have_posix_clock),
845 BoolVariable('USE_FENV', 'Use <fenv.h> IEEE mode control', have_fenv),
846 BoolVariable('CP_ANNOTATE', 'Enable critical path annotation capability', False),
847 )
848
849# These variables get exported to #defines in config/*.hh (see src/SConscript).
855export_vars += ['USE_FENV', 'NO_FAST_ALLOC', 'FORCE_FAST_ALLOC',
856 'FAST_ALLOC_STATS', 'SS_COMPATIBLE_FP',
850export_vars += ['USE_FENV', 'SS_COMPATIBLE_FP',
857 'TARGET_ISA', 'CP_ANNOTATE', 'USE_POSIX_CLOCK' ]
858
859###################################################
860#
861# Define a SCons builder for configuration flag headers.
862#
863###################################################
864

--- 179 unchanged lines hidden ---
851 'TARGET_ISA', 'CP_ANNOTATE', 'USE_POSIX_CLOCK' ]
852
853###################################################
854#
855# Define a SCons builder for configuration flag headers.
856#
857###################################################
858

--- 179 unchanged lines hidden ---