Skip to content

Commit 48b8cc0

Browse files
authored
adjust compatibility for the cortex_m backend
Differential Revision: D76128868 Pull Request resolved: #11440
1 parent cba011f commit 48b8cc0

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

backends/cortex_m/ops/targets.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ def define_common_targets():
4545
"//executorch/...",
4646
"@EXECUTORCH_CLIENTS",
4747
],
48+
platforms = CXX,
4849
exported_deps = all_op_targets,
4950
)
5051

backends/cortex_m/test/targets.bzl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
# LICENSE file in the root directory of this source tree.
66

77
load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
8+
load("@fbsource//tools/build_defs:platform_defs.bzl", "CXX")
89

910
OPERATORS = [
1011
"quantize_per_tensor",
@@ -17,6 +18,7 @@ def define_operator_test_target(op):
1718
srcs = [
1819
"op_{}_test.cpp".format(op),
1920
],
21+
platforms = CXX,
2022
deps = [
2123
"//executorch/runtime/kernel:kernel_includes",
2224
"//executorch/kernels/test:test_util",

0 commit comments

Comments
 (0)