From a3d61cff6995ea07a520f9ef4695f78adadac79d Mon Sep 17 00:00:00 2001 From: Stephen Neuendorffer Date: Thu, 23 May 2024 11:07:02 -0700 Subject: [PATCH] Remove old sim Makefile This is no longer used. aiecc.py can generate the simulation. --- python/compiler/aiecc/main.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/python/compiler/aiecc/main.py b/python/compiler/aiecc/main.py index 62dd87190b..7df9a9cf07 100644 --- a/python/compiler/aiecc/main.py +++ b/python/compiler/aiecc/main.py @@ -801,7 +801,6 @@ def make_sim_dir(x): "test_lib", "include", ) - sim_makefile = os.path.join(runtime_simlib_path, "Makefile") sim_genwrapper = os.path.join(runtime_simlib_path, "genwrapper_for_ps.cpp") file_physical = self.prepend_tmp("input_physical.mlir") memory_allocator = os.path.join( @@ -893,8 +892,6 @@ def make_sim_dir(x): ], ) ) - processes.append(self.do_call(task, ["cp", sim_makefile, sim_dir])) - processes.append(self.do_call(task, ["cp", sim_genwrapper, sim_ps_dir])) processes.append( self.do_call( task, @@ -905,7 +902,7 @@ def make_sim_dir(x): "-shared", "-o", os.path.join(sim_ps_dir, "ps.so"), - os.path.join(runtime_simlib_path, "genwrapper_for_ps.cpp"), + sim_genwrapper, *aie_target_defines(aie_target), *host_opts, *sim_cc_args,