File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ def ClangTidy() {
119
119
echo " Running clang-tidy job..."
120
120
def container_type = " clang_tidy"
121
121
def docker_binary = " docker"
122
- def dockerArgs = " --build-arg CUDA_VERSION=10.1 "
122
+ def dockerArgs = " --build-arg CUDA_VERSION=9.2 "
123
123
sh """
124
124
${ dockerRun} ${ container_type} ${ docker_binary} ${ dockerArgs} python3 tests/ci_build/tidy.py
125
125
"""
Original file line number Diff line number Diff line change @@ -7,16 +7,14 @@ ENV DEBIAN_FRONTEND noninteractive
7
7
# Install all basic requirements
8
8
RUN \
9
9
apt-get update && \
10
- wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - && \
11
- add-apt-repository -u 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic main' && \
12
- apt-get install -y tar unzip wget git build-essential python3 python3-pip llvm-10 clang-tidy-10 clang-10 && \
10
+ apt-get install -y tar unzip wget git build-essential python3 python3-pip llvm-7 clang-tidy-7 clang-7 && \
13
11
wget -nv -nc https://cmake.org/files/v3.12/cmake-3.12.0-Linux-x86_64.sh --no-check-certificate && \
14
12
bash cmake-3.12.0-Linux-x86_64.sh --skip-license --prefix=/usr
15
13
16
14
# Set default clang-tidy version
17
15
RUN \
18
- update-alternatives --install /usr/bin/clang-tidy clang-tidy /usr/bin/clang-tidy-10 100 && \
19
- update-alternatives --install /usr/bin/clang clang /usr/bin/clang-10 100
16
+ update-alternatives --install /usr/bin/clang-tidy clang-tidy /usr/bin/clang-tidy-7 100 && \
17
+ update-alternatives --install /usr/bin/clang clang /usr/bin/clang-7 100
20
18
21
19
# Install Python packages
22
20
RUN \
You can’t perform that action at this time.
0 commit comments