-
-
Notifications
You must be signed in to change notification settings - Fork 276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CMake: (fix) Szip / libaec filter #3035
Conversation
jwsblokland
commented
Jun 2, 2023
- Fixed the cmake configuration for the filter Szip / libaec. Now, the decoding of this filter is properly configured and included in the HDF5 library.
CMakeFilters.cmake
Outdated
endif () | ||
if (SZIP_FOUND) | ||
set (H5_HAVE_FILTER_SZIP 1) | ||
set (H5_HAVE_SZLIB_H 1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually these first three set routines should be collated into the last if (SZIP_FOUND) block to have one source of these settings.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, that is a good idea. I forced pushed this modification.
Would it be possible to test szip/libaec compression via Github actions on a more structure level? In this case, it was a bit of luck I catch this issue while working on improving the current ROS3 implementation by switching on both the encoding and decoding functionality of th szip/libaec filter.
- Fixed the cmake configuration for the filter Szip / libaec. Now, the decoding of this filter is properly configured and included in the HDF5 library.
0a0a25c
to
6c6cb3e
Compare
Looks great! |
For consistency - would you mind moving/collating the similar three lines in the zlib code (see lines 94-96) |
- Improved the cmake configuration for the filter zlib.
Sure no problem. I have pushed the changes. I noticed that lines 113-115 could potentially be moved to the bottom if statement if we can assume that |