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
19 changes: 10 additions & 9 deletions backends/arm/TARGETS → backends/arm/BUCK
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
load("@fbcode_macros//build_defs:build_file_migration.bzl", "fbcode_target", "non_fbcode_target")
# Copyright 2025 Arm Limited and/or its affiliates.
#
# This source code is licensed under the BSD-style license found in the
Expand All @@ -6,7 +7,7 @@
# @noautodeps
load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")

runtime.python_library(
fbcode_target(_kind = runtime.python_library,
name = "constants",
srcs = [
"constants.py",
Expand All @@ -15,7 +16,7 @@ runtime.python_library(
"//executorch/exir/dialects:lib",
],
)
runtime.python_library(
fbcode_target(_kind = runtime.python_library,
name = "common",
srcs = glob(["common/*.py"]),
deps = [
Expand All @@ -25,7 +26,7 @@ runtime.python_library(
],
)

runtime.python_library(
fbcode_target(_kind = runtime.python_library,
name = "arm_compile_spec",
srcs = [
"common/arm_compile_spec.py",
Expand All @@ -42,7 +43,7 @@ runtime.python_library(
"//executorch/backends/arm/_passes:passes",
],
)
runtime.python_library(
fbcode_target(_kind = runtime.python_library,
name = "ethosu",
srcs = [
"ethosu/__init__.py",
Expand All @@ -58,7 +59,7 @@ runtime.python_library(
],
)

runtime.python_library(
fbcode_target(_kind = runtime.python_library,
name = "vgf",
srcs = [
"vgf/__init__.py",
Expand All @@ -74,7 +75,7 @@ runtime.python_library(
],
)

runtime.python_library(
fbcode_target(_kind = runtime.python_library,
name = "process_node",
srcs = ["process_node.py"],
deps = [
Expand All @@ -85,7 +86,7 @@ runtime.python_library(
"//executorch/exir:lib",
],
)
runtime.python_library(
fbcode_target(_kind = runtime.python_library,
name = "arm_vela",
srcs = [
"arm_vela.py",
Expand All @@ -94,7 +95,7 @@ runtime.python_library(
"fbsource//third-party/pypi/ethos-u-vela:ethos-u-vela",
],
)
runtime.python_library(
fbcode_target(_kind = runtime.python_library,
name = "arm_model_evaluator",
srcs = [
"util/arm_model_evaluator.py",
Expand All @@ -103,7 +104,7 @@ runtime.python_library(
"//caffe2:torch",
]
)
runtime.python_library(
fbcode_target(_kind = runtime.python_library,
name = "_factory",
srcs = [
"util/_factory.py"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
load("@fbcode_macros//build_defs:build_file_migration.bzl", "fbcode_target", "non_fbcode_target")
load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")

runtime.python_library(
fbcode_target(_kind = runtime.python_library,
name = "passes",
srcs = glob(["*.py"]),
deps = [
Expand Down
3 changes: 2 additions & 1 deletion backends/arm/debug/TARGETS → backends/arm/debug/BUCK
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
load("@fbcode_macros//build_defs:build_file_migration.bzl", "fbcode_target", "non_fbcode_target")
# @noautodeps
load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")

runtime.python_library(
fbcode_target(_kind = runtime.python_library,
name = "schema",
srcs = [
"__init__.py",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
load("@fbcode_macros//build_defs:build_file_migration.bzl", "fbcode_target", "non_fbcode_target")
load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")

runtime.python_library(
fbcode_target(_kind = runtime.python_library,
name = "operator_support",
srcs = glob(["*.py"]),
deps = [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
load("@fbcode_macros//build_defs:build_file_migration.bzl", "fbcode_target", "non_fbcode_target")
# @noautodeps
load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")

runtime.python_library(
fbcode_target(_kind = runtime.python_library,
name = "node_visitor",
srcs = ["node_visitor.py"],
deps = [
Expand All @@ -11,12 +12,12 @@ runtime.python_library(
],
)

runtime.python_library(
fbcode_target(_kind = runtime.python_library,
name = "operator_validation_utils",
srcs = ["operator_validation_utils.py"],
)

runtime.python_library(
fbcode_target(_kind = runtime.python_library,
name = "ops",
srcs = glob(["op_*.py", "ops_*.py"]),
deps = [
Expand All @@ -30,7 +31,7 @@ runtime.python_library(
],
)

runtime.python_library(
fbcode_target(_kind = runtime.python_library,
name = "lib",
srcs = ["__init__.py"],
deps = [
Expand Down
11 changes: 6 additions & 5 deletions backends/arm/quantizer/TARGETS → backends/arm/quantizer/BUCK
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
load("@fbcode_macros//build_defs:build_file_migration.bzl", "fbcode_target", "non_fbcode_target")
load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")

# Exposed through __init__.py
runtime.python_library(
fbcode_target(_kind = runtime.python_library,
name = "quantization_config",
srcs = ["quantization_config.py"],
deps = [
Expand All @@ -11,7 +12,7 @@ runtime.python_library(
)

# Exposed through __init__.py
runtime.python_library(
fbcode_target(_kind = runtime.python_library,
name = "arm_quantizer",
srcs = ["arm_quantizer.py"],
deps = [
Expand All @@ -23,7 +24,7 @@ runtime.python_library(
],
)

runtime.python_library(
fbcode_target(_kind = runtime.python_library,
name = "quantization_annotator",
srcs = ["quantization_annotator.py"],
deps = [
Expand All @@ -34,7 +35,7 @@ runtime.python_library(
],
)

runtime.python_library(
fbcode_target(_kind = runtime.python_library,
name = "arm_quantizer_utils",
srcs = ["arm_quantizer_utils.py"],
deps = [
Expand All @@ -43,7 +44,7 @@ runtime.python_library(
],
)

runtime.python_library(
fbcode_target(_kind = runtime.python_library,
name = "lib",
srcs = ["__init__.py"],
deps = [
Expand Down
10 changes: 9 additions & 1 deletion backends/arm/runtime/BUCK
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
load("@fbcode_macros//build_defs:build_file_migration.bzl", "fbcode_target", "non_fbcode_target")
load("targets.bzl", "define_common_targets")

oncall("odai_jarvis")

define_common_targets()
non_fbcode_target(_kind = define_common_targets,)

# !!!! fbcode/executorch/backends/arm/runtime/TARGETS was merged into this file, see https://fburl.com/workplace/xl8l9yuo for more info !!!!

load("targets.bzl", "define_common_targets")


fbcode_target(_kind = define_common_targets,)
5 changes: 0 additions & 5 deletions backends/arm/runtime/TARGETS

This file was deleted.

15 changes: 8 additions & 7 deletions backends/arm/test/TARGETS → backends/arm/test/BUCK
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
load("@fbcode_macros//build_defs:build_file_migration.bzl", "fbcode_target", "non_fbcode_target")
# Copyright 2025 Arm Limited and/or its affiliates.
#
# This source code is licensed under the BSD-style license found in the
Expand All @@ -9,7 +10,7 @@ load(":targets.bzl", "define_arm_tests")

oncall("executorch")

runtime.python_library(
fbcode_target(_kind = runtime.python_library,
name = "conftest",
srcs = ["conftest.py"],
deps = [
Expand All @@ -19,7 +20,7 @@ runtime.python_library(
]
)

runtime.python_library(
fbcode_target(_kind = runtime.python_library,
name = "runner_utils",
srcs = ["runner_utils.py"],
resources = {
Expand All @@ -38,7 +39,7 @@ runtime.python_library(
]
)

runtime.python_library(
fbcode_target(_kind = runtime.python_library,
name = "common",
srcs = ["common.py"],
deps = [
Expand All @@ -48,7 +49,7 @@ runtime.python_library(
]
)

runtime.python_library(
fbcode_target(_kind = runtime.python_library,
name = "arm_tester_serialize",
srcs = ["tester/serialize.py"],
deps = [
Expand All @@ -57,7 +58,7 @@ runtime.python_library(
]
)

runtime.python_library(
fbcode_target(_kind = runtime.python_library,
name = "arm_tester_lib",
srcs = glob(["tester/*.py"], exclude = ["tester/serialize.py"]),
deps = [
Expand All @@ -75,12 +76,12 @@ runtime.python_library(
)


runtime.python_library(
fbcode_target(_kind = runtime.python_library,
name = "arm_tester",
deps = [
"//executorch/backends/arm/test:arm_tester_lib",
"//executorch/backends/arm/test:arm_tester_serialize",
]
)

define_arm_tests()
fbcode_target(_kind = define_arm_tests,)
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
load("@fbcode_macros//build_defs:build_file_migration.bzl", "fbcode_target", "non_fbcode_target")
# Copyright 2025 Arm Limited and/or its affiliates.
#
# This source code is licensed under the BSD-style license found in the
Expand All @@ -7,7 +8,7 @@ load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")

oncall("executorch")

runtime.python_library(
fbcode_target(_kind = runtime.python_library,
name = "dw_convs_shared_weights_module",
srcs = ["test_dw_convs_with_shared_weights.py"],
deps = [
Expand Down
15 changes: 8 additions & 7 deletions backends/arm/tosa/TARGETS → backends/arm/tosa/BUCK
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
load("@fbcode_macros//build_defs:build_file_migration.bzl", "fbcode_target", "non_fbcode_target")
load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")

runtime.python_library(
fbcode_target(_kind = runtime.python_library,
name = "schemas",
srcs = ["schemas/__init__.py"],
resources = [
Expand All @@ -9,7 +10,7 @@ runtime.python_library(
visibility = ["PUBLIC"],
)

runtime.python_library(
fbcode_target(_kind = runtime.python_library,
name = "mapping",
srcs = [
"mapping.py",
Expand All @@ -20,7 +21,7 @@ runtime.python_library(
":specification",
],
)
runtime.python_library(
fbcode_target(_kind = runtime.python_library,
name = "specification",
srcs = [
"specification.py",
Expand All @@ -30,7 +31,7 @@ runtime.python_library(
"//executorch/exir/backend:compile_spec_schema",
],
)
runtime.python_library(
fbcode_target(_kind = runtime.python_library,
name = "utils",
srcs = [
"utils.py",
Expand All @@ -40,7 +41,7 @@ runtime.python_library(
],
)

runtime.python_library(
fbcode_target(_kind = runtime.python_library,
name = "tosa",
srcs = [
"__init__.py",
Expand All @@ -50,7 +51,7 @@ runtime.python_library(
],
)

runtime.python_library(
fbcode_target(_kind = runtime.python_library,
name = "compile_spec",
srcs = [
"compile_spec.py",
Expand All @@ -62,7 +63,7 @@ runtime.python_library(
],
)

runtime.python_library(
fbcode_target(_kind = runtime.python_library,
name = "partitioner",
srcs = [
"backend.py",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
load("@fbcode_macros//build_defs:build_file_migration.bzl", "fbcode_target", "non_fbcode_target")
load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")

runtime.python_library(
fbcode_target(_kind = runtime.python_library,
name = "core",
srcs = [
"lib.py",
Expand All @@ -13,7 +14,7 @@ runtime.python_library(
],
)

runtime.python_library(
fbcode_target(_kind = runtime.python_library,
name = "ops",
srcs = glob(["ops/*.py"]),
deps = [
Expand All @@ -23,7 +24,7 @@ runtime.python_library(
],
)

runtime.python_library(
fbcode_target(_kind = runtime.python_library,
name = "lib",
srcs = ["__init__.py"],
deps = [
Expand Down
Loading
Loading