brintos

brintos / llvm-project-archived public Read only

0
0
Text · 950 B · c81f75f Raw
22 lines · plain
1set(LLVM_TARGET_DEFINITIONS python_test_ops.td)2mlir_tablegen(lib/PythonTestDialect.h.inc -gen-dialect-decls)3mlir_tablegen(lib/PythonTestDialect.cpp.inc -gen-dialect-defs)4mlir_tablegen(lib/PythonTestOps.h.inc -gen-op-decls)5mlir_tablegen(lib/PythonTestOps.cpp.inc -gen-op-defs)6mlir_tablegen(lib/PythonTestAttributes.h.inc -gen-attrdef-decls)7mlir_tablegen(lib/PythonTestAttributes.cpp.inc -gen-attrdef-defs)8mlir_tablegen(lib/PythonTestTypes.h.inc -gen-typedef-decls)9mlir_tablegen(lib/PythonTestTypes.cpp.inc -gen-typedef-defs)10add_public_tablegen_target(MLIRPythonTestIncGen)11 12add_subdirectory(lib)13 14set(MLIR_PYTHON_TEST_DEPENDS MLIRPythonModules mlir-runner mlir_c_runner_utils mlir_runner_utils)15if(NOT MLIR_STANDALONE_BUILD)16  list(APPEND MLIR_PYTHON_TEST_DEPENDS FileCheck count not)17endif()18add_lit_testsuite(check-mlir-python "Running the MLIR Python regression tests"19  ${CMAKE_CURRENT_BINARY_DIR}20  DEPENDS ${MLIR_PYTHON_TEST_DEPENDS}21)22