未验证 提交 0d05e646 编写于 作者: P pangyoki 提交者: GitHub

fix arm compile problem in phi/CmakeLists.txt (#42325)

* fix arm compile problem

* fix format

* fix ci error
上级 9e0baf6e
...@@ -46,7 +46,11 @@ set(PHI_DEPS ...@@ -46,7 +46,11 @@ 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})
create_dummy_static_lib(phi LIBS ${PHI_DEPS} LIMIT 100) if(APPLE AND WITH_ARM)
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.
先完成此消息的编辑!
想要评论请 注册