Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions drake_bazel_download/.bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

# Default to an optimized build.
build --compilation_mode=opt
build --features=prefer_pic_for_opt_binaries

# Default build options.
build --strip=never
Expand All @@ -17,11 +18,6 @@ build --host_cxxopt=-std=c++20
# https://github.com/bazelbuild/bazel/issues/1164
build --action_env=CCACHE_DISABLE=1

# For Ubuntu builds, this flag can cut build times in half. For macOS builds,
# this flag might cause build errors. We suggest turning it on if and only if
# your project doesn't use macOS.
## build --force_pic=yes

# TODO(jwnimmer-tri) We should see if we can reuse more of Drake's
# customizations somehow.

Expand Down
6 changes: 1 addition & 5 deletions drake_bazel_external/.bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

# Default to an optimized build.
build --compilation_mode=opt
build --features=prefer_pic_for_opt_binaries

# Default build options.
build --strip=never
Expand Down Expand Up @@ -30,11 +31,6 @@ build --@drake//tools/flags:public_repo_default=pkgconfig
# version as necessary.
# build --@drake//tools/cc_toolchain:compiler_major=13

# For Ubuntu builds, this flag can cut build times in half. For macOS builds,
# this flag might cause build errors. We suggest turning it on if and only if
# your project doesn't use macOS.
## build --force_pic=yes

# Drake supports the use of proprietary solvers for mathematical programs.
# See https://drake.mit.edu/bazel.html#proprietary-solvers for more info
# and details on how to set them up.
Expand Down
4 changes: 0 additions & 4 deletions drake_bazel_external/.github/ci_build_test
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ build --override_module=drake=drake
# Pass along the compiler version to Drake
# (as suggested in drake_bazel_external/.bazelrc).
build --@drake//tools/cc_toolchain:compiler_major=$(gcc -dumpversion)

# Use force_pic to speed up the build, as this only runs on Ubuntu
# (as suggested in drake_bazel_external/.bazelrc).
build --force_pic=yes
EOF

bazel version
Expand Down
6 changes: 1 addition & 5 deletions drake_bazel_external_legacy/.bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ common --enable_bzlmod=false

# Default to an optimized build.
build --compilation_mode=opt
build --features=prefer_pic_for_opt_binaries

# Default build options.
build --strip=never
Expand All @@ -29,11 +30,6 @@ build --action_env=CCACHE_DISABLE=1
# version as necessary.
# build --@drake//tools/cc_toolchain:compiler_major=13

# For Ubuntu builds, this flag can cut build times in half. For macOS builds,
# this flag might cause build errors. We suggest turning it on if and only if
# your project doesn't use macOS.
## build --force_pic=yes

# TODO(jwnimmer-tri) We should see if we can reuse more of Drake's
# customizations somehow.

Expand Down
4 changes: 0 additions & 4 deletions drake_bazel_external_legacy/.github/ci_build_test
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ cat <<EOF > "user.bazelrc"
# Pass along the compiler version to Drake
# (as suggested in drake_bazel_external/.bazelrc).
build --@drake//tools/cc_toolchain:compiler_major=$(gcc -dumpversion)

# Use force_pic to speed up the build, as this only runs on Ubuntu
# (as suggested in drake_bazel_external/.bazelrc).
build --force_pic=yes
EOF

# Use what we downloaded to drake_bazel_external_legacy/drake,
Expand Down
Loading