forked from pytorch/executorch
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTARGETS
More file actions
49 lines (43 loc) · 1001 Bytes
/
TARGETS
File metadata and controls
49 lines (43 loc) · 1001 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Any targets that should be shared between fbcode and xplat must be defined in
# targets.bzl. This file can contain fbcode-only targets.
load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
load(":targets.bzl", "define_common_targets")
oncall("executorch")
define_common_targets()
runtime.cxx_python_extension(
name = "pybindings",
srcs = [
"pybindings.cpp",
],
base_module = "executorch.extension.pytree",
deps = [
":pytree",
],
external_deps = [
"pybind11",
],
)
runtime.cxx_python_extension(
name = "pybindings_debug",
srcs = [
"pybindings.cpp",
],
base_module = "executorch.extension.pytree",
deps = [
":pytree",
],
external_deps = [
"pybind11",
],
)
runtime.python_library(
name = "pylib",
srcs = [
"__init__.py",
],
base_module = "executorch.extension.pytree",
deps = [
":pybindings",
"//caffe2:torch",
],
)