forked from RobotLocomotion/drake
-
Notifications
You must be signed in to change notification settings - Fork 0
/
WORKSPACE
42 lines (30 loc) · 1.38 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
# This file marks a workspace root for the Bazel build system.
# See `https://bazel.build/`.
workspace(name = "drake")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
load("//tools/workspace:default.bzl", "add_default_workspace")
load(
"@drake//tools/workspace:pkg_config.bzl",
"pkg_config_repository",
)
add_default_workspace()
load("@build_bazel_apple_support//crosstool:setup.bzl", "apple_cc_configure")
apple_cc_configure()
# Add some special heuristic logic for using CLion with Drake.
load("//tools/clion:repository.bzl", "drake_clion_environment")
drake_clion_environment()
load("@bazel_skylib//lib:versions.bzl", "versions")
pkg_config_repository(
name = "bullet",
# licenses = ["ignore"],
modname = "bullet",
)
# This needs to be in WORKSPACE or a repository rule for native.bazel_version
# to actually be defined. The minimum_bazel_version value should match the
# version passed to the find_package(Bazel) call in the root CMakeLists.txt.
versions.check(minimum_bazel_version = "7.1")
# The cargo_universe programs are only used by Drake's new_release tooling, not
# by any compilation rules. As such, we can put it directly into the WORKSPACE
# instead of into our `//tools/workspace:default.bzl` repositories.
load("@rules_rust//crate_universe:repositories.bzl", "crate_universe_dependencies") # noqa
crate_universe_dependencies(bootstrap = True)