diff options
author | Brad King <brad.king@kitware.com> | 2022-12-06 13:07:52 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-12-06 13:08:00 (GMT) |
commit | 2f5acfa801382a84b4dea2933ae4565cda239663 (patch) | |
tree | 2e7fa592ac35192eee3045fdcfb084bc365fbea4 /.gitlab | |
parent | e094bff98328226080685e2585fffffbaeee13ea (diff) | |
parent | 7d2979d6eb8ee27a59ca64e897308f87146d2cb6 (diff) | |
download | CMake-2f5acfa801382a84b4dea2933ae4565cda239663.zip CMake-2f5acfa801382a84b4dea2933ae4565cda239663.tar.gz CMake-2f5acfa801382a84b4dea2933ae4565cda239663.tar.bz2 |
Merge topic 'ci-nvhpc'
7d2979d6eb gitlab-ci: Select CUDA version explicitly in NVHPC job
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7987
Diffstat (limited to '.gitlab')
-rw-r--r-- | .gitlab/ci/env_nvhpc_ninja.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.gitlab/ci/env_nvhpc_ninja.sh b/.gitlab/ci/env_nvhpc_ninja.sh index 687403d..bf465d2 100644 --- a/.gitlab/ci/env_nvhpc_ninja.sh +++ b/.gitlab/ci/env_nvhpc_ninja.sh @@ -3,3 +3,7 @@ export CXX=nvc++ export FC=nvfortran export CUDACXX=nvcc export CUDAHOSTCXX=nvc++ +# FIXME(#24225): /opt/nvidia/hpc_sdk/Linux_x86_64/22.9/compilers/bin/nvcc +# selects a CUDA version 10.2 with host driver versions > 520. +# Manually select the preferred nvcc version. +export PATH=/opt/nvidia/hpc_sdk/Linux_x86_64/22.9/cuda/11.7/bin:$PATH |