Loading .gitlab-ci.yml +10 −19 Original line number Diff line number Diff line Loading @@ -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 Loading Loading @@ -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 ../.. Loading Loading @@ -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" Loading @@ -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" Loading @@ -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 Loading Loading
.gitlab-ci.yml +10 −19 Original line number Diff line number Diff line Loading @@ -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 Loading Loading @@ -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 ../.. Loading Loading @@ -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" Loading @@ -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" Loading @@ -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 Loading