add_subdirectory(memory) add_subdirectory(platform) add_subdirectory(distributed) add_subdirectory(framework) add_subdirectory(imperative) add_subdirectory(operators) add_subdirectory(pybind) add_subdirectory(eager) add_subdirectory(prim) add_subdirectory(jit) if(WITH_IR) add_subdirectory(ir) add_subdirectory(ir_adaptor) endif() # NOTE: please add subdirectory inference at last. add_subdirectory(inference)