Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 35 additions & 25 deletions backends/arm/TARGETS
Original file line number Diff line number Diff line change
Expand Up @@ -6,29 +6,6 @@
# @noautodeps
load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")

runtime.python_library(
name = "ethosu_partitioner",
srcs = [
"ethosu/__init__.py",
"ethosu/backend.py",
"ethosu/partitioner.py"
],
deps = [
":arm_vela",
"//executorch/backends/arm/tosa:arm_partitioner",
]
)
runtime.python_library(
name = "vgf_partitioner",
srcs = [
"vgf/__init__.py",
"vgf/backend.py",
"vgf/partitioner.py"
],
deps = [
"//executorch/backends/arm/tosa:arm_partitioner",
]
)
runtime.python_library(
name = "constants",
srcs = [
Expand All @@ -51,10 +28,11 @@ runtime.python_library(
"//executorch/exir:lib",
],
)

runtime.python_library(
name = "arm_backend",
name = "arm_compile_spec",
srcs = [
"arm_backend.py",
"common/arm_compile_spec.py",
],
deps = [
"fbsource//third-party/pypi/flatbuffers:flatbuffers",
Expand All @@ -64,11 +42,43 @@ runtime.python_library(
"fbsource//third-party/tosa_tools/v0.80/serialization_lib/python/tosa:tosa",
"fbsource//third-party/tosa_tools/v1.00/serialization_lib/python/tosa:tosa",
":process_node",
"//executorch/exir/backend:compile_spec_schema",
"//executorch/backends/arm/operators:lib",
"//executorch/backends/arm/operators:node_visitor",
"//executorch/backends/arm/_passes:passes",
],
)
runtime.python_library(
name = "ethosu",
srcs = [
"ethosu/__init__.py",
"ethosu/backend.py",
"ethosu/compile_spec.py",
"ethosu/partitioner.py",
],
deps = [
":arm_compile_spec",
":arm_vela",
"//executorch/backends/arm/tosa:specification",
"//executorch/backends/arm/tosa:partitioner",
],
)

runtime.python_library(
name = "vgf",
srcs = [
"vgf/__init__.py",
"vgf/backend.py",
"vgf/compile_spec.py",
"vgf/partitioner.py",
Comment on lines +70 to +73
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is fine as long as vgf/TARGETS doesn't exist

],
deps = [
":arm_compile_spec",
"//executorch/backends/arm/tosa:specification",
"//executorch/backends/arm/tosa:partitioner",
],
)

runtime.python_library(
name = "process_node",
srcs = ["process_node.py"],
Expand Down
245 changes: 0 additions & 245 deletions backends/arm/arm_backend.py

This file was deleted.

Loading
Loading