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

Disabled building Benchmarks, Examples, Tools and Python in one half of the CI jobs

The benchmarks, examples, tools or Python bindings are not run by the CI, so
we just check that they can be compiled. But we don't have to do it twice...
parent 008e5442
No related branches found
No related tags found
No related merge requests found
...@@ -20,7 +20,11 @@ stages: ...@@ -20,7 +20,11 @@ stages:
WITH_MIC: "no" WITH_MIC: "no"
WITH_TESTS: "yes" WITH_TESTS: "yes"
WITH_COVERAGE: "no" WITH_COVERAGE: "no"
WITH_EXAMPLES: "yes" # these are built only in the "full" config
WITH_BENCHMARKS: "no"
WITH_EXAMPLES: "no"
WITH_TOOLS: "no"
WITH_PYTHON: "no"
# template for build jobs # template for build jobs
.build_template_def: &build_template .build_template_def: &build_template
...@@ -46,7 +50,10 @@ stages: ...@@ -46,7 +50,10 @@ stages:
-DWITH_MIC=${WITH_MIC} -DWITH_MIC=${WITH_MIC}
-DWITH_TESTS=${WITH_TESTS} -DWITH_TESTS=${WITH_TESTS}
-DWITH_COVERAGE=${WITH_COVERAGE} -DWITH_COVERAGE=${WITH_COVERAGE}
-DWITH_BENCHMARKS=${WITH_BENCHMARKS}
-DWITH_EXAMPLES=${WITH_EXAMPLES} -DWITH_EXAMPLES=${WITH_EXAMPLES}
-DWITH_TOOLS=${WITH_TOOLS}
-DWITH_PYTHON=${WITH_PYTHON}
# - make # - make
# - make test # - make test
# - make install # - make install
...@@ -61,7 +68,7 @@ stages: ...@@ -61,7 +68,7 @@ stages:
# Cuda builds are specified first because they take more time than host-only builds, # Cuda builds are specified first because they take more time than host-only builds,
# which can be allocated on hosts whitout GPUs. # which can be allocated on hosts whitout GPUs.
cuda_Debug: cuda_base_Debug:
<<: *build_template <<: *build_template
tags: tags:
- gpu - gpu
...@@ -70,7 +77,7 @@ cuda_Debug: ...@@ -70,7 +77,7 @@ cuda_Debug:
WITH_CUDA: "yes" WITH_CUDA: "yes"
BUILD_TYPE: Debug BUILD_TYPE: Debug
cuda_Release: cuda_base_Release:
<<: *build_template <<: *build_template
tags: tags:
- gpu - gpu
...@@ -79,7 +86,7 @@ cuda_Release: ...@@ -79,7 +86,7 @@ cuda_Release:
WITH_CUDA: "yes" WITH_CUDA: "yes"
BUILD_TYPE: Release BUILD_TYPE: Release
cuda+openmp_Debug: cuda_full_Debug:
<<: *build_template <<: *build_template
tags: tags:
- openmp - openmp
...@@ -89,8 +96,12 @@ cuda+openmp_Debug: ...@@ -89,8 +96,12 @@ cuda+openmp_Debug:
WITH_OPENMP: "yes" WITH_OPENMP: "yes"
WITH_CUDA: "yes" WITH_CUDA: "yes"
BUILD_TYPE: Debug BUILD_TYPE: Debug
WITH_BENCHMARKS: "yes"
WITH_EXAMPLES: "yes"
WITH_TOOLS: "yes"
WITH_PYTHON: "yes"
cuda+openmp_Release: cuda_full_Release:
<<: *build_template <<: *build_template
tags: tags:
- openmp - openmp
...@@ -100,17 +111,21 @@ cuda+openmp_Release: ...@@ -100,17 +111,21 @@ cuda+openmp_Release:
WITH_OPENMP: "yes" WITH_OPENMP: "yes"
WITH_CUDA: "yes" WITH_CUDA: "yes"
BUILD_TYPE: Release BUILD_TYPE: Release
WITH_BENCHMARKS: "yes"
WITH_EXAMPLES: "yes"
WITH_TOOLS: "yes"
WITH_PYTHON: "yes"
default_Debug: default_base_Debug:
<<: *build_template <<: *build_template
default_Release: default_base_Release:
<<: *build_template <<: *build_template
variables: variables:
<<: *default_cmake_flags <<: *default_cmake_flags
BUILD_TYPE: Release BUILD_TYPE: Release
openmp_Debug: default_full_Debug:
<<: *build_template <<: *build_template
tags: tags:
- openmp - openmp
...@@ -118,8 +133,12 @@ openmp_Debug: ...@@ -118,8 +133,12 @@ openmp_Debug:
<<: *default_cmake_flags <<: *default_cmake_flags
WITH_OPENMP: "yes" WITH_OPENMP: "yes"
BUILD_TYPE: Debug BUILD_TYPE: Debug
WITH_BENCHMARKS: "yes"
WITH_EXAMPLES: "yes"
WITH_TOOLS: "yes"
WITH_PYTHON: "yes"
openmp_Release: default_full_Release:
<<: *build_template <<: *build_template
tags: tags:
- openmp - openmp
...@@ -127,3 +146,7 @@ openmp_Release: ...@@ -127,3 +146,7 @@ openmp_Release:
<<: *default_cmake_flags <<: *default_cmake_flags
WITH_OPENMP: "yes" WITH_OPENMP: "yes"
BUILD_TYPE: Release BUILD_TYPE: Release
WITH_BENCHMARKS: "yes"
WITH_EXAMPLES: "yes"
WITH_TOOLS: "yes"
WITH_PYTHON: "yes"
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