Skip to content

COMP: Update release-5.4 CastXML binaries to v2026.01.30 - #7221

Merged
hjmjohnson merged 1 commit into
InsightSoftwareConsortium:release-5.4from
hjmjohnson:backport-castxml-2026.01.30-5.4
Nov 20, 2026
Merged

hjmjohnson merged 1 commit into
InsightSoftwareConsortium:release-5.4from
hjmjohnson:backport-castxml-2026.01.30-5.4

Conversation

@hjmjohnson

Copy link
Copy Markdown
Member

Backports the CastXML v2026.01.30 binaries from main (501840f) to
release-5.4. CastXML 0.6.5 cannot parse GCC 14's
<limits>, which the manylinux_2_28 images now use, so Python wrapping
fails for every remote module built against ITK 5.4
(InsightSoftwareConsortium/ITKPythonPackage#306).

Verification

In dockcross/manylinux_2_28-x64 with gcc-toolset-14 (GNU 14.2.1):

CastXML #include <limits>
0.6.5 (release-5.4 today) 20 errors, invalid suffix 'F32' on floating constant
0.6.20260105 (this PR) no errors

With this branch in the same image, ITK 5.4.8 configured with
ITK_WRAP_PYTHON=ON (ITKCommon, ITKImageFilterBase, ITKSmoothing)
downloads castxml-alma-linux-8-x86_64.tar.gz, builds without error,
imports, and runs itk.median_image_filter correctly.

The five SHA256 hashes match the digests GitHub publishes for the
CastXMLSuperbuild v2026.01.30 assets.

What changed

The same pin as main: the v2026.01.30 asset names, SHA256 hashes in place
of SHA512, and a separate _castxml_git_tag for source builds, since the
Superbuild release name is no longer a CastXML tag (from b56081a).
The macOS Intel minimum host version follows main. LLVM for source builds
stays at 18.1.3, as on main.

CastXML 0.6.5 cannot parse the <limits> header of GCC 14, which the
manylinux_2_28 images now use (gcc-toolset-14): "invalid suffix 'F32'
on floating constant" and a _Float32 typedef redefinition. Every Linux
Python wrapping build of a remote module against ITK 5.4 fails.

Backport the CastXML pin from main (501840f): the v2026.01.30
binaries by their new asset names, SHA256 hashes in place of SHA512,
and a separate _castxml_git_tag for source builds, since the
CastXMLSuperbuild release name is no longer a CastXML tag (b56081a).
The hashes match the digests GitHub publishes for each asset.

ITK main wraps with these binaries under GNU 14.2.1 in manylinux_2_28.

See InsightSoftwareConsortium/ITKPythonPackage#306.
@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 Nov 20, 2026
@hjmjohnson
hjmjohnson marked this pull request as ready for review November 20, 2026 03:34
@greptile-apps

greptile-apps Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge.

Summary

Updates the bundled CastXML tools to v2026.01.30 to address Python wrapping failures with GCC 14.

  • ITK wrapping now uses CastXML 2026.01.30 across supported builds.

No actionable issues found.

Reviews (1) · Last reviewed commit: "COMP: Update release-5.4 CastXML binarie..." · Reviewed by Greptile

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