Skip to content

Commit

Permalink
Fix issues with merge from develop
Browse files Browse the repository at this point in the history
  • Loading branch information
fortnern committed Jan 16, 2025
1 parent ea3073c commit 7cff84a
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 106 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/main-cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -238,14 +238,13 @@ jobs:
-DHDF5_BUILD_FORTRAN:BOOL=OFF \
-DHDF5_BUILD_JAVA:BOOL=OFF \
-DHDF5_BUILD_HL_LIB:BOOL=OFF \
-DHDF5_BUILD_DOC:BOOL=OFF \
-DLIBAEC_USE_LOCALCONTENT:BOOL=${{ matrix.localaec }} \
-DZLIB_USE_LOCALCONTENT:BOOL=${{ matrix.localzlib }} \
-DHDF5_BUILD_DOC=OFF \
-DLIBAEC_USE_LOCALCONTENT=${{ matrix.localaec }} \
-DZLIB_USE_LOCALCONTENT=${{ matrix.localzlib }} \
-DHDF5_ENABLE_MIRROR_VFD:BOOL=${{ matrix.mirror_vfd }} \
-DHDF5_ENABLE_DIRECT_VFD:BOOL=${{ matrix.direct_vfd }} \
-DHDF5_ENABLE_ROS3_VFD:BOOL=${{ matrix.ros3_vfd }} \
-DHDF5_PACK_EXAMPLES:BOOL=ON \
-DHDF5_PACK_MACOSX_DMG:BOOL=OFF \
$GITHUB_WORKSPACE
shell: bash
if: ${{ inputs.thread_safety != 'TS' && inputs.concurrent == 'CC'}}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ jobs:
- name: PreRelease tag
id: create_prerelease
if: ${{ (inputs.use_environ == 'snapshots') }}
uses: softprops/action-gh-release@01570a1f39cb168c169c802c3bceb9e93fb10974 # v2.1.0
with:
tag_name: "${{ inputs.use_tag }}"
Expand Down
98 changes: 0 additions & 98 deletions release_docs/RELEASE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,46 +47,7 @@ New Features

Configuration:
-------------
<<<<<<< HEAD
- Renamed the option: HDF5_ENABLE_Z_LIB_SUPPORT

The option has been renamed to HDF5_ENABLE_ZLIB_SUPPORT to be consistent
with the naming of other options.

- Added support for MinGW + MSYS2 when building with CMake

We previously added support for this to the Autotools and the appropriate
configure-time checks have been added to CMake.

CMake + MinGW + MSYS2 is now tested with the following environments:

* mingw32
* mingw64
* ucrt64
* clang64

- Added CMake build mode flags to the libhdf5.settings file

Flags from the CMake build mode (e.g., optimization) are not a part of
CMAKE_<language>_FLAGS and were not exported to the libhdf5.settings file. This
has been fixed and the C, Fortran, and C++ build mode flags are now exported to
the file.

This also affects the text output of H5check_version() and the libhdf5.settings
string stored in the library (for those who use strings(1), etc. to get
build info from the binary).

- CMake: Split compiler specific flags into separate files

The compiler specific flags have been split into separate files to make
it easier to maintain and add new compiler flags. The flags for NVHPC,
Intel, GNU and Clang compilers are now in separate files included from
the current compiler flags files; HDFCompiler<language>Flags.cmake.

- Added a configuration option for internal threading/concurrency support:
=======
- Added configuration option for API concurrency support:
>>>>>>> develop

CMake: HDF5_ENABLE_CONCURRENCY (ON/OFF) (Default: OFF)
Autotools: --enable-concurrency (yes/no) (Default: no)
Expand Down Expand Up @@ -196,65 +157,6 @@ New Features
We have updated the build files to set the C standard to C11, though
some platforms use gnu11 to get some GNU things to work.

- Added support for native zlib-ng compression.

Changed the zlib-ng CMake logic to prefer the native zlib-ng library. Added
#ifdef around the compression function calls. Added including the correct
header file with the same #ifdef.

- Renamed remaining HDF5 library CMake options except for CMake BUILD* variables

