mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
This reverts commit 1797a2035d92d25d3dcc46fd8facdd6569b30c53. Reverted https://github.com/pytorch/pytorch/pull/139217 on behalf of https://github.com/huydhn due to Chatting with @r-barnes, this is still used in lots of place internally ([comment](https://github.com/pytorch/pytorch/pull/139217#issuecomment-2448568071))
19 lines
381 B
CMake
19 lines
381 B
CMake
list(APPEND Caffe2_CPU_SRCS
|
|
utils/string_utils.cc
|
|
utils/threadpool/ThreadPool.cc
|
|
)
|
|
|
|
if(USE_PTHREADPOOL)
|
|
list(APPEND Caffe2_CPU_SRCS
|
|
utils/threadpool/pthreadpool-cpp.cc
|
|
utils/threadpool/thread_pool_guard.cpp
|
|
)
|
|
endif()
|
|
|
|
if(NOT INTERN_BUILD_MOBILE)
|
|
list(APPEND Caffe2_CPU_SRCS
|
|
utils/proto_wrap.cc
|
|
)
|
|
endif()
|
|
set(Caffe2_CPU_SRCS ${Caffe2_CPU_SRCS} PARENT_SCOPE)
|