Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use --config=omp when building GCC + Everything #154

Merged
merged 1 commit into from
May 5, 2022
Merged
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: 6 additions & 0 deletions driver/configurations/bazel.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,12 @@ set(DASHBOARD_TEST_TAG_FILTERS)

if(EVERYTHING)
set(DASHBOARD_BAZEL_BUILD_OPTIONS "${DASHBOARD_BAZEL_BUILD_OPTIONS} --config=everything")
# TODO(jwnimmer-tri) Once we've finished the Clang 12 upgrade and therefore
# can enable OpenMP on Clang, we should move `--config omp` into bazelrc as
# part of `--config everything`, instead of having special drake-ci logic.
if(COMPILER STREQUAL "gcc")
set(DASHBOARD_BAZEL_BUILD_OPTIONS "${DASHBOARD_BAZEL_BUILD_OPTIONS} --config=omp")
endif()
elseif(GUROBI OR MOSEK OR PACKAGE OR SNOPT)
set(DASHBOARD_TEST_TAG_FILTERS
"-gurobi"
Expand Down