# npcomp-run-mlir is always linked dynamically as we want to distribute the # binaries with the python packages for hacking/debugging. get_property(dialect_libs GLOBAL PROPERTY NPCOMP_DIALECT_LIBS) get_property(conversion_libs GLOBAL PROPERTY NPCOMP_CONVERSION_LIBS) add_npcomp_executable(npcomp-run-mlir npcomp-run-mlir.cpp ) llvm_update_compile_flags(npcomp-run-mlir) target_link_libraries(npcomp-run-mlir PRIVATE NPCOMPCAPI NPCOMPInitAll MLIRAnalysis MLIRIR MLIRJitRunner MLIRParser MLIRSupport NPCOMPInitAll NPCOMPRefBackendJITHelpers # TODO: Remove these in favor of interface deps. ${conversion_libs} ${dialect_libs} ) add_dependencies(npcomp-run-mlir NPCOMPCompilerRuntimeShlib )