SConstruct (8474:7f49e6a176b8) SConstruct (8482:353abb676fa2)
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

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

805 False),
806 BoolVariable('USE_SSE2',
807 'Compile for SSE2 (-msse2) to get IEEE FP on x86 hosts',
808 False),
809 BoolVariable('USE_POSIX_CLOCK', 'Use POSIX Clocks', have_posix_clock),
810 BoolVariable('USE_FENV', 'Use <fenv.h> IEEE mode control', have_fenv),
811 BoolVariable('USE_CHECKER', 'Use checker for detailed CPU models', False),
812 BoolVariable('CP_ANNOTATE', 'Enable critical path annotation capability', 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

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

805 False),
806 BoolVariable('USE_SSE2',
807 'Compile for SSE2 (-msse2) to get IEEE FP on x86 hosts',
808 False),
809 BoolVariable('USE_POSIX_CLOCK', 'Use POSIX Clocks', have_posix_clock),
810 BoolVariable('USE_FENV', 'Use <fenv.h> IEEE mode control', have_fenv),
811 BoolVariable('USE_CHECKER', 'Use checker for detailed CPU models', False),
812 BoolVariable('CP_ANNOTATE', 'Enable critical path annotation capability', False),
813 BoolVariable('RUBY', 'Build with Ruby', False),
814 )
815
816# These variables get exported to #defines in config/*.hh (see src/SConscript).
817export_vars += ['FULL_SYSTEM', 'USE_FENV',
818 'NO_FAST_ALLOC', 'FORCE_FAST_ALLOC', 'FAST_ALLOC_STATS',
819 'SS_COMPATIBLE_FP', 'USE_CHECKER', 'TARGET_ISA', 'CP_ANNOTATE',
820 'USE_POSIX_CLOCK' ]
821

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

980 env.Append(LIBS=['efence'])
981
982 # Save sticky variable settings back to current variables file
983 sticky_vars.Save(current_vars_file, env)
984
985 if env['USE_SSE2']:
986 env.Append(CCFLAGS=['-msse2'])
987
813 )
814
815# These variables get exported to #defines in config/*.hh (see src/SConscript).
816export_vars += ['FULL_SYSTEM', 'USE_FENV',
817 'NO_FAST_ALLOC', 'FORCE_FAST_ALLOC', 'FAST_ALLOC_STATS',
818 'SS_COMPATIBLE_FP', 'USE_CHECKER', 'TARGET_ISA', 'CP_ANNOTATE',
819 'USE_POSIX_CLOCK' ]
820

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

979 env.Append(LIBS=['efence'])
980
981 # Save sticky variable settings back to current variables file
982 sticky_vars.Save(current_vars_file, env)
983
984 if env['USE_SSE2']:
985 env.Append(CCFLAGS=['-msse2'])
986
987 if env['PROTOCOL'] != 'None':
988 env['RUBY'] = True
989 else:
990 env['RUBY'] = False
991
988 # The src/SConscript file sets up the build rules in 'env' according
989 # to the configured variables. It returns a list of environments,
990 # one for each variant build (debug, opt, etc.)
991 envList = SConscript('src/SConscript', variant_dir = variant_path,
992 exports = 'env')
993
994 # Set up the regression tests for each build.
995 for e in envList:

--- 16 unchanged lines hidden ---
992 # The src/SConscript file sets up the build rules in 'env' according
993 # to the configured variables. It returns a list of environments,
994 # one for each variant build (debug, opt, etc.)
995 envList = SConscript('src/SConscript', variant_dir = variant_path,
996 exports = 'env')
997
998 # Set up the regression tests for each build.
999 for e in envList:

--- 16 unchanged lines hidden ---