Skip to content

Update OpenEXR to a newer version for prep of OpenImageIO - #400

Open
nick-l-o3de wants to merge 1 commit into
o3de:mainfrom
nick-l-o3de:update_openexr
Open

Update OpenEXR to a newer version for prep of OpenImageIO#400
nick-l-o3de wants to merge 1 commit into
o3de:mainfrom
nick-l-o3de:update_openexr

Conversation

@nick-l-o3de

@nick-l-o3de nick-l-o3de commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

OpenImageIO requires a newer OpenEXR, and there's been a few security issues in OpenEXR anyway, so its about time to update.

This depends on the IMath hash from #394 - as it sits on "dev" bucket. If we redo that one, we'll have to rev this one too.

This first attempt also produces packages for ios and android, which were not previously generated. If this produces problems, I'll re-disable those, but openEXR is used for image dump and capture in the runtime, like, screenshot stuff, (OPTIONALLY) and it would be nice to get those platforms up to spec for it.

@nick-l-o3de
nick-l-o3de force-pushed the update_openexr branch 2 times, most recently from 9fddee9 to 3e01d2a Compare August 15, 2026 16:19
@nick-l-o3de
nick-l-o3de requested a review from a team August 15, 2026 16:22
Updates pull_and_build_from_git to support
cleaning properly files that were added.

Signed-off-by: Nicholas Lawson <70027408+nick-l-o3de@users.noreply.github.com>
Comment on lines +638 to 643
git_clean_command = ['git', 'clean', '-fd']
call_result = subprocess.run(subp_args(git_clean_command),
shell=True,
capture_output=False,
cwd=str(self.src_folder.resolve()))
if call_result.returncode != 0:

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Note, this just adds a clean -fd before the restore command, since restore won't remove untracked files.

Comment on lines +133 to +134
set(_old_ignore_prefix_path ${CMAKE_IGNORE_PREFIX_PATH})
set(CMAKE_IGNORE_PREFIX_PATH ${CMAKE_CURRENT_LIST_DIR})

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Note, this prevents an infinite recursion problem, where this file would find package and its own folder is added to the package prefix paths.

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