未验证 提交 802c5797 编写于 作者: L Leo Chen 提交者: GitHub

revert phi_static (#49433)

上级 0111d012
...@@ -195,6 +195,7 @@ function(create_dummy_static_lib TARGET_NAME) ...@@ -195,6 +195,7 @@ function(create_dummy_static_lib TARGET_NAME)
# the dummy target would be consisted of limit size libraries # the dummy target would be consisted of limit size libraries
set(limit ${merge_LIMIT}) set(limit ${merge_LIMIT})
list(LENGTH merge_LIBS libs_len) list(LENGTH merge_LIBS libs_len)
message("libs_len ${libs_len}")
foreach(lib ${merge_LIBS}) foreach(lib ${merge_LIBS})
list(APPEND merge_list ${lib}) list(APPEND merge_list ${lib})
list(LENGTH merge_list listlen) list(LENGTH merge_list listlen)
......
...@@ -44,11 +44,7 @@ set(PHI_DEPS ...@@ -44,11 +44,7 @@ set(PHI_DEPS
get_property(phi_kernels GLOBAL PROPERTY PHI_KERNELS) get_property(phi_kernels GLOBAL PROPERTY PHI_KERNELS)
set(PHI_DEPS ${PHI_DEPS} ${phi_kernels}) set(PHI_DEPS ${PHI_DEPS} ${phi_kernels})
if(APPLE AND WITH_ARM) cc_library(phi DEPS ${PHI_DEPS})
cc_library(phi DEPS ${PHI_DEPS})
else()
create_dummy_static_lib(phi LIBS ${PHI_DEPS} LIMIT 100)
endif()
set(phi_extension_header_file set(phi_extension_header_file
${CMAKE_CURRENT_SOURCE_DIR}/extension.h ${CMAKE_CURRENT_SOURCE_DIR}/extension.h
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册