SConscript (10066:06a33d872798) SConscript (10130:476aeb6b51b0)
1# -*- mode:python -*-
2
3# Copyright (c) 2013 ARM Limited
4# All rights reserved.
5#
6# The license below extends only to copyright in the software and shall
7# not be construed as granting a license to any other intellectual
8# property including but not limited to intellectual property relating

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

70DRAMFile('SimulatorObject.cpp')
71DRAMFile('Transaction.cpp')
72
73# DRAMSim2 violates some of the warning flags used by gem5, so
74# we explicitly disable them here
75dramenv = main.Clone()
76dramenv.Append(CCFLAGS=['-Wno-unused-value'])
77
1# -*- mode:python -*-
2
3# Copyright (c) 2013 ARM Limited
4# All rights reserved.
5#
6# The license below extends only to copyright in the software and shall
7# not be construed as granting a license to any other intellectual
8# property including but not limited to intellectual property relating

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

70DRAMFile('SimulatorObject.cpp')
71DRAMFile('Transaction.cpp')
72
73# DRAMSim2 violates some of the warning flags used by gem5, so
74# we explicitly disable them here
75dramenv = main.Clone()
76dramenv.Append(CCFLAGS=['-Wno-unused-value'])
77
78# If we are using clang, there are more flags to disable
79if main['CLANG']:
80 dramenv.Append(CCFLAGS=['-Wno-unused-private-field'])
81
78# Tell DRAMSim2 to not store any data as this is already covered by
79# the wrapper
80dramenv.Append(CCFLAGS=['-DNO_STORAGE'])
81
82# Tell DRAMSim2 to not store any data as this is already covered by
83# the wrapper
84dramenv.Append(CCFLAGS=['-DNO_STORAGE'])
85
82dramenv.Library('dramsim2', [main.SharedObject(f) for f in dram_files])
86dramenv.Library('dramsim2', [dramenv.SharedObject(f) for f in dram_files])
83
84main.Prepend(CPPPATH=Dir('.'))
85main.Append(LIBS=['dramsim2'])
86main.Prepend(LIBPATH=[Dir('.')])
87
88main.Prepend(CPPPATH=Dir('.'))
89main.Append(LIBS=['dramsim2'])
90main.Prepend(LIBPATH=[Dir('.')])