Skip to content

COMP: Build the release-5.4 examples against ITK release-5.4 - #480

Merged
hjmjohnson merged 1 commit into
InsightSoftwareConsortium:release-5.4from
hjmjohnson:comp-release54-ci-itk-pin
Sep 12, 2026
Merged

hjmjohnson merged 1 commit into
InsightSoftwareConsortium:release-5.4from
hjmjohnson:comp-release54-ci-itk-pin

Conversation

@hjmjohnson

@hjmjohnson hjmjohnson commented Sep 12, 2026

Copy link
Copy Markdown
Member

The release-5.4 branch holds the examples that still build against ITK 5.x, but its CI checks out ITK main. Point itk-git-tag at release-5.4 so the branch is tested against the ITK it targets.

Why this branch exists and why the pin matters

main now builds only against ITK 6: every example links ITK::<Name>Module interface targets, which ITK 5.x does not export. release-5.4 was branched at b0679d89, the last commit that still configures and builds with ITK 5.x.

Verified against ITK 5.4.7: that commit builds completely (0 failed targets, 346 executables) and its test suite passes 370 of 370. The commit immediately after it fails with 346 missing-target errors.

Without this pin, release-5.4 CI would build these ITK 5.x examples against ITK main, which is neither what the branch is for nor what a 5.4 user compiles.

This branch holds the examples that still build with ITK 5.x, so its CI
must check out ITK's release-5.4 rather than main. Against ITK main these
examples use the pre-namespace target names, which is not what a 5.4
user builds.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S5zzoU6yyUwdLEvjM2s6iS
@github-actions github-actions Bot added type:Compiler Compiler support or related warnings type:Infrastructure Infrastructure/ecosystem related changes, such as CMake or buildbots labels Sep 12, 2026
@hjmjohnson
hjmjohnson marked this pull request as ready for review September 12, 2026 13:58
@hjmjohnson
hjmjohnson merged commit 7cc2164 into InsightSoftwareConsortium:release-5.4 Sep 12, 2026
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:Compiler Compiler support or related warnings type:Infrastructure Infrastructure/ecosystem related changes, such as CMake or buildbots

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants