Skip to content

Commit 7fffcf8

Browse files
committed
fix ref
Change-Id: I133d22637f3583d1ee3e8ec44cf1838f2fbcfe57
1 parent b90afe2 commit 7fffcf8

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

.bazelrc

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,4 @@ build --action_env=CC
2424
build --action_env=CXX
2525
build --action_env=LD_LIBRARY_PATH
2626
build --action_env=LLVM_CONFIG
27-
build --action_env=PATH
28-
29-
build --cxxopt=-std=c++17
30-
build --host_cxxopt=-std=c++17
27+
build --action_env=PATH

.github/workflows/main.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
- name: Install System Dependencies
2828
run: |
2929
sudo apt-get update
30+
# https://gcc.gnu.org/projects/cxx-status.html
3031
sudo apt-get install -y gcc-10 g++-10
3132
sudo g++ --version
3233
- name: Setup Bazel
@@ -40,4 +41,8 @@ jobs:
4041
run: |
4142
export CC=/usr/bin/gcc-10
4243
export CXX=/usr/bin/g++-10
43-
bazel build //... -s
44+
bazel build //... \
45+
--compiler=gcc-10 \
46+
--cxxopt='-std=c++17' \
47+
--host_cxxopt='-std=c++17' \
48+
-s

WORKSPACE

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ load(
2424

2525
io_grpc_grpc_java()
2626

27+
# https://github.com/abseil/abseil-cpp/releases?page=3
28+
# Abseil LTS branch, March 2021, Patch 2
2729
http_archive(
2830
name = "com_google_absl",
2931
sha256 = "59b862f50e710277f8ede96f083a5bb8d7c9595376146838b9580be90374ee1f",

0 commit comments

Comments
 (0)