From fe879f3e6fe6f8baacd609e5e0f6b5a762c40137 Mon Sep 17 00:00:00 2001 From: Shimenkov Mikhail Date: Mon, 21 Aug 2023 18:15:33 +0300 Subject: [PATCH] change panda_host_tools dependency Signed-off-by: Shimenkov Mikhail --- HostTools.cmake | 3 +++ ecmastdlib/CMakeLists.txt | 2 +- runtime/CMakeLists.txt | 2 +- tests/CMakeLists.txt | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/HostTools.cmake b/HostTools.cmake index f8b9aff8c..c775085f0 100644 --- a/HostTools.cmake +++ b/HostTools.cmake @@ -1,2 +1,5 @@ list(APPEND HOST_TOOLS_TARGETS es2panda) list(APPEND HOST_TOOLS_TARGETS irtoc_ecmascript_fastpath) +list(APPEND HOST_TOOLS_BYPRODUCTS + "${host_tools_build_dir}/irtoc/irtoc_ecmascript/irtoc_ecmascript_fastpath/irtoc_ecmascript_fastpath.o" +) diff --git a/ecmastdlib/CMakeLists.txt b/ecmastdlib/CMakeLists.txt index af0393cae..c6a4d5aa8 100644 --- a/ecmastdlib/CMakeLists.txt +++ b/ecmastdlib/CMakeLists.txt @@ -19,7 +19,7 @@ add_panda_assembly(TARGET ecmastdlib SOURCE ecmastdlib.pa) if(CMAKE_CROSSCOMPILING) ExternalProject_Get_Property(panda_host_tools binary_dir) - set(arkquick_target panda_host_tools) + set(arkquick_target panda_host_tools-build) set(arkquick_bin "${binary_dir}/quickener/arkquick") else() set(arkquick_target arkquick) diff --git a/runtime/CMakeLists.txt b/runtime/CMakeLists.txt index af0313352..43b13100b 100644 --- a/runtime/CMakeLists.txt +++ b/runtime/CMakeLists.txt @@ -210,7 +210,7 @@ else() if (NOT EXISTS ${IRTOC_ECMASCRIPT_FASTPATH_OBJ}) file(TOUCH ${IRTOC_ECMASCRIPT_FASTPATH_OBJ}) endif() - set(irtoc_ecmascript_fastpath_target build_host_tools) + set(irtoc_ecmascript_fastpath_target panda_host_tools-build) endif() add_dependencies(arkruntime_static diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 94b2b630c..e63dc22b7 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -249,7 +249,7 @@ endfunction() if(CMAKE_CROSSCOMPILING) ExternalProject_Get_Property(panda_host_tools binary_dir) - set(es2panda_target build_host_tools) + set(es2panda_target panda_host_tools-build) set(es2panda_bin "${binary_dir}/plugins/ecmascript/es2panda/aot/es2panda") else() set(es2panda_target es2panda) -- Gitee