File tree Expand file tree Collapse file tree 1 file changed +31
-1
lines changed
backends/arm/tosa/dialect Expand file tree Collapse file tree 1 file changed +31
-1
lines changed Original file line number Diff line number Diff line change 1
1
load("@fbcode_macros//build_defs:python_library.bzl", "python_library")
2
2
3
+ python_library(
4
+ name = "core",
5
+ srcs = [
6
+ "lib.py",
7
+ "ops_registration.py",
8
+ ],
9
+ deps = [
10
+ "//caffe2:torch",
11
+ "//executorch/backends/arm:tosa_specification",
12
+ "//executorch/exir/dialects:lib",
13
+ ],
14
+ )
15
+
16
+ python_library(
17
+ name = "ops",
18
+ srcs = glob(["ops/*.py"]),
19
+ deps = [
20
+ ":core",
21
+ "//caffe2:torch",
22
+ "//executorch/backends/arm:tosa_specification",
23
+ ],
24
+ )
25
+
3
26
python_library(
4
27
name = "lib",
5
- srcs = glob(["*.py"]),
28
+ srcs = ["__init__.py"],
29
+ deps = [
30
+ ":core",
31
+ ":ops",
32
+ "//caffe2:torch",
33
+ "//executorch/backends/arm:tosa_specification",
34
+ "//executorch/exir/dialects:lib",
35
+ ],
6
36
)
You can’t perform that action at this time.
0 commit comments