Skip to content

Commit 3b5bb00

Browse files
lucylqfacebook-github-bot
authored andcommitted
Add buck file to selective build (#3812)
Summary: Pull Request resolved: #3812 So we can build in xplat. Also remove unused dependencies to scalar_utils. Reviewed By: larryliu0820 Differential Revision: D57950299 fbshipit-source-id: f47a69a2edd2c8f66de9d9b42565d1f65d2b98c0
1 parent a17d5ff commit 3b5bb00

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

kernels/portable/cpu/util/broadcast_util.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
* LICENSE file in the root directory of this source tree.
77
*/
88

9-
#include <executorch/kernels/portable/cpu/scalar_utils.h>
109
#include <executorch/kernels/portable/cpu/util/repeat_util.h>
1110
#include <executorch/runtime/core/exec_aten/exec_aten.h>
1211
#include <executorch/runtime/core/exec_aten/util/scalar_type_util.h>

kernels/portable/cpu/util/matmul_ops_util.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
#include <cstring>
1010

11-
#include <executorch/kernels/portable/cpu/scalar_utils.h>
1211
#include <executorch/kernels/portable/cpu/util/broadcast_util.h>
1312
#include <executorch/kernels/portable/cpu/util/matmul_ops_util.h>
1413

kernels/portable/cpu/util/targets.bzl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ def define_common_targets():
4444
compiler_flags = ["-Wno-missing-prototypes"],
4545
deps = [
4646
":repeat_util",
47-
"//executorch/kernels/portable/cpu:scalar_utils",
4847
"//executorch/runtime/kernel:kernel_includes",
4948
"//executorch/runtime/core/exec_aten/util:tensor_util",
5049
],
@@ -114,7 +113,6 @@ def define_common_targets():
114113
deps = [
115114
":broadcast_util",
116115
"//executorch/runtime/kernel:kernel_includes",
117-
"//executorch/kernels/portable/cpu:scalar_utils",
118116
],
119117
visibility = ["//executorch/kernels/portable/cpu/...", "//executorch/kernels/optimized/cpu/..."],
120118
)
@@ -151,7 +149,6 @@ def define_common_targets():
151149
"transpose_util.h",
152150
],
153151
deps = [
154-
"//executorch/kernels/portable/cpu:scalar_utils",
155152
"//executorch/runtime/kernel:kernel_includes",
156153
"//executorch/runtime/core/exec_aten/util:tensor_util",
157154
],

0 commit comments

Comments
 (0)