Use CUDA 11 in clang-tidy (#7701)

* Show command args when clang-tidy fails

* Add option to specify CUDA args

* Use clang-tidy 11

* [CI] Use CUDA 11
This commit is contained in:
Philip Hyunsu Cho
2022-02-24 15:15:07 -08:00
committed by GitHub
parent 83a66b4994
commit 1b25dd59f9
3 changed files with 17 additions and 9 deletions

4
Jenkinsfile vendored
View File

@@ -123,9 +123,9 @@ def ClangTidy() {
echo "Running clang-tidy job..."
def container_type = "clang_tidy"
def docker_binary = "docker"
def dockerArgs = "--build-arg CUDA_VERSION_ARG=10.1"
def dockerArgs = "--build-arg CUDA_VERSION_ARG=11.0"
sh """
${dockerRun} ${container_type} ${docker_binary} ${dockerArgs} python3 tests/ci_build/tidy.py
${dockerRun} ${container_type} ${docker_binary} ${dockerArgs} python3 tests/ci_build/tidy.py --cuda-archs 75
"""
deleteDir()
}