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
35 changes: 34 additions & 1 deletion exir/emit/test/BUCK
Original file line number Diff line number Diff line change
@@ -1,4 +1,37 @@
load("@fbcode_macros//build_defs:build_file_migration.bzl", "fbcode_target", "non_fbcode_target")
oncall("executorch")
# add this empty BUCK file to unblock landing. Without this, we get land error:
# "No build file at xplat/executorch/exir/tests/BUCK when resolving target fbsource//xplat/executorch/exir/tests:."

oncall("executorch")

# !!!! fbcode/executorch/exir/emit/test/TARGETS was merged into this file, see https://fburl.com/workplace/xl8l9yuo for more info !!!!

load("@fbcode_macros//build_defs:python_unittest.bzl", "python_unittest")


fbcode_target(_kind = python_unittest,
# @autodeps-skip pybindings don't work well with autodeps
name = "emit",
srcs = [
"test_emit.py",
],
deps = [
"fbsource//third-party/pypi/pytest:pytest",
"//caffe2:torch",
"//caffe2/functorch:functorch_src",
"//executorch/exir:error",
"//executorch/exir:lib",
"//executorch/exir:print_program",
"//executorch/exir:schema",
"//executorch/exir/backend/test/demos/rpc:executor_backend_partitioner",
"//executorch/exir/backend:backend_api",
"//executorch/exir/emit:lib",
"//executorch/exir/passes:const_prop_pass",
"//executorch/exir/passes:constant_prop_pass",
"//executorch/exir/passes:init_mutable_pass",
"//executorch/exir/tests:lib",
"//executorch/exir/tests:models",
"//executorch/extension/pybindings:portable_lib",
"//executorch/runtime:runtime",
],
)
30 changes: 0 additions & 30 deletions exir/emit/test/TARGETS

This file was deleted.

9 changes: 5 additions & 4 deletions exir/operator/TARGETS → exir/operator/BUCK
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
load("@fbcode_macros//build_defs:build_file_migration.bzl", "fbcode_target", "non_fbcode_target")
load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
load("@fbcode_macros//build_defs:python_unittest.bzl", "python_unittest")

oncall("executorch")

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

runtime.python_library(
fbcode_target(_kind = runtime.python_library,
name = "manip",
srcs = [
"manip.py",
Expand All @@ -25,7 +26,7 @@ runtime.python_library(
],
)

runtime.python_library(
fbcode_target(_kind = runtime.python_library,
name = "util",
srcs = [
"util.py",
Expand All @@ -37,7 +38,7 @@ runtime.python_library(
],
)

python_unittest(
fbcode_target(_kind = python_unittest,
name = "test_operator",
srcs = [
"test/test_operator.py",
Expand Down
Loading
Loading