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

fix(build): make develep happy

GitOrigin-RevId: ab6e6bc8250bf89f54d5dcf838c9a943bdf25edf
上级 38ef331e
......@@ -1396,8 +1396,9 @@ if(TARGET _imperative_rt)
${CMAKE_COMMAND} -E create_symlink
${CMAKE_CURRENT_BINARY_DIR}/src/$<TARGET_FILE_NAME:${MGE_SHARED_LIB}>
${CMAKE_CURRENT_SOURCE_DIR}/imperative/python/${PACKAGE_NAME}/core/lib/$<TARGET_FILE_NAME:${MGE_SHARED_LIB}>
DEPENDS _imperative_rt
DEPENDS ${develop_depends}
VERBATIM)
add_dependencies(develop _imperative_rt)
endif()
# Configure and install pkg-config. Note that unlike the Config.cmake modules, this is
......
......@@ -98,4 +98,4 @@ If you do not want to create whl file when debug Python3 binding, you can call `
* cuda with `RelWithDebInfo` mode: `EXTRA_CMAKE_ARGS="-DCMAKE_BUILD_TYPE=RelWithDebInfo" scripts/cmake-build/host_build.sh -c -t`
* cpu only with `RelWithDebInfo` mode: `EXTRA_CMAKE_ARGS="-DCMAKE_BUILD_TYPE=RelWithDebInfo" scripts/cmake-build/host_build.sh -t`
Start `Python3 ` with env for support `MegEngine` after build: `PYTHONPATH=imperative/python:python_module:$PYTHONPATH python3 `
Start `Python3 ` with env for support `MegEngine` after build: `PYTHONPATH=imperative/python:$PYTHONPATH python3 `
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册