Commit Graph
2372 Commits
Author SHA1 Message Date
Allen Byrne 5f9d12601c Fix ci-Intel preset to use intel toolchain (#6038) 2025-11-25 15:30:26 -06:00
Larry Knox 53b52f8593 Set version to 2.0.1 for continued development. (#5978) 2025-11-06 15:25:13 -06:00
Allen Byrne b754dcb8f2 Move Java wrappers to FFM using jextract and java 25 (#5957)
FFM build requires Java 25, Jextract 25.
Generates FFM bindings during configure.
JNI is default when the requirements are not met or can be forced.
Presets added for maven and FFM - JNI is default selection.
Enhanced Maven options will work with either JNI or FFM
New Workflows for testing and maven uploads.
Extensive documentation changes for java.
2025-11-04 14:03:06 -06:00
Neil Fortner 1093a18c18 Add support for 64 bit chunks, including 64 bit chunk dimensions (#5965)
Various related changes, including refactoring part of dataset creation, and reworking how layout versions are calculated.

Needs more testing of filters that create very large chunks, but that will need code to turn it off in cases where we can't allocate >4GiB buffers. I tested this manually by increasing the expansion ration in the expand2 test in dsets, and it passed everything up until it tried to expand the datasets with H5Dset_extent() and my laptop ran out of disk space.

We should add code and testing to handle the case where the "size of size" is set less than 8 bytes. This is not a new issue, since it can be set to 2.

I will file issues for these, but I don't think they are necessary for the release.
2025-11-04 11:42:24 -06:00
Matt L 10c2ddc3cb Implement fallback for systems without qsort_r (#5931)
Also includes a new workflow to test FreeBSD, which has a different qsort signature and was previously untested
Resolves #5896
2025-11-02 22:06:34 -06:00
Scot Breitenfeld e4113ffaa5 Combined INSTALL_parallel and README_HPC content (#5952)
* Combined INSTALL_parallel and README_HPC into a single, README_HPC.md file.
* Removed all autotools references
* Updated All References
2025-10-30 21:57:14 -05:00
Erik Schnetter 2ff6c6497c Update HDF5UseFortran.cmake (#5920)
Remove extraneous curly braces from log output
2025-10-15 15:28:15 -05:00
Larry Knox 849de4ec05 Increment subversion to -4 after snapshot release 2.0.0-3. (#5916) 2025-10-14 22:30:05 -05:00
Allen Byrne fb35cde24a Rework Fortran configure to allow cross compile overrides (#5720)
Behavior:
Modify HDF5UseFortran.cmake to handle cross-compilation by providing default KINDs and sizes when CMAKE_CROSSCOMPILING is true.
Default values for INTEGER and REAL KINDs and their sizes are set when cross-compiling.
Error messages are adjusted to reflect cross-compilation scenarios.
Logic:
Conditional checks added for CMAKE_CROSSCOMPILING to determine if default values should be used.
Default values include INTEGER KINDs {1,2,4,8,16} and REAL KINDs {4,8,10,16}.
Default sizes for native kinds are set to 4 for INTEGER and REAL, and 8 for DOUBLE PRECISION when cross-compiling.
Misc:
Adjustments to verbose messages to indicate when defaults are used during cross-compilation.
2025-10-12 17:30:46 -05:00
Allen Byrne 701b46daed Rename the HDF5Examples build option prefix (#5906)
Renamed all HDF5 examples build options from H5EX_* to H5EXAMPLE_* to better distinguish them from library options when building examples alongside the library.

Updated all CMake files, including:
Main examples CMakeLists.txt files
CMake configuration files in config/ directory
CMake preset files
Updated documentation files to reflect new option names
2025-10-08 15:53:44 -05:00
Larry Knox 1f52fdccb8 Increment sub-release number and update version. (#5886) 2025-09-29 16:28:07 -05:00
Allen Byrne 8f89d1fe7c Develop big endianCorrect BE testing issues (#5866)
* Use bigendian specific files on those machine
* Examples need a bigendian check and var
* Update the reference files
2025-09-27 08:21:12 -05:00
Dana Robinson c656ed8a27 Fix protection for __builtin_expect() in H5public.h (#5840)
This feature is required to be in H5public.h, but is protected by
an HDF5 feature test macro that will soon be private. There is also
no guarantee that the compiler used to build the software has the
same support for __builtin_expect() that the application compiler
has.

This PR updates the feature test checks for __builtin_expect()

Partial fix for #5819
2025-09-16 22:05:55 -05:00
Dana Robinson f475d00cce Move H5pubconf.h.in from config to src (#5822) 2025-09-15 14:45:53 -05:00
Dana Robinson 5be9b57ccc Remove checks for sys/types.h (#5821)
This is present on all systems we support, including Windows. There is
no reason to check for it or hide its inclusion behind ifdefs.
2025-09-15 12:38:08 -05:00
Dana Robinson 8bcb79444b Don't include features.h in H5public.h (#5818)
This file is intended for internal glibc use and should not be included
from user code. Instead, you are supposed to set appropriate feature
test macros like _POSIX_C_SOURCE before including C/POSIX library
headers, which we already do.
2025-09-15 08:16:53 -05:00
Dana Robinson ecb4d5a8ef Update the include guard in H5pubconf.h (#5820) 2025-09-15 08:15:01 -05:00
Larry Knox fcfda621ba Allow setting CTEST_BUILD_NAME (#5812)
to set the test configuration Build Name for CDash.
2025-09-11 21:59:01 -05:00
Larry Knox ecc9b615ec Increment version subrelease digit to -2 (#5797) 2025-09-10 13:23:05 -05:00
Larry Knox f8d89333eb Remove setting HDF5 version for configure.ac (#5789)
Add setting HDF5 version for config/examples/HDF5AsSubdirMacros.cmake in bin/h5vers.
Set HDF5 version to 2.0.0-1 for snapshot release.
2025-09-09 08:21:32 -05:00
Larry Knox e3012ddc32 Set *PROVIDES* variables for all that are used in conditions for (#5757) 2025-09-04 08:03:43 -05:00
Allen Byrne 05ce57609c Rename the install config variables to indicate library state (#5716)
This update systematically renames variables across 2.0+ CMake files in the HDF5Examples directory and configuration templates. The goal is to change variables from sounding like build "options" (e.g., HDF5_BUILD_TOOLS, HDF5_ENABLE_PARALLEL) to reflecting library "state" (e.g., what features the installed library provides).
2025-08-28 10:06:37 -05:00
Allen Byrne 63803d7115 allow better CMake version testing (#5727)
* add cmake latest workflow with lukka/get-cmake@latest
* Upgrade minimum CMake version to 3.26
2025-08-23 06:43:20 -05:00
Allen Byrne 45b6e3ea5e Use mark_as_advanced for various filter-related cache variables (#5735) 2025-08-20 14:43:15 -05:00
Allen Byrne fb7d62841f Separate the cacheinit file into options and values (#5725) 2025-08-15 11:10:49 -05:00
Matt L e05cff7391 Fix VOL CMake builds (#5719)
* Correct target emptiness check
* Quote string literal
2025-08-13 07:06:07 -05:00
Allen Byrne f44c9eac01 Add AI generated (reviewed) comments for config CMake files (#5696) 2025-08-12 13:28:19 -05:00
Allen Byrne b20352bc62 Re-enable java on windows arm CI (#5705)
* Re-enable java on windows arm CI
* Test fail in Debug mode on Windows - disabled to test in Release mode
* Disable compression libs - arm build issues
* Add debug /Gy flag
2025-08-12 12:17:39 -05:00
Allen Byrne 1ac5a40896 Remove invalid Warning option for OneAPI (#5706) 2025-08-08 08:53:14 -05:00
Matt L 43f1310905 Generate VOL tests for h5copy (#5551)
* Add VOL testing to h5copy
2025-08-07 07:43:02 -05:00
Allen Byrne fc3f153742 Add/update plugins examples (#5670)
* Fixed all incorrect control char
* Synch filter examples to other examples
2025-07-28 09:34:22 -05:00
Allen Byrne f8aa8aa1ba Improve the installation and usage docs for CMake (#5636)
* Workflow presets introduced in version CMake 3.25
2025-07-28 09:14:35 -05:00
jhendersonHDF 4a12cfec19 Align CMake compiler wrappers with old Autotools versions (#5649)
Implemented missing --help/-h, -c, -echo and -shlib/-noshlib options

Added new -nohl option to avoid building and linking against
high-level HDF5 libraries if desired

Implemented adding of HDF5 installation library directory to rpath of
resulting executable/library and added new -norpath option to avoid
this behavior if desired

Added parsing of HDF5_USE_SHLIB environment variable to determine
whether to link against shared or static HDF5 libraries

Added parsing of HDF5_PKG_CONFIG_ARGS environment variable to separate
pkg-config-specific options from compiler-specific options and prevent
conflicts
2025-07-28 07:42:52 -05:00
Allen Byrne ed5c07223a Create a file containing the major CMake options (#5666) 2025-07-18 14:47:02 -05:00
Allen Byrne 968cc9dd44 Add script to test examples with h5*cc pkg-config wrappers (#5486) 2025-07-16 13:57:43 -05:00
jhendersonHDF a76c21b244 Fix Fortran name mangling in test library (#5661) 2025-07-14 06:19:57 -05:00
Allen Byrne 0509e66208 Add cmake_dependent_option command (#5635)
* Add subfiling option to cmake_dependent option format
* Set the default option state to a hard value
2025-07-12 10:16:54 -05:00
Allen Byrne 28e3d46b5c Add variable called HDF5_VERSION to install config file (#5657) 2025-07-11 23:14:23 -05:00
Allen Byrne f9ebbb9ab2 Move fortran flags processing after fortran enabled (#5627) 2025-07-10 10:31:47 -05:00
Allen Byrne 2a236ab9df For install config file check the ENABLE var before using dependent (#5632) 2025-06-26 21:44:50 -05:00
Matt L 3b054fe7cc Always build test generators (#5622) 2025-06-23 07:47:05 -05:00
Allen Byrne df20da2979 Remove references to autotools options in documentation/comments (#5619) 2025-06-21 13:28:00 -05:00
Martin Diehl b89f178d71 Remove default setting of CMAKE_DEBUG_POSTFIX (#5600) 2025-06-20 09:12:44 -05:00
0743df227f Add documentation and s3proxy testing for ROS3 VFD (#5560)
Adds workflow to build ROS3 VFD and optionally build aws-c-s3 library
from source or use package managers

Adds testing of ROS3 VFD with s3proxy and docker

Adds new H5Pset_fapl_ros3_endpoint()/H5Pget_fapl_ros3_endpoint() API
functions to set/get an alternative endpoint URL to use when opening
files with the ROS3 VFD

Cleans up warnings in tools and tests related to ROS3 VFD structure size

Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
Co-authored-by: Allen Byrne <50328838+byrnHDF@users.noreply.github.com>
2025-06-19 16:22:49 -05:00
Allen Byrne f966acce10 Add missing HDF5_INCLUDE_DIR_FORTRAN setting in install (#5613) 2025-06-19 07:58:46 -05:00
Allen Byrne f2d2d45d26 system compress libs add dependency to the install (#5547) 2025-06-13 10:33:17 -05:00
Matt L 01d61245fe Correct h5diff test ref files (#5596) 2025-06-12 13:04:24 -05:00
Allen Byrne 0d795cc00e Check if namespace has been defined before creating alias (#5590) 2025-06-12 12:10:55 -05:00
Dana Robinson c83266821b Remove checks for dev_t being a scalar type (#5567) 2025-06-09 16:15:56 -05:00
Matt L b93cd97ba3 Replace filtered temporary files with streams (#5583) 2025-06-06 11:03:08 -05:00