CMakeLists.txt 528 字节
Newer Older
1 2
if(WITH_TESTING AND WITH_CINN)
  cc_test_old(
3
    test_new_ir_compiler
4
    SRCS
5
    new_ir_compiler_test.cc
6
    DEPS
7
    new_ir_compiler
8
    convert_to_dialect
9
    runtime_dialect
10 11 12 13
    ir
    phi
    gtest
    glog)
14
  set_tests_properties(test_new_ir_compiler PROPERTIES LABELS "RUN_TYPE=CINN")
15 16 17 18 19 20 21 22 23 24

  cc_test_old(
    test_jit_instruction
    SRCS
    jit_instruction_test.cc
    DEPS
    interpreter
    new_ir_compiler
    convert_to_dialect)
  set_tests_properties(test_jit_instruction PROPERTIES LABELS "RUN_TYPE=CINN")
25
endif()