Skip to content

Commit df96139

Browse files
lucylqfacebook-github-bot
authored andcommitted
Fix arm dependency
Summary: Adding dependencies for #6851 Reviewed By: larryliu0820, kirklandsign Differential Revision: D66039382
1 parent 0692ef4 commit df96139

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

backends/arm/TARGETS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ python_library(
99
typing = True,
1010
deps = [
1111
":arm_backend",
12+
"//executorch/backends/arm/operator_support:operator_support",
1213
"//executorch/backends/arm/_passes:passes",
1314
"//executorch/exir:lib",
1415
],

backends/arm/operator_support/TARGETS

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
load("@fbcode_macros//build_defs:python_library.bzl", "python_library")
2+
3+
python_library(
4+
name = "operator_support",
5+
srcs = glob(["*.py"]),
6+
typing = True,
7+
deps = [
8+
"//executorch/backends/xnnpack/_passes:xnnpack_passes",
9+
"//executorch/exir:lib",
10+
"//executorch/backends/arm:tosa_specification"
11+
],
12+
)

backends/arm/operator_support/tosa_supported_operators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def get_registered_tosa_support_checks(
5858

5959
tosa_support_checks = {}
6060
for target, tosa_check in _tosa_spec_dicts[tosa_spec].items():
61-
tosa_support_checks[target] = tosa_check()
61+
tosa_support_checks[target] = tosa_check
6262

6363
return tosa_support_checks
6464

0 commit comments

Comments
 (0)