-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathBUILD
50 lines (49 loc) · 1.22 KB
/
BUILD
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
50
load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library")
load("@rules_python//python:defs.bzl", "py_library")
cc_library(
name = "actions",
srcs = [
"src/actions.cc",
"src/state_machine.cc",
"src/file_parsing.cc",
"src/adapter.cc",
],
hdrs = [
"include/state_machine.hh",
"include/file_parsing.hh",
"include/utilities.hh",
"include/action_space.hh",
"include/adapter.hh",
],
strip_include_prefix = "include",
copts = [
"-O2",
"-Wall",
"-std=c++2a",
"-fPIC",
"-I./include"
],
linkopts = [
"-shared",
"-fPIC",
],
linkstatic = False,
)
py_library(
name = "actions_py",
srcs = [
"__init__.py",
],
visibility = ["//visibility:public"],
data = [
":shuffler_deps",
],
)
filegroup(
name = "shuffler_deps",
srcs = [
"unique_passes.txt",
":lists",
":actions",
],
)