Skip to content

Conversation

Andrej730
Copy link

@Andrej730 Andrej730 commented Sep 20, 2025

  1. Now it's possible to pass zstd on Windows to rocksdb cmake without modifying thirdparty.inc / setting environment variables, resolves Support find_package for zstd in cmake on Windows #13948

  2. For consistency changed non-Windows code to look for zstd config package first too and then fallback for module search. Shouldn't hurt and maybe it will be the main way to detect zstd in the future and we'll be able to get rid of findzstd.cmake.

  3. Had an issue running CI on this PR - format-diff.sh was trying to format thirparty.inc with clang-format which didn't worked since this .inc is actually a cmake file. Excluded it from format-diff. Probably, a proper solution would be to rename it to thirdparty.cmake, but I'm not sure about possible implications (maybe someone was modifying thirdparty.inc in their scripts when building rocksdb and renaming it could cause issues).

@meta-cla meta-cla bot added the CLA Signed label Sep 20, 2025
@Andrej730
Copy link
Author

@xingbowang @pdillinger can you please take a look?

@Andrej730
Copy link
Author

huh, check-format step is failing, but it seems unrelated to this PR - check is suggesting to change many unrelated lines and the formatting seems to be not configured - it's suggesting a lot of unnecessary indentation.

@Andrej730
Copy link
Author

Found an issue with format-diff.sh that should resolve problem that CI was indicating, added a note to PR first post.

As it's actually a cmake file and trying to format it with clang-format results in obscure syntax.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support find_package for zstd in cmake on Windows
1 participant