2020-07-11 08:36:32 +08:00
|
|
|
################################################################################
|
|
|
|
# NPCOMPBackendRefJITPythonModule
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
include(NpcompPython)
|
|
|
|
|
|
|
|
set(PYBIND_SOURCES
|
|
|
|
PythonModule.cpp
|
|
|
|
)
|
|
|
|
add_library(NPCOMPBackendRefJITPythonModule
|
|
|
|
${PYBIND_SOURCES}
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(NPCOMPBackendRefJITPythonModule
|
2020-10-09 09:29:59 +08:00
|
|
|
pybind11::module
|
2020-07-11 08:36:32 +08:00
|
|
|
MLIRExecutionEngine
|
|
|
|
MLIRTargetLLVMIR
|
|
|
|
|
|
|
|
NPCOMPPythonCommon
|
2020-10-08 07:11:41 +08:00
|
|
|
NPCOMPRefBackendJITHelpers
|
2020-07-11 08:36:32 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
npcomp_python_target_compile_options(NPCOMPBackendRefJITPythonModule)
|
2020-07-11 13:45:30 +08:00
|
|
|
|
|
|
|
add_dependencies(NPCOMPBackendRefJITPythonModule
|
|
|
|
NPCOMPPythonResources
|
|
|
|
)
|