/
WORKSPACE
170 lines (137 loc) · 5.23 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
workspace(name = "swift-mujoco")
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository", "new_git_repository")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
git_repository(
name = "build_bazel_rules_swift",
commit = "3bc7bc164020a842ae08e0cf071ed35f0939dd39",
remote = "https://github.com/bazelbuild/rules_swift.git",
shallow_since = "1654173801 -0500",
)
git_repository(
name = "build_bazel_rules_apple",
commit = "39bf97fb9b2db76bca8fe015b8c72fc92d5c6b81",
remote = "https://github.com/bazelbuild/rules_apple.git",
shallow_since = "1653707025 -0700",
)
load("@build_bazel_rules_apple//apple:repositories.bzl", "apple_rules_dependencies")
apple_rules_dependencies(ignore_version_differences = True)
load("@build_bazel_rules_swift//swift:repositories.bzl", "swift_rules_dependencies")
swift_rules_dependencies()
load("@build_bazel_rules_swift//swift:extras.bzl", "swift_rules_extra_dependencies")
swift_rules_extra_dependencies()
# Mojoco dependency.
new_git_repository(
name = "lodepng",
build_file = "lodepng.BUILD",
commit = "5601b8272a6850b7c5d693dd0c0e16da50be8d8d",
remote = "https://github.com/lvandeve/lodepng.git",
shallow_since = "1641772872 +0100",
)
new_git_repository(
name = "tinyxml2",
build_file = "tinyxml2.BUILD",
commit = "e45d9d16d430a3f5d3eee9fe40d5e194e1e5e63a",
remote = "https://github.com/leethomason/tinyxml2.git",
shallow_since = "1648934420 -0700",
)
new_git_repository(
name = "tinyobjloader",
build_file = "tinyobjloader.BUILD",
commit = "8322e00ae685ea623ab6ac5a6cebcfa2d22fbf93",
remote = "https://github.com/tinyobjloader/tinyobjloader.git",
shallow_since = "1640603894 +0900",
)
new_git_repository(
name = "ccd",
build_file = "ccd.BUILD",
commit = "7931e764a19ef6b21b443376c699bbc9c6d4fba8",
remote = "https://github.com/danfis/libccd.git",
shallow_since = "1545480825 +0100",
)
new_git_repository(
name = "qhull",
build_file = "qhull.BUILD",
commit = "3df027b91202cf179f3fba3c46eebe65bbac3790",
remote = "https://github.com/qhull/qhull.git",
shallow_since = "1636586665 -0500",
)
new_git_repository(
name = "mujoco",
build_file = "mujoco.BUILD",
commit = "573d331b69845c5d651b70f5d1b0f3a0d2a3a233",
remote = "https://github.com/deepmind/mujoco.git",
shallow_since = "1666075079 -0700",
)
# Other helper functions
new_git_repository(
name = "SwiftNumerics",
build_file = "swift-numerics.BUILD",
commit = "4a2cbc186b1f8cbbc1ace12cef43d65784b2559e",
remote = "https://github.com/apple/swift-numerics.git",
shallow_since = "1605460976 -0500",
)
# Swift formatter.
new_git_repository(
name = "SwiftArgumentParser",
build_file = "swift-argument-parser.BUILD",
commit = "82905286cc3f0fa8adc4674bf49437cab65a8373",
remote = "https://github.com/apple/swift-argument-parser.git",
shallow_since = "1647436700 -0500",
)
new_git_repository(
name = "SwiftSystem",
build_file = "swift-system.BUILD",
commit = "836bc4557b74fe6d2660218d56e3ce96aff76574",
remote = "https://github.com/apple/swift-system.git",
shallow_since = "1638472952 -0800",
)
new_git_repository(
name = "SwiftToolsSupportCore",
build_file = "swift-tools-support-core.BUILD",
commit = "b7667f3e266af621e5cc9c77e74cacd8e8c00cb4",
remote = "https://github.com/apple/swift-tools-support-core.git",
shallow_since = "1643831290 -0800",
)
new_git_repository(
name = "SwiftSyntax",
build_file = "swift-syntax.BUILD",
commit = "0b6c22b97f8e9320bca62e82cdbee601cf37ad3f",
remote = "https://github.com/apple/swift-syntax.git",
shallow_since = "1647591231 +0100",
)
new_git_repository(
name = "SwiftFormat",
build_file = "swift-format.BUILD",
commit = "e6b8c60c7671066d229e30efa1e31acf57be412e",
remote = "https://github.com/apple/swift-format.git",
shallow_since = "1647972246 -0700",
)
# buildifier is written in Go and hence needs rules_go to be built.
# See https://github.com/bazelbuild/rules_go for the up to date setup instructions.
http_archive(
name = "io_bazel_rules_go",
sha256 = "d1ffd055969c8f8d431e2d439813e42326961d0942bdf734d2c95dc30c369566",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.24.5/rules_go-v0.24.5.tar.gz",
"https://github.com/bazelbuild/rules_go/releases/download/v0.24.5/rules_go-v0.24.5.tar.gz",
],
)
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
go_rules_dependencies()
go_register_toolchains()
http_archive(
name = "bazel_gazelle",
sha256 = "b85f48fa105c4403326e9525ad2b2cc437babaa6e15a3fc0b1dbab0ab064bc7c",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.22.2/bazel-gazelle-v0.22.2.tar.gz",
"https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.22.2/bazel-gazelle-v0.22.2.tar.gz",
],
)
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies")
gazelle_dependencies()
git_repository(
name = "com_github_bazelbuild_buildtools",
commit = "174cbb4ba7d15a3ad029c2e4ee4f30ea4d76edce",
remote = "https://github.com/bazelbuild/buildtools.git",
shallow_since = "1607975103 +0100",
)