DEFAULT_API_VERSION to HDF5_DEFAULT_API_VERSION
DISABLE_PDB_FILES to HDF5_DISABLE_PDB_FILES
ONLY_SHARED_LIBS to HDF5_ONLY_SHARED_LIBS
ALLOW_UNSUPPORTED to HDF5_ALLOW_UNSUPPORTED
TEST_SHELL_SCRIPTS to HDF5_TEST_SHELL_SCRIPTS

All other HDF5 library CMake options are prefixed with HDF5_

- bin/cmakehdf5 has been removed

This was an unsupported build script that made building HDF5 via CMake
work like building HDF5 via the Autotools. It has been unmaintained
for a long time, has been marked deprecated, and is being removed.

- Generated files in src are now checked into version control

These files are infrequently updated and generating them adds a
dependency on Perl. The listed files are now checked in and do
not need to be recreated when checking out development branches.

* H5Edefin.h
* H5Einit.h
* H5Emajdef.h
* H5Emindef.h
* H5Epubgen.h
* H5Eterm.h
* H5overflow.h
* H5version.h

- Dropped some old Solaris Studio work-arounds

Solaris Studio no longer seems to be maintained and the last version
(12.4, circa 2015) doesn't seem to fully support C11. We've removed
some hacks that work around things like __attribute__() support.

- Dropped support for the traditional MSVC preprocessor

Visual Studio has recently started using a standards-compliant
preprocessor (In VS2019+) and this is the default in C11.

https://learn.microsoft.com/en-us/cpp/preprocessor/preprocessor-experimental-overview?view=msvc-170

Because of this, we've dropped support for the traditional
MSVC preprocessor.

- The standard for building the library is now C11

We have updated the build files to set the C standard to C11, though
some platforms use gnu11 to get some GNU things to work.



Library:
--------
Expand Down
2 changes: 1 addition & 1 deletion src/H5Dprivate.h
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,9 @@

/* Typedef for dataset in memory (defined in H5Dpkg.h) */
typedef struct H5D_t H5D_t;
typedef struct H5D_obj_create_t H5D_obj_create_t;

/* Other forward declarations of structs needed by this file */
typedef struct H5D_obj_create_t H5D_obj_create_t;
typedef struct H5D_io_type_info_t H5D_io_type_info_t;
typedef struct H5D_dset_io_info_t H5D_dset_io_info_t;

Expand Down
4 changes: 2 additions & 2 deletions src/H5Pocpl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1152,7 +1152,7 @@ H5Pget_filter3(hid_t H5_ATTR_UNUSED plist_id, uint64_t H5_ATTR_UNUSED section_nu
} /* end if */

/* Get the plist structure */
if (NULL == (plist = H5P_object_verify(plist_id, H5P_OBJECT_CREATE)))
if (NULL == (plist = H5P_object_verify(plist_id, H5P_OBJECT_CREATE, true)))
HGOTO_ERROR(H5E_ID, H5E_BADID, H5Z_FILTER_ERROR, "can't find object for ID");

/* Get the pipeline property to query */
Expand Down Expand Up @@ -1360,7 +1360,7 @@ H5Pget_filter_by_id3(hid_t H5_ATTR_UNUSED plist_id, uint64_t H5_ATTR_UNUSED sect
} /* end if */

/* Get the plist structure */
if (NULL == (plist = H5P_object_verify(plist_id, H5P_OBJECT_CREATE)))
if (NULL == (plist = H5P_object_verify(plist_id, H5P_OBJECT_CREATE, true)))
HGOTO_ERROR(H5E_ID, H5E_BADID, FAIL, "can't find object for ID");

/* Get filter information */
Expand Down
2 changes: 1 addition & 1 deletion src/H5VLnative_dataset.c
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ H5VL__native_dataset_io_setup(size_t count, void *obj[], hid_t mem_type_id[], hi
* Purpose: Frees memory allocated by H5VL__native_dataset_io_setup()
*
* Return: SUCCEED/FAIL
*
*-------------------------------------------------------------------------
*/
static herr_t
Expand Down

0 comments on commit 7cff84a

Please sign in to comment.