forked from google-deepmind/lab2d
-
Notifications
You must be signed in to change notification settings - Fork 0
/
WORKSPACE
144 lines (122 loc) · 4.37 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
workspace(name = "org_deepmind_lab2d")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
load("@//:python_system.bzl", "python_repo")
http_archive(
name = "com_google_googletest",
strip_prefix = "googletest-main",
urls = ["https://github.com/google/googletest/archive/main.zip"],
)
http_archive(
name = "com_google_benchmark",
strip_prefix = "benchmark-main",
urls = ["https://github.com/google/benchmark/archive/main.zip"],
)
http_archive(
name = "rules_cc",
strip_prefix = "rules_cc-main",
urls = ["https://github.com/bazelbuild/rules_cc/archive/main.zip"],
)
http_archive(
name = "rules_python",
strip_prefix = "rules_python-main",
url = "https://github.com/bazelbuild/rules_python/archive/main.zip",
)
http_archive(
name = "bazel_skylib",
strip_prefix = "bazel-skylib-main",
urls = ["https://github.com/bazelbuild/bazel-skylib/archive/main.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-main",
urls = ["https://github.com/abseil/abseil-py/archive/main.zip"],
)
http_archive(
name = "eigen_archive",
build_file = "@//bazel:eigen.BUILD",
sha256 = "515b3c266d798f3a112efe781dda0cf1aef7bd73f6864d8f4f16129310ae1fdf",
strip_prefix = "eigen-b02c384ef4e8eba7b8bdef16f9dc6f8f4d6a6b2b",
urls = [
"https://gitlab.com/libeigen/eigen/-/archive/b02c384ef4e8eba7b8bdef16f9dc6f8f4d6a6b2b/eigen-b02c384ef4e8eba7b8bdef16f9dc6f8f4d6a6b2b.tar.gz",
"https://storage.googleapis.com/mirror.tensorflow.org/gitlab.com/libeigen/eigen/-/archive/b02c384ef4e8eba7b8bdef16f9dc6f8f4d6a6b2b/eigen-b02c384ef4e8eba7b8bdef16f9dc6f8f4d6a6b2b.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 = "lua5_1_archive",
build_file = "@//bazel:lua5_1.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 = "lua5_2_archive",
build_file = "@//bazel:lua5_2.BUILD",
strip_prefix = "lua-5.2.4/src",
urls = [
"https://mirror.bazel.build/www.lua.org/ftp/lua-5.2.4.tar.gz",
"https://www.lua.org/ftp/lua-5.2.4.tar.gz",
],
)
http_archive(
name = "luajit_archive",
build_file = "@//bazel:luajit.BUILD",
strip_prefix = "LuaJIT-2.1",
urls = ["https://github.com/LuaJIT/LuaJIT/archive/v2.1.tar.gz"],
)
http_archive(
name = "dm_env_archive",
build_file = "@//bazel:dm_env.BUILD",
strip_prefix = "dm_env-3c6844db2aa4ed5994b2c45dbfd9f31ad948fbb8",
urls = ["https://github.com/deepmind/dm_env/archive/3c6844db2aa4ed5994b2c45dbfd9f31ad948fbb8.zip"],
)
http_archive(
name = "tree_archive",
build_file = "@//bazel:tree.BUILD",
strip_prefix = "tree-master",
urls = ["https://github.com/deepmind/tree/archive/master.zip"],
)
http_archive(
name = "pybind11_archive",
build_file = "@//bazel:pybind11.BUILD",
strip_prefix = "pybind11-master",
urls = ["https://github.com/pybind/pybind11/archive/master.zip"],
)
http_archive(
name = "build_bazel_apple_support",
sha256 = "9f7bb62c3ae889e0eae8c18458fd8764e2e537687d9a1d85885d6af980e4fc31",
url = "https://github.com/bazelbuild/apple_support/releases/download/1.6.0/apple_support.1.6.0.tar.gz",
)
load("@build_bazel_apple_support//lib:repositories.bzl", "apple_support_dependencies")
apple_support_dependencies()
python_repo(
name = "python_system",
)
register_toolchains("@python_system//:python_toolchain")