Gabe Black has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/52703 )
Change subject: fastmodel: Delete the unused ArmFastModelBin.
......................................................................
fastmodel: Delete the unused ArmFastModelBin.
Change-Id: I29fb6cdfac809fb0a3577470143714b1da2d4562
---
M src/arch/arm/fastmodel/SConscript
1 file changed, 9 insertions(+), 43 deletions(-)
diff --git a/src/arch/arm/fastmodel/SConscript
b/src/arch/arm/fastmodel/SConscript
index 214580e..c55d897 100644
--- a/src/arch/arm/fastmodel/SConscript
+++ b/src/arch/arm/fastmodel/SConscript
@@ -348,50 +348,7 @@
return res
-class ArmFastModelBin(Executable):
- def __init__(self, target, *components_and_sources):
- def is_component(x):
- return isinstance(x, ArmFastModelComponent)
-
- def not_component(x):
- return not is_component(x)
-
- components = list(filter(is_component, components_and_sources))
- sources = list(filter(not_component, components_and_sources))
-
- self.components = components
- super().__init__(target, *sources)
-
- @classmethod
- def declare_all(cls, env):
- env = env.Clone()
- env.Prepend(LIBS=env['STATIC_LIB'][0])
- super().declare_all(env)
-
- def declare(self, env):
- env = env.Clone()
-
- sources = list(self.sources)
- for f in self.filters:
- sources += Source.all.apply_filter(f)
-
- objs = self.srcs_to_objs(env, sources)
- objs = objs + env['MAIN_OBJS']
-
- for component in self.components:
- component.prepare_env(env)
-
- binary = super().declare(env, objs)[0]
-
- # We need a copy of the simulation engine lib alongside the
executable
- # so that the license check works properly.
- local_engine = binary.File(simulation_engine_name)
- Depends(binary, local_engine)
- main.Command(local_engine, simulation_engine_lib,
- MakeAction("cp ${SOURCE} ${TARGET}", Transform('COPY')))
-
Export('ArmFastModelComponent')
-Export('ArmFastModelBin')
PySource('m5', 'arm_fast_model.py')
Source('fastmodel.cc')
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/52703
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I29fb6cdfac809fb0a3577470143714b1da2d4562
Gerrit-Change-Number: 52703
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s