summaryrefslogtreecommitdiffhomepage
path: root/kokoro/kythe
diff options
context:
space:
mode:
authorBrad Burlage <brb@google.com>2019-12-11 13:52:48 -0800
committergVisor bot <gvisor-bot@google.com>2019-12-11 14:48:11 -0800
commite690651c67d38c2bd8532ddabd2967ebeef58c7e (patch)
treeeb9c856ff60245b6c7f8ec369426588e904d4302 /kokoro/kythe
parent481dbfa5ab24ec2c0752b9e748d3617285603c4e (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
Diffstat (limited to 'kokoro/kythe')
-rw-r--r--kokoro/kythe/generate_xrefs.sh1
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 \