Skip to content

Commit 4ce7078

Browse files
authored
Arm backend: buckify constants.py (#13222)
local testing with buck
1 parent 1a02862 commit 4ce7078

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

backends/arm/TARGETS

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,15 @@ python_library(
1212
":arm_partitioner",
1313
]
1414
)
15+
python_library(
16+
name = "constants",
17+
srcs = [
18+
"constants.py",
19+
],
20+
deps = [
21+
"//executorch/exir/dialects:lib",
22+
],
23+
)
1524
python_library(
1625
name = "arm_partitioner",
1726
srcs = [
@@ -22,6 +31,7 @@ python_library(
2231
],
2332
deps = [
2433
":arm_backend",
34+
":constants",
2535
"//executorch/backends/arm/operator_support:operator_support",
2636
"//executorch/backends/arm/_passes:passes",
2737
"//executorch/exir:lib",
@@ -90,6 +100,7 @@ python_library(
90100
"fbsource//third-party/tosa_tools/v1.00/serialization_lib/python/serializer:serializer",
91101
"fbsource//third-party/tosa_tools/v0.80/serialization_lib/python/tosa:tosa",
92102
"fbsource//third-party/tosa_tools/v1.00/serialization_lib/python/tosa:tosa",
103+
":constants",
93104
":tosa_mapping",
94105
"//executorch/exir/dialects:lib",
95106
],

backends/arm/_passes/TARGETS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ python_library(
44
name = "passes",
55
srcs = glob(["*.py"]),
66
deps = [
7+
"//executorch/backends/arm:constants",
78
"//executorch/backends/arm:tosa_quant_utils",
89
"//executorch/backends/arm:tosa_utils",
910
"//executorch/backends/arm/tosa/dialect:lib",

backends/arm/operator_support/TARGETS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ python_library(
44
name = "operator_support",
55
srcs = glob(["*.py"]),
66
deps = [
7+
"//executorch/backends/arm:constants",
78
"//executorch/backends/arm/_passes:passes",
89
"//executorch/backends/arm:tosa_specification",
910
"//executorch/backends/transforms:remove_getitem_op",

0 commit comments

Comments
 (0)