Skip to content

OpenEXRCore: avoid direct dependency on imath#2198

Merged
cary-ilm merged 1 commit intoAcademySoftwareFoundation:mainfrom
aras-p:fix_exrcore_imath_dep
Nov 17, 2025
Merged

OpenEXRCore: avoid direct dependency on imath#2198
cary-ilm merged 1 commit intoAcademySoftwareFoundation:mainfrom
aras-p:fix_exrcore_imath_dep

Conversation

@aras-p
Copy link
Contributor

@aras-p aras-p commented Nov 16, 2025

All other Core code uses internal_coding.h functions half_to_float & float_to_half, in order to make it compile when IMath is not present at all; follow the same pattern. This dependency was accidentally introduced in #2174 and #2126. For any regular OpenEXR build this is not a problem; only becomes a problem if someone manually builds OpenEXRCore without IMath.

All other Core code uses internal_coding.h functions
half_to_float & float_to_half, in order to make it compile
when IMath is not present at all, follow the same pattern.

This dependency was accidentally introduced in AcademySoftwareFoundation#2174 and AcademySoftwareFoundation#2126

Signed-off-by: Aras Pranckevicius <aras@nesnausk.org>
@cary-ilm cary-ilm merged commit 6297537 into AcademySoftwareFoundation:main Nov 17, 2025
49 checks passed
cary-ilm pushed a commit that referenced this pull request Nov 17, 2025
All other Core code uses internal_coding.h functions
half_to_float & float_to_half, in order to make it compile
when IMath is not present at all, follow the same pattern.

This dependency was accidentally introduced in #2174 and #2126

Signed-off-by: Aras Pranckevicius <aras@nesnausk.org>
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.

2 participants