提交 f25d5b56 编写于 作者: M Megvii Engine Team

fix(mge/build): fix version.ld path

GitOrigin-RevId: 6d5bbf0d18df7cd2e0c9b8a42f84730da4873b50
上级 b7eb4863
......@@ -4,6 +4,7 @@ global:
MEGDNN_VSYM_*;
mgb_get_extern_c_opr_api_versioned;
PyInit__imperative_rt;
PyInit__mgb;
extern "C++" {
*mgb::*;
*megdnn::*;
......
......@@ -181,11 +181,7 @@ if(ANDROID)
target_link_libraries(megbrain PUBLIC log)
endif()
if(MGE_BUILD_IMPERATIVE_RT)
set (_VER_FILE ${PROJECT_SOURCE_DIR}/python_module/src/version.ld)
else()
set (_VER_FILE ${PROJECT_SOURCE_DIR}/imperative/src/version.ld)
endif()
set (_VER_FILE ${PROJECT_SOURCE_DIR}/imperative/src/version.ld)
if(MGE_BUILD_IMPERATIVE_RT
)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册