Skip to content

remove cmake restriction, patch x265#215

Merged
WyattBlue merged 2 commits intoPyAV-Org:mainfrom
threexc:tgamblin/cmake-and-x265
Mar 13, 2026
Merged

remove cmake restriction, patch x265#215
WyattBlue merged 2 commits intoPyAV-Org:mainfrom
threexc:tgamblin/cmake-and-x265

Conversation

@threexc
Copy link
Contributor

@threexc threexc commented Mar 10, 2026

This breaks two commits out of #214 (as requested) since they're more broadly applicable. The first commit just unpins the cmake version, since the one listed is fairly old. The second then tweaks the CMake expectations for x265. Both of these together should help the project build with newer tooling going forward and also prime it for adding riscv64 builds (as per #214 ).

We'll need a newer one to use cmake binaries for riscv64.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
@threexc
Copy link
Contributor Author

threexc commented Mar 10, 2026

Hmm, looks like there are some macos errors I'll have to look into...

Fix policy definitions and minimum required CMake version in
CMakeLists.txt so that we can build using riscv64 wheels. Add an extra
check to mimic what the CMP0025 policy used to do for AppleClang.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
@threexc threexc force-pushed the tgamblin/cmake-and-x265 branch from 4778c54 to 0bff12e Compare March 13, 2026 16:41
@threexc
Copy link
Contributor Author

threexc commented Mar 13, 2026

@WyattBlue looks good from here?

@WyattBlue WyattBlue merged commit da443f2 into PyAV-Org:main Mar 13, 2026
9 checks passed
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