Skip to content

Commit

Permalink
Enable pika debug checks on release builds
Browse files Browse the repository at this point in the history
  • Loading branch information
msimberg committed Dec 13, 2024
1 parent d187c66 commit 832d228
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 8 deletions.
5 changes: 4 additions & 1 deletion ci/docker/release-cpu-serial.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spack:
true

specs:
- dla-future@master +miniapps +ci-test +ci-check-threads
- dla-future@master +miniapps +ci-test +ci-check-threads cxxflags=-DPIKA_DEBUG

packages:
all:
Expand All @@ -27,3 +27,6 @@ spack:
intel-oneapi-mkl:
require::
- 'threads=none'
pika:
variants:
- 'cxxflags=-DPIKA_DEBUG'
3 changes: 2 additions & 1 deletion ci/docker/release-cpu-stdexec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spack:
true

specs:
- dla-future@master +miniapps +ci-test +ci-check-threads
- dla-future@master +miniapps +ci-test +ci-check-threads cxxflags=-DPIKA_DEBUG

packages:
all:
Expand All @@ -27,3 +27,4 @@ spack:
pika:
require:
- '+stdexec'
- 'cxxflags=-DPIKA_DEBUG'
5 changes: 4 additions & 1 deletion ci/docker/release-cpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,12 @@ spack:
true

specs:
- dla-future@master +miniapps +ci-test +ci-check-threads
- dla-future@master +miniapps +ci-test +ci-check-threads cxxflags=-DPIKA_DEBUG

packages:
all:
variants:
- 'build_type=Release'
pika:
variants:
- 'cxxflags=-DPIKA_DEBUG'
5 changes: 4 additions & 1 deletion ci/docker/release-cuda-scalapack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,12 @@ spack:
true

specs:
- dla-future@master +cuda +miniapps +scalapack +ci-test
- dla-future@master +cuda +miniapps +scalapack +ci-test cxxflags=-DPIKA_DEBUG

packages:
all:
variants:
- 'build_type=Release'
pika:
variants:
- 'cxxflags=-DPIKA_DEBUG'
3 changes: 2 additions & 1 deletion ci/docker/release-cuda-stdexec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spack:
true

specs:
- dla-future@master +cuda +miniapps +ci-test
- dla-future@master +cuda +miniapps +ci-test cxxflags=-DPIKA_DEBUG

packages:
all:
Expand All @@ -27,3 +27,4 @@ spack:
pika:
require:
- '+stdexec'
- 'cxxflags=-DPIKA_DEBUG'
5 changes: 4 additions & 1 deletion ci/docker/release-cuda.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,12 @@ spack:
true

specs:
- dla-future@master +cuda +miniapps +ci-test
- dla-future@master +cuda +miniapps +ci-test cxxflags=-DPIKA_DEBUG

packages:
all:
variants:
- 'build_type=Release'
pika:
variants:
- 'cxxflags=-DPIKA_DEBUG'
3 changes: 2 additions & 1 deletion ci/docker/release-rocm533-stdexec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spack:
true

specs:
- dla-future@master +rocm amdgpu_target=gfx90a:xnack- +miniapps +ci-test
- dla-future@master +rocm amdgpu_target=gfx90a:xnack- +miniapps +ci-test cxxflags=-DPIKA_DEBUG

packages:
all:
Expand All @@ -29,6 +29,7 @@ spack:
pika:
require:
- '+stdexec'
- 'cxxflags=-DPIKA_DEBUG'
blas:
require:: openblas
lapack:
Expand Down
5 changes: 4 additions & 1 deletion ci/docker/release-rocm533.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spack:
true

specs:
- dla-future@master +rocm amdgpu_target=gfx90a:xnack- +mpi_gpu_aware +miniapps +ci-test
- dla-future@master +rocm amdgpu_target=gfx90a:xnack- +mpi_gpu_aware +miniapps +ci-test cxxflags=-DPIKA_DEBUG

packages:
all:
Expand Down Expand Up @@ -65,3 +65,6 @@ spack:
- spec: hsa-rocr-dev@5.3.3
prefix: /opt/rocm-5.3.3
buildable: false
pika:
variants:
- 'cxxflags=-DPIKA_DEBUG'

0 comments on commit 832d228

Please sign in to comment.