-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWORKSPACE.patch
37 lines (32 loc) · 1.33 KB
/
WORKSPACE.patch
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
diff --git a/externals/drake-distro/WORKSPACE b/WORKSPACE
index 566a0f2..c720778 100644
--- a/externals/drake-distro/WORKSPACE
+++ b/WORKSPACE
@@ -3,7 +3,7 @@
# This file marks a workspace root for the Bazel build system. see
# http://bazel.io/ .
-workspace(name = "drake")
+workspace(name = "drake_external")
# -- START drake externals
# Copy and paste this code section to any external Bazel projects that depend
@@ -11,17 +11,17 @@
# @note See @drake//tools:externals.bzl for more info.
# Set this to the relative path of drake relative to the active WORKSPACE.
-drake_relative_path = "."
+drake_relative_path = "externals/drake-distro"
# Set this to the absolute path of the CMake build/ directory to consume
# drake-visualizer (#5621). Use __workspace_dir__ if needed.
drake_cmake_install_path = "{}/{}/{}".format(__workspace_dir__,
drake_relative_path, "build/install")
-# # Enable this if drake is being consumed as an external local repository.
-# local_repository(
-# name = "drake",
-# path = drake_relative_path,
-# )
+# Enable this if drake is being consumed as an external local repository.
+local_repository(
+ name = "drake",
+ path = drake_relative_path,
+)
# Load external rules that are immediately used to define other externals.
load("@drake//tools:externals_rules.bzl", "drake_external_rule_repositories")