Skip to content

Clean up build-type handling, bump CMake min, sync versions to 1.6#151

Open
jeanbez wants to merge 2 commits into
developfrom
wave-a-cleanup
Open

Clean up build-type handling, bump CMake min, sync versions to 1.6#151
jeanbez wants to merge 2 commits into
developfrom
wave-a-cleanup

Conversation

@jeanbez
Copy link
Copy Markdown
Member

@jeanbez jeanbez commented Apr 21, 2026

Summary

Initial repository-wide cleanup, no functional change.

  • CMakeLists.txt: cmake_minimum_required 3.10 → 3.13 (actual floor required by CMAKE_POLICY_DEFAULT_CMP0077; AMReX and OpenPMD self-enforce 3.18 / 3.22 when their benchmarks are enabled, so leaving the root at 3.13 keeps baseline builds permissive).
  • CMakeLists.txt: project VERSION 1.3.01.6.0.
  • CMakeLists.txt: remove unconditional set(CMAKE_BUILD_TYPE Debug); replace with a default-Release gate that honours user-supplied -DCMAKE_BUILD_TYPE= and multi-config generators.
  • docker/ubuntu-24.04-hdf5-2.0.0/Dockerfile: fix mislabelled base image (ubuntu:focalubuntu:24.04) and kitware apt codename (focalnoble).
  • CITATION.cff, RELEASE.txt: sync release metadata to v.1.6.
  • spack/packages/h5bench/package.py: add versions 1.3–1.6; fix depecrated typo (now correctly deprecates 1.0–1.2).

Test plan

  • CI green across the HDF5 version matrix.
  • Verify cmake -B build defaults to Release.
  • Verify cmake -B build -DCMAKE_BUILD_TYPE=Debug is honoured.
  • Verify docker build docker/ubuntu-24.04-hdf5-2.0.0 succeeds.

- CMakeLists.txt: raise cmake_minimum_required 3.10 -> 3.13 (CMP0077 floor;
  AMReX/OpenPMD self-enforce higher when enabled); project VERSION 1.3.0 -> 1.6.0;
  replace unconditional set(CMAKE_BUILD_TYPE Debug) with a default-Release gate
  that honours user-supplied -DCMAKE_BUILD_TYPE and multi-config generators.
- docker/ubuntu-24.04-hdf5-2.0.0/Dockerfile: fix mislabelled base image
  (ubuntu:focal -> ubuntu:24.04) and kitware apt codename (focal -> noble).
- CITATION.cff / RELEASE.txt: sync release metadata to v.1.6 (commit + date).
- spack/packages/h5bench/package.py: add versions 1.3-1.6; fix "depecrated"
  typo (now deprecates 1.0-1.2).
@jeanbez jeanbez added this to the v.1.7 milestone Apr 22, 2026
@jeanbez jeanbez added the enhancement New feature or request label Apr 22, 2026
@jeanbez jeanbez self-assigned this Apr 22, 2026
@jeanbez jeanbez requested a review from Lurgypai May 6, 2026 16:11
@Lurgypai Lurgypai marked this pull request as ready for review May 12, 2026 17:20
@Lurgypai Lurgypai marked this pull request as draft May 12, 2026 17:25
Copy link
Copy Markdown
Collaborator

@Lurgypai Lurgypai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes look correct.

@jeanbez jeanbez marked this pull request as ready for review May 14, 2026 22:11
The new version of pip on ubuntu 24 throws an error when you try to install with pip outside a venv.
Add the the flag forces global install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants