diff options
author | Brad Burlage <brb@google.com> | 2019-12-11 13:52:48 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-12-11 14:48:11 -0800 |
commit | e690651c67d38c2bd8532ddabd2967ebeef58c7e (patch) | |
tree | eb9c856ff60245b6c7f8ec369426588e904d4302 | |
parent | 481dbfa5ab24ec2c0752b9e748d3617285603c4e (diff) |
Run kythe build with -std=c++17
We seem to be getting some compiler errors when using the Kythe
extractors.bazelrc.
I'm not able to reproduce this on my local machine, so I'm hoping copying the
cxxopt from gvisor.dev/pr/1350 will fix the build.
PiperOrigin-RevId: 285054258
-rw-r--r-- | kokoro/kythe/generate_xrefs.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kokoro/kythe/generate_xrefs.sh b/kokoro/kythe/generate_xrefs.sh index 49186eeeb..799467a34 100644 --- a/kokoro/kythe/generate_xrefs.sh +++ b/kokoro/kythe/generate_xrefs.sh @@ -46,6 +46,7 @@ bazel \ build \ --override_repository kythe_release="${KYTHE_DIR}" \ --define=kythe_corpus=gvisor.dev \ + --cxxopt=-std=c++17 \ //... "${KYTHE_DIR}/tools/kzip" merge \ |