diff options
author | Ehsan <ehsann@google.com> | 2018-07-11 17:34:38 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-11 17:34:38 -0400 |
commit | aee809d55616ace3a0130ed20a2adb5ca31e32e8 (patch) | |
tree | af9983a1bffc254f574ed3d535f4bec31b7f1864 | |
parent | e63551deacd746d263145a1b96d5ac23ff6211df (diff) |
Update the check-format bot. (#1710)
-rw-r--r-- | kokoro/check-format/build.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/kokoro/check-format/build.sh b/kokoro/check-format/build.sh index c2d64348..2a8d50fb 100644 --- a/kokoro/check-format/build.sh +++ b/kokoro/check-format/build.sh @@ -23,6 +23,12 @@ set -x BUILD_ROOT=$PWD SRC=$PWD/github/SPIRV-Tools +# Get clang-format-5.0.0. +# Once kokoro upgrades the Ubuntu VMs, we can use 'apt-get install clang-format' +curl -L http://releases.llvm.org/5.0.0/clang+llvm-5.0.0-linux-x86_64-ubuntu14.04.tar.xz -o clang-llvm.tar.xz +tar xf clang-llvm.tar.xz +export PATH=$PWD/clang+llvm-5.0.0-linux-x86_64-ubuntu14.04/bin:$PATH + cd $SRC git clone --depth=1 https://github.com/KhronosGroup/SPIRV-Headers external/spirv-headers git clone --depth=1 https://github.com/google/googletest external/googletest |