You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

dependency_ms.cmake 662 B

123456789101112131415161718
  1. # Compile MindSpore
  2. message(STATUS "**********begin to compile MindSpore**********")
  3. set(MS_SOURCE_DIR ${CMAKE_SOURCE_DIR}/third_party/mindspore)
  4. message(STATUS "MindSpore dir: ${MS_SOURCE_DIR}")
  5. message(STATUS "MindSpore compile method: -e${MS_BACKEND}")
  6. message(STATUS "MindSpore compile thread num: -j${THREAD_NUM}")
  7. message(STATUS "MindSpore version: -V${MS_VERSION}")
  8. if(MS_VERSION)
  9. set(MS_VERSION_OPTION -V${MS_VERSION})
  10. endif()
  11. execute_process(
  12. COMMAND bash ${MS_SOURCE_DIR}/build.sh -e${MS_BACKEND} ${MS_VERSION_OPTION} -j${THREAD_NUM}
  13. WORKING_DIRECTORY ${MS_SOURCE_DIR}
  14. )
  15. message(STATUS "**********end to compile MindSpore**********")

A lightweight and high-performance service module that helps MindSpore developers efficiently deploy online inference services in the production environment.