File tree 1 file changed +11
-2
lines changed
1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -587,6 +587,15 @@ if(NOT INTERN_BUILD_MOBILE OR NOT BUILD_CAFFE2_MOBILE)
587
587
${TORCH_SRC_DIR} /csrc/jit/mobile/train/random.cpp
588
588
${TORCH_SRC_DIR} /csrc/jit/mobile/train/sequential.cpp
589
589
${TORCH_SRC_DIR} /csrc/jit/mobile/upgrader_mobile.cpp
590
+ ${TORCH_SRC_DIR} /csrc/api/src/data/datasets/mnist.cpp
591
+ # ${TORCH_SRC_DIR}/csrc/api/src/data/samplers/distributed.cpp
592
+ # ${TORCH_SRC_DIR}/csrc/api/src/data/samplers/random.cpp
593
+ ${TORCH_SRC_DIR} /csrc/api/src/data/samplers/sequential.cpp
594
+ # ${TORCH_SRC_DIR}/csrc/api/src/data/samplers/stream.cpp
595
+ ${TORCH_SRC_DIR} /csrc/api/src/serialize/input -archive.cpp
596
+ ${TORCH_SRC_DIR} /csrc/api/src/serialize/output -archive.cpp
597
+ ${TORCH_SRC_DIR} /csrc/jit/serialization/export_bytecode.cpp
598
+ ${TORCH_SRC_DIR} /csrc/jit/serialization/export_module.cpp
590
599
)
591
600
list (APPEND TORCH_SRCS ${MOBILE_SRCS} )
592
601
list (APPEND TORCH_SRCS ${LITE_EAGER_SYMOBLICATION_SRCS} )
@@ -1074,11 +1083,11 @@ if(BUILD_LITE_INTERPRETER AND SELECTED_OP_LIST)
1074
1083
endif ()
1075
1084
1076
1085
if (NOT INTERN_BUILD_MOBILE OR NOT BUILD_CAFFE2_MOBILE)
1077
- if (NOT NO_API)
1086
+ # if(NOT NO_API)
1078
1087
target_include_directories (torch_cpu PRIVATE
1079
1088
${TORCH_SRC_DIR} /csrc/api
1080
1089
${TORCH_SRC_DIR} /csrc/api/include )
1081
- endif ()
1090
+ # endif()
1082
1091
1083
1092
if (BUILD_SPLIT_CUDA AND MSVC )
1084
1093
# -INCLUDE is used to ensure torch_cuda_cpp/cu are linked against in a project that relies on them.
You can’t perform that action at this time.
0 commit comments