2020-05-07 09:41:54 +08:00
|
|
|
add_subdirectory(Conversion)
|
2020-04-27 08:20:58 +08:00
|
|
|
add_subdirectory(Dialect)
|
2020-05-07 09:41:54 +08:00
|
|
|
add_subdirectory(E2E)
|
2020-06-19 09:02:39 +08:00
|
|
|
add_subdirectory(Python)
|
2020-07-01 09:28:39 +08:00
|
|
|
add_subdirectory(Typing)
|
2020-06-12 08:47:14 +08:00
|
|
|
|
2020-06-19 14:28:30 +08:00
|
|
|
if(NPCOMP_ENABLE_IREE)
|
|
|
|
add_subdirectory(Backend/IREE)
|
|
|
|
endif()
|
|
|
|
|
2020-06-12 08:47:14 +08:00
|
|
|
################################################################################
|
|
|
|
# Setup the initialization target.
|
|
|
|
# This includes conditional dependencies based on whether features are enabled.
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
set(ALL_DEPENDS)
|
|
|
|
if(NPCOMP_ENABLE_IREE)
|
|
|
|
list(APPEND ALL_DEPENDS
|
|
|
|
iree_tools_init_compiler_modules
|
|
|
|
iree_tools_init_iree_passes_and_dialects
|
|
|
|
iree_tools_init_mlir_passes_and_dialects
|
|
|
|
iree_tools_init_targets
|
|
|
|
iree_tools_init_xla_dialects
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
add_mlir_library(NPCOMPInitAll
|
|
|
|
InitAll.cpp
|
|
|
|
|
|
|
|
LINK_LIBS
|
|
|
|
|
2020-07-01 02:22:30 +08:00
|
|
|
PUBLIC
|
2020-06-12 08:47:14 +08:00
|
|
|
# Local depends
|
|
|
|
NPCOMPE2E
|
|
|
|
NPCOMPTCP
|
|
|
|
NPCOMPTCF
|
|
|
|
NPCOMPNpcompRt
|
|
|
|
NPCOMPBasicpyDialect
|
|
|
|
NPCOMPBasicpyPasses
|
|
|
|
NPCOMPNumpyDialect
|
|
|
|
|
|
|
|
${ALL_DEPENDS}
|
|
|
|
)
|