Skip to content

Commit

Permalink
chore: add cxxopt std=c++14 to BCR presubmit config
Browse files Browse the repository at this point in the history
For some unknown reason, the BCR Mac jobs require `-std=c++14` when
compiling. Without this, they fail with the error `C++ versions less
than C++14 are not supported.`

This only appears to happen in the BCR presubmits.
  • Loading branch information
rickeylev committed Jul 10, 2024
1 parent b024c5a commit 6a15bbd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .bcr/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,10 @@ bcr_test_module:
name: "Run test module"
platform: ${{ platform }}
bazel: ${{ bazel }}
test_flags:
- "--keep_going"
# Without these cxxopts, BCR's Mac builds fail
- '--cxxopt=-std=c++14'
- '--host_cxxopt=-std=c++14'
test_targets:
- "//..."

0 comments on commit 6a15bbd

Please sign in to comment.