Skip to content
Snippets Groups Projects
Commit 41a285fa authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

CI: optimized tags for build jobs

parent 83e102af
No related branches found
No related tags found
1 merge request!103CI: optimized tags for build jobs
......@@ -36,13 +36,6 @@ stages:
WITH_OPENMP: "yes"
WITH_MPI: "yes"
.cuda_openmp_mpi:
extends: .openmp_mpi
# tags are overridden, not merged...
tags:
- docker
- nvidia
# base for Clang builds
.clang:
stage: build:clang
......@@ -71,6 +64,10 @@ stages:
# running as root does not matter inside Docker containers
- export OMPI_ALLOW_RUN_AS_ROOT=1
- export OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1
# fall back to arch 7.0 when the builder has no GPU to avoid building for all GPU architectures
- if ! nvidia-smi --list-gpus > /dev/null; then
WITH_CUDA_ARCH=7.0;
fi
- mkdir -p "./builddir/$CI_JOB_NAME"
- pushd "./builddir/$CI_JOB_NAME"
- cmake ../..
......@@ -180,9 +177,6 @@ cuda_matrix_tests_Release:
cuda_nontests_Debug:
extends: .build_template
stage: build:cuda
tags:
- docker
- nvidia
variables:
<<: *default_cmake_flags
WITH_CUDA: "yes"
......@@ -195,9 +189,6 @@ cuda_nontests_Debug:
cuda_nontests_Release:
extends: .build_template
stage: build:cuda
tags:
- docker
- nvidia
variables:
<<: *default_cmake_flags
WITH_CUDA: "yes"
......@@ -211,32 +202,32 @@ cuda_nontests_Release:
cuda_mpi_tests_Debug:
extends:
- cuda_tests_Debug
- .cuda_openmp_mpi
- .openmp_mpi
cuda_mpi_tests_Release:
extends:
- cuda_tests_Release
- .cuda_openmp_mpi
- .openmp_mpi
cuda_mpi_matrix_tests_Debug:
extends:
- cuda_matrix_tests_Debug
- .cuda_openmp_mpi
- .openmp_mpi
cuda_mpi_matrix_tests_Release:
extends:
- cuda_matrix_tests_Release
- .cuda_openmp_mpi
- .openmp_mpi
cuda_mpi_nontests_Debug:
extends:
- cuda_nontests_Debug
- .cuda_openmp_mpi
- .openmp_mpi
cuda_mpi_nontests_Release:
extends:
- cuda_nontests_Release
- .cuda_openmp_mpi
- .openmp_mpi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment