Skip to content
Closed
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
36 changes: 21 additions & 15 deletions backends/arm/TARGETS
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
# Copyright 2025 Arm Limited and/or its affiliates.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
#
# @noautodeps
load("@fbcode_macros//build_defs:python_library.bzl", "python_library")

python_library(
name = "ethosu_partitioner",
srcs = [
"ethosu/__init__.py",
"ethosu/backend.py",
"ethosu/partitioner.py"
],
deps = [
":arm_partitioner",
]
)
python_library(
name = "constants",
srcs = [
Expand All @@ -35,20 +29,32 @@ python_library(
],
)
python_library(
name = "arm_partitioner",
name = "tosa_partitioner",
srcs = [
"tosa_backend.py",
"tosa_partitioner.py",
"tosa/__init__.py",
"tosa/backend.py",
"tosa/partitioner.py",
"vgf_backend.py",
"vgf_partitioner.py",
"vgf_partitioner.py"
],
deps = [
":arm_backend",
":constants",
"//executorch/backends/arm/operator_support:operator_support",
"//executorch/backends/arm/_passes:passes",
"//executorch/exir:lib",
]
)
python_library(
name = "ethosu_partitioner",
srcs = [
"ethosu/__init__.py",
"ethosu/backend.py",
"ethosu/partitioner.py"
],
deps = [
":tosa_partitioner",
]
)
python_library(
name = "arm_backend",
Expand Down
6 changes: 6 additions & 0 deletions backends/arm/test/TARGETS
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright 2025 Arm Limited and/or its affiliates.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

load("@fbcode_macros//build_defs:python_library.bzl", "python_library")
load(":targets.bzl", "define_arm_tests")

Expand Down Expand Up @@ -41,6 +46,7 @@ python_library(
deps = [
":common",
"//executorch/backends/xnnpack/test/tester:tester",
"//executorch/backends/arm:tosa_partitioner",
"//executorch/backends/arm:ethosu_partitioner",
"//executorch/backends/arm/quantizer:lib",
"//executorch/backends/arm:tosa_mapping",
Expand Down
Loading