Paul Wankadia has uploaded this change for review.
On macOS, Bazel doesn't use `BAZEL_CXXOPTS` unless told to eschew Xcode.
Change-Id: Ia836e70dc7404e04c3cc09bc4a7e95ed5baab5a9
---
M .github/workflows/ci-bazel.yml
1 file changed, 11 insertions(+), 0 deletions(-)
diff --git a/.github/workflows/ci-bazel.yml b/.github/workflows/ci-bazel.yml
index b4a3fe9..81901b0 100644
--- a/.github/workflows/ci-bazel.yml
+++ b/.github/workflows/ci-bazel.yml
@@ -13,6 +13,8 @@
BAZELISK_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Abseil requires C++14 at minimum.
BAZEL_CXXOPTS: ${{ startsWith(matrix.os, 'windows-') && '/std:c++14' || '-std=c++14' }}
+ # On macOS, Bazel doesn't use `BAZEL_CXXOPTS` unless told to eschew Xcode.
+ BAZEL_USE_CPP_ONLY_TOOLCHAIN: 1
steps:
- uses: actions/checkout@v2
- run: .github/bazel.sh
To view, visit change 60273. To unsubscribe, or for help writing mail filters, visit settings.
Attention is currently required from: Paul Wankadia, Perry Lorier.
Patch set 1:Code-Review +1
Attention is currently required from: Perry Lorier.
Patch set 1:Code-Review +2
Paul Wankadia submitted this change.
On macOS, Bazel doesn't use `BAZEL_CXXOPTS` unless told to eschew Xcode.
Change-Id: Ia836e70dc7404e04c3cc09bc4a7e95ed5baab5a9
Reviewed-on: https://code-review.googlesource.com/c/re2/+/60273
Reviewed-by: Miguel Young de la Sota <mcy...@google.com>
Reviewed-by: Paul Wankadia <jun...@google.com>
---
M .github/workflows/ci-bazel.yml
1 file changed, 14 insertions(+), 0 deletions(-)
diff --git a/.github/workflows/ci-bazel.yml b/.github/workflows/ci-bazel.yml
index b4a3fe9..81901b0 100644
--- a/.github/workflows/ci-bazel.yml
+++ b/.github/workflows/ci-bazel.yml
@@ -13,6 +13,8 @@
BAZELISK_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Abseil requires C++14 at minimum.
BAZEL_CXXOPTS: ${{ startsWith(matrix.os, 'windows-') && '/std:c++14' || '-std=c++14' }}
+ # On macOS, Bazel doesn't use `BAZEL_CXXOPTS` unless told to eschew Xcode.
+ BAZEL_USE_CPP_ONLY_TOOLCHAIN: 1
steps:
- uses: actions/checkout@v2
- run: .github/bazel.sh
To view, visit change 60273. To unsubscribe, or for help writing mail filters, visit settings.