forked from google-deepmind/lab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
WORKSPACE
173 lines (152 loc) · 5.27 KB
/
WORKSPACE
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
workspace(name = "org_deepmind_lab")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "com_google_googletest",
strip_prefix = "googletest-master",
urls = ["https://github.com/google/googletest/archive/master.zip"],
)
http_archive(
name = "rules_cc",
strip_prefix = "rules_cc-master",
urls = ["https://github.com/bazelbuild/rules_cc/archive/master.zip"],
)
http_archive(
name = "bazel_skylib",
strip_prefix = "bazel-skylib-master",
urls = ["https://github.com/bazelbuild/bazel-skylib/archive/master.zip"],
)
http_archive(
name = "com_google_absl",
strip_prefix = "abseil-cpp-master",
urls = ["https://github.com/abseil/abseil-cpp/archive/master.zip"],
)
http_archive(
name = "com_google_absl_py",
strip_prefix = "abseil-py-master",
urls = ["https://github.com/abseil/abseil-py/archive/master.zip"],
)
http_archive(
name = "enum34_archive",
build_file = "@com_google_absl_py//third_party:enum34.BUILD",
sha256 = "8ad8c4783bf61ded74527bffb48ed9b54166685e4230386a9ed9b1279e2df5b1",
urls = [
"https://mirror.bazel.build/pypi.python.org/packages/bf/3e/31d502c25302814a7c2f1d3959d2a3b3f78e509002ba91aea64993936876/enum34-1.1.6.tar.gz",
"https://pypi.python.org/packages/bf/3e/31d502c25302814a7c2f1d3959d2a3b3f78e509002ba91aea64993936876/enum34-1.1.6.tar.gz",
],
)
http_archive(
name = "funcsigs_archive",
build_file = "@//bazel:funcsigs.BUILD",
strip_prefix = "funcsigs-1.0.2",
urls = [
"https://pypi.python.org/packages/94/4a/db842e7a0545de1cdb0439bb80e6e42dfe82aaeaadd4072f2263a4fbed23/funcsigs-1.0.2.tar.gz",
],
)
http_archive(
name = "eigen_archive",
build_file = "@//bazel:eigen.BUILD",
sha256 = "9a01fed6311df359f3f9af119fcf298a3353aef7d1b1bc86f6c8ae0ca6a2f842",
strip_prefix = "/eigen-eigen-5d5dd50b2eb6",
urls = [
"https://mirror.bazel.build/bitbucket.org/eigen/eigen/get/5d5dd50b2eb6.zip",
"https://bitbucket.org/eigen/eigen/get/5d5dd50b2eb6.zip",
],
)
http_archive(
name = "glib_archive",
build_file = "@//bazel:glib.BUILD",
sha256 = "0cbb3d31c9d181bbcc97cba3d9dbe3250f75e2da25e5f7c8bf5a993fe54baf6a",
strip_prefix = "glib-2.55.1",
urls = [
"https://mirror.bazel.build/ftp.gnome.org/pub/gnome/sources/glib/2.55/glib-2.55.1.tar.xz",
"https://ftp.gnome.org/pub/gnome/sources/glib/2.55/glib-2.55.1.tar.xz",
],
)
http_archive(
name = "jpeg_archive",
build_file = "@//bazel:jpeg.BUILD",
sha256 = "1e9793e1c6ba66e7e0b6e5fe7fd0f9e935cc697854d5737adec54d93e5b3f730",
strip_prefix = "jpeg-9c",
urls = ["http://www.ijg.org/files/jpegsrc.v9c.tar.gz"],
)
http_archive(
name = "libxml_archive",
build_file = "@//bazel:libxml.BUILD",
sha256 = "f63c5e7d30362ed28b38bfa1ac6313f9a80230720b7fb6c80575eeab3ff5900c",
strip_prefix = "libxml2-2.9.7",
urls = [
"https://mirror.bazel.build/xmlsoft.org/sources/libxml2-2.9.7.tar.gz",
"http://xmlsoft.org/sources/libxml2-2.9.7.tar.gz",
],
)
http_archive(
name = "png_archive",
build_file = "@//bazel:png.BUILD",
sha256 = "c2c50c13a727af73ecd3fc0167d78592cf5e0bca9611058ca414b6493339c784",
strip_prefix = "libpng-1.6.37",
urls = [
"https://mirror.bazel.build/github.com/glennrp/libpng/archive/v1.6.37.zip",
"https://github.com/glennrp/libpng/archive/v1.6.37.zip",
],
)
http_archive(
name = "zlib_archive",
build_file = "@//bazel:zlib.BUILD",
sha256 = "c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1",
strip_prefix = "zlib-1.2.11",
urls = [
"https://mirror.bazel.build/zlib.net/zlib-1.2.11.tar.gz",
"https://zlib.net/zlib-1.2.11.tar.gz",
],
)
http_archive(
name = "six_archive",
build_file = "@//bazel:six.BUILD",
sha256 = "30639c035cdb23534cd4aa2dd52c3bf48f06e5f4a941509c8bafd8ce11080259",
strip_prefix = "six-1.15.0",
urls = [
"https://mirror.bazel.build/pypi.python.org/packages/source/s/six/six-1.15.0.tar.gz",
"https://pypi.python.org/packages/source/s/six/six-1.15.0.tar.gz",
],
)
http_archive(
name = "lua_archive",
build_file = "@//bazel:lua.BUILD",
sha256 = "2640fc56a795f29d28ef15e13c34a47e223960b0240e8cb0a82d9b0738695333",
strip_prefix = "lua-5.1.5/src",
urls = [
"https://mirror.bazel.build/www.lua.org/ftp/lua-5.1.5.tar.gz",
"https://www.lua.org/ftp/lua-5.1.5.tar.gz",
],
)
http_archive(
name = "dm_env_archive",
build_file = "@//bazel:dm_env.BUILD",
strip_prefix = "dm_env-master",
urls = ["https://github.com/deepmind/dm_env/archive/master.zip"],
)
http_archive(
name = "tree_archive",
repo_mapping = {
"@python_headers": "@python_system",
},
strip_prefix = "tree-master",
urls = ["https://github.com/deepmind/tree/archive/master.zip"],
)
http_archive(
name = "pybind11_archive",
build_file = "@tree_archive//external:pybind11.BUILD",
strip_prefix = "pybind11-master",
urls = ["https://github.com/pybind/pybind11/archive/master.zip"],
)
# TODO: Replace with hermetic build
new_local_repository(
name = "sdl_system",
build_file = "@//bazel:sdl.BUILD",
path = "/usr",
)
new_local_repository(
name = "python_system",
build_file = "@//bazel:python.BUILD",
path = "/",
)