未验证 提交 6b756e8c 编写于 作者: Z zhangbo9674 提交者: GitHub

[IR] Move paddle_ir_test to test_ir (#52877)

* move paddle_ir_test to test_ir

* fix bug

* fix bug
上级 ce6978c6
......@@ -5,9 +5,6 @@ endif()
set(NEWIR_SOURCE_DIR "${PADDLE_SOURCE_DIR}/paddle/ir")
set(NEWIR_BINARY_DIR "${PADDLE_BINARY_DIR}/paddle/ir")
# ir tests
add_subdirectory(tests)
file(GLOB IR_SRCS "*.cc")
cc_library(new_ir SRCS ${IR_SRCS})
cc_test_old(type_test SRCS type_test.cc DEPS new_ir gtest)
cc_test_old(ir_attribute_test SRCS ir_attribute_test.cc DEPS new_ir gtest)
cc_test_old(ir_value_test SRCS ir_value_test.cc DEPS new_ir gtest)
......@@ -3,3 +3,4 @@ add_subdirectory(jit)
add_subdirectory(new_executor)
add_subdirectory(prim)
add_subdirectory(imperative)
add_subdirectory(ir)
if(WITH_NEWIR)
cc_test_old(type_test SRCS type_test.cc DEPS new_ir gtest)
cc_test_old(ir_attribute_test SRCS ir_attribute_test.cc DEPS new_ir gtest)
cc_test_old(ir_value_test SRCS ir_value_test.cc DEPS new_ir gtest)
endif()
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册