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.

CMakeLists.txt 383 B

6 years ago
12345678910111213
  1. file(GLOB_RECURSE _PREACTIVATE_SRC_LIST RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
  2. "common/*.cc"
  3. "mem_reuse/*.cc"
  4. "pass/*.cc"
  5. "gpu/*.cc"
  6. )
  7. if (ENABLE_D)
  8. file(GLOB_RECURSE _D_SRC_LIST RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "ascend/*.cc")
  9. list(APPEND _PREACTIVATE_SRC_LIST ${_D_SRC_LIST})
  10. endif ()
  11. add_library(_mindspore_pre_activate_obj OBJECT ${_PREACTIVATE_SRC_LIST})