forked from RobotLocomotion/drake
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD.bazel
46 lines (41 loc) · 1.44 KB
/
BUILD.bazel
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
# -*- python -*-
load("@drake//tools/install:install.bzl", "install_files")
load("//tools/lint:lint.bzl", "add_lint_tests")
package(default_visibility = ["//visibility:public"])
# Make our package requirements (but not manual scripts) available to
# downstream projects.
exports_files([
"ubuntu/source_distribution/packages-bionic.txt",
"ubuntu/source_distribution/packages-focal.txt",
"ubuntu/binary_distribution/packages-bionic.txt",
"ubuntu/binary_distribution/packages-focal.txt",
"mac/source_distribution/requirements.txt",
"mac/source_distribution/Brewfile",
"mac/binary_distribution/requirements.txt",
"mac/binary_distribution/Brewfile",
])
install_files(
name = "install",
dest = "share/drake/setup",
files = select({
"//tools/cc_toolchain:apple": [
"mac/binary_distribution/Brewfile",
"mac/binary_distribution/install_prereqs.sh",
"mac/binary_distribution/requirements.txt",
],
"//tools/cc_toolchain:linux": [
"ubuntu/binary_distribution/install_prereqs.sh",
"ubuntu/binary_distribution/packages-bionic.txt",
"ubuntu/binary_distribution/packages-focal.txt",
],
"//conditions:default": [],
}),
strip_prefix = [
"mac/binary_distribution",
"ubuntu/binary_distribution",
],
rename = {
"share/drake/setup/install_prereqs.sh": "install_prereqs",
},
)
add_lint_tests()