mirror of https://github.com/llvm/torch-mlir
27 lines
626 B
CMake
27 lines
626 B
CMake
################################################################################
|
|
# NPCOMPBackendRefJITPythonModule
|
|
################################################################################
|
|
|
|
include(NpcompPython)
|
|
|
|
set(PYBIND_SOURCES
|
|
PythonModule.cpp
|
|
)
|
|
add_library(NPCOMPBackendRefJITPythonModule
|
|
${PYBIND_SOURCES}
|
|
)
|
|
|
|
target_link_libraries(NPCOMPBackendRefJITPythonModule
|
|
pybind11::module
|
|
MLIRExecutionEngine
|
|
MLIRTargetLLVMIRExport
|
|
|
|
NPCOMPRefBackendJITHelpers
|
|
)
|
|
|
|
npcomp_python_target_compile_options(NPCOMPBackendRefJITPythonModule)
|
|
|
|
add_dependencies(NPCOMPBackendRefJITPythonModule
|
|
NPCOMPPythonResources
|
|
)
|