-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathBUILD
More file actions
36 lines (32 loc) · 819 Bytes
/
BUILD
File metadata and controls
36 lines (32 loc) · 819 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
load("@rules_python//python:defs.bzl", "py_library", "py_test")
package(
default_visibility = ["//visibility:public"],
)
py_library(
name = "runtime",
srcs = ["__init__.py"],
deps = [
":runner",
],
)
py_library(
name = "runner",
srcs = ["runner.py"],
data = [
"//generative_computing/cc/authoring:constructor_bindings.so",
"//generative_computing/cc/intrinsics:intrinsic_bindings.so",
"//generative_computing/cc/runtime:executor_bindings.so",
],
deps = [
"//generative_computing/proto/v0:computation_py_pb2",
"//generative_computing/proto/v0:executor_py_pb2",
],
)
py_test(
name = "runner_test",
srcs = ["runner_test.py"],
deps = [
":runner",
"//generative_computing/python/authoring",
],
)