Skip to content

Commit

Permalink
remove backward-cpp tools (#3480)
Browse files Browse the repository at this point in the history
  • Loading branch information
denghuilu authored Jan 13, 2024
1 parent be507d6 commit 781e533
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 4,966 deletions.
5 changes: 1 addition & 4 deletions source/module_base/module_container/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ set(ATen_CUDA_DEPENDENCY_LIBS)
set(ATen_ROCM_DEPENDENCY_LIBS)

add_subdirectory(base/core)
add_subdirectory(base/third_party/backward-cpp)

add_subdirectory(ATen/ops)
add_subdirectory(ATen/core)
Expand All @@ -20,9 +19,7 @@ if(USE_ROCM)
set(ATen_ROCM_DEPENDENCY_LIBS container_rocm)
endif()

add_library(container OBJECT ${ATen_CPU_SRCS} ${ATen_CUDA_SRCS} ${BACKWARD_ENABLE})
target_link_libraries(container PUBLIC ${BACKWARD_LIBRARIES})
target_compile_definitions(container PUBLIC ${BACKWARD_DEFINITIONS})
add_library(container OBJECT ${ATen_CPU_SRCS} ${ATen_CUDA_SRCS})

target_link_libraries(container PUBLIC
${ATen_CPU_DEPENDENCY_LIBS} ${ATen_CUDA_DEPENDENCY_LIBS} ${ATen_ROCM_DEPENDENCY_LIBS})
Expand Down

This file was deleted.

Loading

0 comments on commit 781e533

Please sign in to comment.