Skip to content

Commit

Permalink
Fix CI timeout issues
Browse files Browse the repository at this point in the history
Clang with UBSAN takes 3 to 10 min to compile each Ekin kernel. GCC
builds with maxset can last for more than 1 hour due to wait times
when downloading Docker images, assembling the code coverage report,
or uploading the job artifacts.
  • Loading branch information
jngrad committed Aug 23, 2024
1 parent a7b1c0e commit 36d5065
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ cuda12-coverage:
with_stokesian_dynamics: 'true'
script:
- bash maintainer/CI/build_cmake.sh
timeout: 90m
tags:
- espresso
- cuda
Expand Down Expand Up @@ -252,6 +253,7 @@ cuda12-maxset:
paths:
- build/
expire_in: 1 week
timeout: 90m
tags:
- espresso
- cuda
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,11 @@ foreach(precision double_precision single_precision)
FrictionCouplingKernel_${precision}.cpp
FixedFlux_${precision}.cpp
Dirichlet_${precision}.cpp)
# disable UBSAN on large files due to excessive compile times
set_source_files_properties(
AdvectiveFluxKernel_${precision}.cpp
DiffusiveFluxKernelWithElectrostatic_${precision}.cpp
DiffusiveFluxKernelWithElectrostaticThermalized_${precision}.cpp
TARGET_DIRECTORY espresso_walberla PROPERTIES COMPILE_FLAGS
-fno-sanitize=undefined)
endforeach()

0 comments on commit 36d5065

Please sign in to comment.