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

fix(cmake): enable custom op when building develop to avoid the pytest fail

GitOrigin-RevId: fa05ead8996c0ee07916d34daea3aeef324d63ac
上级 ee0b95e9
......@@ -655,6 +655,10 @@ if(MGE_WITH_JIT_MLIR OR MGE_BUILD_IMPERATIVE_RT)
include(cmake/llvm-project.cmake)
endif()
if(MGE_BUILD_IMPERATIVE_RT)
set(MGE_WITH_CUSTOM_OP ON)
endif()
if(MGE_WITH_DISTRIBUTED)
include(cmake/protobuf.cmake)
include(cmake/zmq.cmake)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册