Skip to content

Commit c69a7ab

Browse files
committed
Revert CI upgrade.
1 parent 4b2ac8d commit c69a7ab

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def ClangTidy() {
119119
echo "Running clang-tidy job..."
120120
def container_type = "clang_tidy"
121121
def docker_binary = "docker"
122-
def dockerArgs = "--build-arg CUDA_VERSION=10.1"
122+
def dockerArgs = "--build-arg CUDA_VERSION=9.2"
123123
sh """
124124
${dockerRun} ${container_type} ${docker_binary} ${dockerArgs} python3 tests/ci_build/tidy.py
125125
"""

tests/ci_build/Dockerfile.clang_tidy

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,14 @@ ENV DEBIAN_FRONTEND noninteractive
77
# Install all basic requirements
88
RUN \
99
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 && \
1311
wget -nv -nc https://cmake.org/files/v3.12/cmake-3.12.0-Linux-x86_64.sh --no-check-certificate && \
1412
bash cmake-3.12.0-Linux-x86_64.sh --skip-license --prefix=/usr
1513

1614
# Set default clang-tidy version
1715
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
2018

2119
# Install Python packages
2220
RUN \

0 commit comments

Comments
 (0)