Skip to content

Conversation

@lgritz
Copy link
Collaborator

@lgritz lgritz commented Jan 3, 2025

Some last minute dependency adjustments before I cut a beta for OSL 1.14.

  • Raise CMake minimum to 3.19 (from 3.15). This is still very conservative -- 4 years old, even more lax than our usual "3 years back" rule.

    Raising to 3.18 matches OIIO 3.0, and compared to 3.15, it adds Cuda support as well as the --debug-find flag. Further raising to 3.19 -- which in 2025 seems prudent, even though it's beyond the version chosen by OIIO 6 months ago -- adds more helpful features, including presets, and Apple Silicon support.

  • Raise OpenImageIO to 2.5 (from 2.4). The current release is 3.0, FYI.

  • Bump LLVM minimum to 11.0 (from 9.0). This is a pretty conservative move, still gives several years of back support, but brings a little code simplification. I expect that next year's OSL will raise the LLVM minimum by several more versions.

Some last minute dependency adjustments before I cut a beta
for OSL 1.14.

* Raise CMake minimum to 3.19 (from 3.15). This is still very
  conservative -- 4 years old, even more lax than our usual "3 years
  back" rule.

  Raising to 3.18 matches OIIO 3.0, and compared to 3.15, it adds Cuda
  support as well as the `--debug-find` flag.  Further raising to 3.19
  -- which in 2025 seems prudent, even though it's beyond the version
  chosen by OIIO 6 months ago -- adds more helpful features, including
  presets, and Apple Silicon support.

* Raise OpenImageIO to 2.5 (from 2.4). The current release is 3.0, FYI.

* Bump LLVM minimum to 11.0 (from 9.0). This is a pretty conservative
  move, still gives several years of back support, but brings a little
  code simplification. I expect that next year's OSL will raise the
  LLVM minimum by several more versions.

Signed-off-by: Larry Gritz <[email protected]>
#ifdef OSL_LLVM_NEW_PASS_MANAGER
# if OSL_LLVM_VERSION <= 110
# error "New pass manager not supported in LLVM 11 and earlier"
# endif
Copy link
Contributor

Choose a reason for hiding this comment

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

This can't be removed yet, since it's <= 11 and not < 11.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I'll revert that, but curiously, the "oldest everything" CI test passed using LLVM 11. That's because this doesn't technically matter -- we only turn on the new pass manager when LLVM version >= 16, and this check merely ensures that if it's on, we're using at least 11. So in a sense, it's redundant (other than to ensure that we don't change the logic about when we use the new pass manager to a version too early).

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good catch, by the way, thanks for looking carefully at this.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Pushed an update

@lgritz lgritz merged commit 635d156 into AcademySoftwareFoundation:main Jan 7, 2025
22 checks passed
@lgritz lgritz deleted the lg-deps branch January 8, 2025 02:59
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