-
-
Notifications
You must be signed in to change notification settings - Fork 267
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
Disable hl tools by default #2313
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,14 @@ | ||
cmake_minimum_required (VERSION 3.18) | ||
project (HDF5_HL_TOOLS C) | ||
|
||
add_subdirectory (gif2h5) | ||
#----------------------------------------------------------------------------- | ||
#-- Option to build the High level GIF Tools | ||
#----------------------------------------------------------------------------- | ||
if (EXISTS "${HDF5_HL_SOURCE_DIR}/gif2h5" AND IS_DIRECTORY "${HDF5_HL_SOURCE_DIR}/gif2h5") | ||
option (HDF5_BUILD_HL_GIF_TOOLS "Build HDF5 HL GIF Tools" OFF) | ||
if (HDF5_BUILD_HL_GIF_TOOLS) | ||
add_subdirectory (gif2h5) | ||
endif () | ||
endif () | ||
|
||
add_subdirectory (h5watch) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -301,6 +301,16 @@ Bug Fixes since HDF5-1.13.3 release | |||||
|
||||||
Configuration | ||||||
------------- | ||||||
- Change the default for building the high-level tools | ||||||
|
||||||
The gif2hdf5 and hdf2gif high-level tools are deprecated and will be removed | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
in a future release. The default build setting for them have been changed from enabled | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
to disabled. A user can enable the build of these tools if needed. | ||||||
autotools: --enable-hlgiftools | ||||||
cmake: HDF5_BUILD_HL_GIF_TOOLS=ON | ||||||
|
||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
(ADB - 2022/12/16) | ||||||
|
||||||
- Change the settings of the *pc files to use the correct format | ||||||
|
||||||
The pkg-config files generated by CMake uses incorrect syntax for the 'Requires' | ||||||
|
@@ -583,7 +593,7 @@ The issues with the gif tool are: | |||||
HDFFV-10592 CVE-2018-17433 | ||||||
HDFFV-10593 CVE-2018-17436 | ||||||
HDFFV-11048 CVE-2020-10809 | ||||||
These CVE issues have not yet been addressed and can be avoided by not building | ||||||
the gif tool. Disable building the High-Level tools with these options: | ||||||
autotools: --disable-hltools | ||||||
cmake: HDF5_BUILD_HL_TOOLS=OFF | ||||||
These CVE issues have not yet been addressed and are avoided by not building | ||||||
the gif tool by default. Enable building the High-Level tools with these options: | ||||||
autotools: --enable-hltools | ||||||
cmake: HDF5_BUILD_HL_TOOLS=ON |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I wonder if it might be good to call out which tools are getting disabled here by default since I imagine some folks would want to know that building of h5watch is opt-in after this.
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.
Agree. The tools are gif2hdf and hdf2gif as well as h5watch
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.
done