File tree Expand file tree Collapse file tree
shim_et/xplat/executorch/build Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -100,21 +100,6 @@ set(xnnpack_third_party pthreadpool extension_threadpool cpuinfo)
100100
101101include (cmake/Dependencies.cmake )
102102
103- # Graph runtime sources.
104- list (
105- APPEND
106- _xnnpack_backend__srcs
107- backends/xnnpack/runtime/core/tensor.cpp
108- backends/xnnpack/runtime/core/quant_params.cpp
109- backends/xnnpack/runtime/graph/graph.cpp
110- backends/xnnpack/runtime/graph/graph_builder.cpp
111- backends/xnnpack/runtime/operators/operator.cpp
112- backends/xnnpack/runtime/executor/arena.cpp
113- backends/xnnpack/runtime/executor/shape_env.cpp
114- backends/xnnpack/runtime/plan/xnn_support.cpp
115- backends/xnnpack/runtime/plan/partition.cpp
116- )
117-
118103list (TRANSFORM _xnnpack_backend__srcs PREPEND "${EXECUTORCH_ROOT} /" )
119104add_library (xnnpack_backend ${_xnnpack_backend__srcs} )
120105target_link_libraries (
Original file line number Diff line number Diff line change @@ -41,6 +41,11 @@ def define_common_targets():
4141 headers = native .glob ([
4242 "runtime/*.h" ,
4343 "runtime/profiling/*.h" ,
44+ "runtime/core/*.h" ,
45+ "runtime/graph/*.h" ,
46+ "runtime/operators/*.h" ,
47+ "runtime/executor/*.h" ,
48+ "runtime/plan/*.h" ,
4449 ]),
4550 visibility = ["PUBLIC" ],
4651 preprocessor_flags = [
Original file line number Diff line number Diff line change @@ -480,6 +480,15 @@ XNNPACK_BACKEND_BUCK_SRCS = [
480480 "runtime/XNNWorkspaceManager.cpp" ,
481481 "runtime/XnnpackBackendOptions.cpp" ,
482482 "runtime/profiling/XNNProfiler.cpp" ,
483+ "runtime/core/tensor.cpp" ,
484+ "runtime/core/quant_params.cpp" ,
485+ "runtime/graph/graph.cpp" ,
486+ "runtime/graph/graph_builder.cpp" ,
487+ "runtime/operators/operator.cpp" ,
488+ "runtime/executor/arena.cpp" ,
489+ "runtime/executor/shape_env.cpp" ,
490+ "runtime/plan/partition.cpp" ,
491+ "runtime/plan/xnn_support.cpp" ,
483492]
484493
485494XNNPACK_BACKEND_SRCS = ["backends/xnnpack/" + x for x in XNNPACK_BACKEND_BUCK_SRCS ]
You can’t perform that action at this time.
0 commit comments