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:
committed by
GitHub
parent
83a66b4994
commit
1b25dd59f9
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user