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