forked from RobotLocomotion/drake
-
Notifications
You must be signed in to change notification settings - Fork 0
/
WORKSPACE
36 lines (25 loc) · 1.32 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
# This file marks a workspace root for the Bazel build system.
# See `https://bazel.build/`.
#
# When bzlmod is disabled, only this file is used. The related files
# MODULE.bazel and WORKSPACE.bzlmod are NOT used.
#
# When bzlmod is enabled, this file is ignored.
workspace(name = "drake")
load("//tools/workspace:default.bzl", "add_default_workspace")
add_default_workspace(bzlmod = False)
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.4")
# 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)