Skip to content

Remove private headers from list of headers installed #5609

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

Open
wants to merge 9 commits into
base: develop
Choose a base branch
from

Conversation

byrnHDF
Copy link
Contributor

@byrnHDF byrnHDF commented Jun 17, 2025

Fixes #5501

@byrnHDF byrnHDF self-assigned this Jun 17, 2025
@byrnHDF byrnHDF added the Priority - 2. Medium It would be nice to have this in the next release label Jun 17, 2025
@byrnHDF byrnHDF added the Component - Build CMake, Autotools label Jun 17, 2025
@github-project-automation github-project-automation bot moved this to To be triaged in HDF5 - TRIAGE & TRACK Jun 17, 2025
@@ -2,7 +2,7 @@ cmake_minimum_required (VERSION 3.18)
project (HDF5_H5FD_SUBFILING C)

# Sanity checking
if (NOT H5FD_HDRS)
if (NOT H5FD_PUBLIC_HDRS)
message (FATAL_ERROR "internal configure error - H5FD_HDRS not set")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Minor - H5FD_HDRS -> H5FD_PUBLIC_HDRS

${HDF5_SRC_DIR}/H5FDonion_index.h
${HDF5_SRC_DIR}/H5FDonion_priv.h
${HDF5_SRC_DIR}/H5FDpkg.h
${HDF5_SRC_DIR}/H5FDprivate.h
Copy link
Collaborator

@jhendersonHDF jhendersonHDF Jun 18, 2025

Choose a reason for hiding this comment

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

May need another review of all the headers, as this list should probably also include H5FDmulti_private.h, H5FDros3_s3comms.h, H5FDstdio_private.h and more. This is one of the reasons I think at least each file driver should be put in its own sub-directory to make this a bit more clear.

@brtnfld brtnfld moved this from To be triaged to Scheduled/On-Deck in HDF5 - TRIAGE & TRACK Jun 19, 2025
${HDF5_SRC_DIR}/H5FDpkg.h
${HDF5_SRC_DIR}/H5FDprivate.h
${HDF5_SRC_DIR}/H5FDros3_s3comms.h
${HDF5_SRC_DIR}/H5FDstdio_int.h
Copy link
Collaborator

Choose a reason for hiding this comment

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

This header file doesn't exist; just needs to be removed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component - Build CMake, Autotools Priority - 2. Medium It would be nice to have this in the next release
Projects
Status: Scheduled/On-Deck
Development

Successfully merging this pull request may close these issues.

Remove private headers from list of headers installed by CMake
2 participants