@@ -32,28 +32,31 @@ EXECUTORCH_SRCS = [
32
32
"kernels/prim_ops/register_prim_ops.cpp" ,
33
33
]
34
34
35
- EXECUTORCH_CORE_SRCS = [
35
+ PROGRAM_NO_PRIM_OPS_SRCS = [
36
+ "method.cpp" ,
37
+ "method_meta.cpp" ,
38
+ "program.cpp" ,
39
+ "tensor_parser_exec_aten.cpp" ,
40
+ ]
41
+
42
+ EXECUTORCH_CORE_SRCS = sorted ([
36
43
"runtime/backend/interface.cpp" ,
37
44
"runtime/core/evalue.cpp" ,
38
45
"runtime/core/exec_aten/util/tensor_shape_to_c_string.cpp" ,
39
46
"runtime/core/exec_aten/util/tensor_util_portable.cpp" ,
40
47
"runtime/core/portable_type/tensor_impl.cpp" ,
41
48
"runtime/core/tag.cpp" ,
42
49
"runtime/core/tensor_layout.cpp" ,
43
- "runtime/executor/method.cpp" ,
44
- "runtime/executor/method_meta.cpp" ,
45
- "runtime/executor/program.cpp" ,
46
- "runtime/executor/pte_data_map.cpp" ,
47
- "runtime/executor/tensor_parser_exec_aten.cpp" ,
48
50
"runtime/executor/tensor_parser_portable.cpp" ,
51
+ "runtime/executor/pte_data_map.cpp" ,
49
52
"runtime/kernel/operator_registry.cpp" ,
50
53
"runtime/platform/abort.cpp" ,
51
54
"runtime/platform/log.cpp" ,
52
55
"runtime/platform/platform.cpp" ,
53
56
"runtime/platform/profiler.cpp" ,
54
57
"runtime/platform/runtime.cpp" ,
55
58
"schema/extended_header.cpp" ,
56
- ]
59
+ ] + [ "runtime/executor/" + x for x in PROGRAM_NO_PRIM_OPS_SRCS ])
57
60
58
61
PORTABLE_KERNELS_SRCS = [
59
62
"kernels/portable/cpu/op__clone_dim_order.cpp" ,
0 commit comments