Skip to content

Patch VTK 9.4 build on resolute - #129

Merged
kwabenantim merged 2 commits into
mainfrom
fix/128-installer-error-handling
Aug 4, 2026
Merged

Patch VTK 9.4 build on resolute#129
kwabenantim merged 2 commits into
mainfrom
fix/128-installer-error-handling

Conversation

@kwabenantim

Copy link
Copy Markdown
Member

Fixes #128

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the custom Ubuntu setup and dependency install scripts to support building newer dependency stacks (notably around VTK/netCDF compatibility and tooling needed for patching/version detection), aligning with the portability image maintenance workflow.

Changes:

  • Add patch and pkg-config to Ubuntu 22.04/24.04/26.04 setup scripts.
  • Introduce and conditionally apply a VTK 9.4 patch to handle netCDF’s _FillValueNC_FillValue macro change (netCDF ≥ 4.9.3).
  • Simplify multiple installer scripts by removing && \ chaining (relying on #!/bin/bash -eu for fail-fast behavior).

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
scripts/custom/setup_ubuntu_2604.sh Installs patch/pkg-config needed for applying patches and querying library versions on Ubuntu 26.04 images.
scripts/custom/setup_ubuntu_2404.sh Same tooling additions for Ubuntu 24.04 images.
scripts/custom/setup_ubuntu_2204.sh Same tooling additions for Ubuntu 22.04 images.
scripts/custom/patches/vtk/9.4/netcdf-fillvalue.patch Adds a patch to fix VTK bundled exodusII compilation with netCDF ≥ 4.9.3.
scripts/custom/install_xercesc.sh Removes command chaining while preserving fail-fast behavior under -e.
scripts/custom/install_vtk.sh Adds conditional VTK 9.4 netCDF macro patching and removes command chaining in build steps.
scripts/custom/install_sundials.sh Removes command chaining in build steps.
scripts/custom/install_python.sh Removes command chaining in build steps.
scripts/custom/install_petsc.sh Removes command chaining after PETSc configure invocation.
scripts/custom/install_hdf5.sh Removes command chaining and slightly restructures build directory creation/cd steps.
scripts/custom/install_cmake.sh Removes command chaining in build steps.
scripts/custom/install_boost.sh Removes command chaining in bootstrap/build steps.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread scripts/custom/install_hdf5.sh
@kwabenantim
kwabenantim marked this pull request as ready for review July 29, 2026 06:57
@kwabenantim
kwabenantim requested review from fcooper8472 and jmpf July 29, 2026 06:58
@kwabenantim kwabenantim changed the title Update portability 05 with HDF5 2.1.1 Patch VTK 9.4 build on resolute Jul 29, 2026
@kwabenantim

Copy link
Copy Markdown
Member Author

This patch has been successfully applied in the docker rebuild of the portability-05 image: https://github.com/Chaste/dependency-modules/actions/runs/30409214949

@kwabenantim
kwabenantim merged commit 3f62d9d into main Aug 4, 2026
2 checks passed
@kwabenantim
kwabenantim deleted the fix/128-installer-error-handling branch August 4, 2026 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bump HDF5 to 2.1.1 in portability-05

2 participants