forked from RobotLocomotion/drake
-
Notifications
You must be signed in to change notification settings - Fork 1
/
WORKSPACE
31 lines (20 loc) · 1.13 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
# This file marks a workspace root for the Bazel build system.
# See `https://bazel.build/`.
workspace(name = "drake")
load("//tools/workspace:default.bzl", "add_default_workspace")
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")
# 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)