Commit Graph

2198 Commits

Author SHA1 Message Date
Allen Byrne
025d1e7e82
Exclude shell tests from sanitizers (#4186) 2024-03-19 16:32:20 -07:00
Dana Robinson
5bf08d1e8e
Clean up CMake direct VFD handling (#4161)
There's no need to build and run programs, or even check the operating
system. We just need to check for O_DIRECT and posix_memalign().
2024-03-18 21:53:06 -07:00
jhendersonHDF
330b80a266
Add support for _Float16 16-bit floating point type (#4065)
Fixed some conversion issues with Clang due to problematic undefined
behavior when casting a negative floating-point value to an integer

Fixed a bug in the library's software integer to floating-point
conversion function where a user's conversion exception function
returning H5T_CONV_UNHANDLED in the case of overflows would result in
incorrect data after conversion

Added configure checks for functions and macros related to _Float16
usage since some compilers expose the datatype but not the functions or
macros

Fixed a dt_arith test failure when H5_WANT_DCONV_EXCEPTION isn't defined

Fixed a few warnings from not explicitly casting some _Float16 variables
upwards
2024-03-18 21:36:46 -07:00
Dana Robinson
68e8c0e627
Remove HAVE_IOEO checks from CMake (#4160)
This was intended to check for thread-safety functionality on Windows.
The required functionality has been standard since Windows Vista, so
these checks can be removed.
2024-03-16 12:01:24 -07:00
Dana Robinson
45f7898272
Remove lseek64 and stat64 symbols from CMake (#4163)
We don't use these in the library.
2024-03-16 11:51:02 -07:00
Dana Robinson
004ab16dbc
Remove ros3 and hdfs VFDs from Autotools VFD list (#4142)
These will never pass `make check` and would require a custom test
suite for more comprehensive testing.
2024-03-14 21:47:58 -07:00
Allen Byrne
112f445019
Add cygwin CI and update yaml files for consistency and accuracy (#4131)
* Add cygwin CI

* add cygwin packages

* Correct option names

* Cleanup yaml file and synch look and feel

* Synch CI look and feel and correct path issues

* Upgrade oneapi version

* pwsh needs env: for vars

* No continuation char for pwsh

* restore correct pwsh step

* Run subset of tests for cygwin workflow

* Remove space chars in regex

* restore full tests
2024-03-14 07:16:53 -07:00
Allen Byrne
c1f761bcbd
Remove invalid compile flag (#4129) 2024-03-13 10:10:38 -05:00
Dana Robinson
8961016fe7
Update CMake comment about _POSIX_C_SOURCE (#4124)
Was missng the 2008 pread/write info
2024-03-12 17:35:41 -07:00
Dana Robinson
56f1092ddb
Overhaul CMake LFS support (#4122)
Externally visible:
* The HDF_ENABLE_LARGE_FILE option (advanced) has been removed
* We no longer run a test program to determine if LFS works, which
  will help with cross-compiling
* On Linux we now unilaterally set -D_LARGEFILE_SOURCE and
  -D_FILE_OFFSET_BITS=64, regardless of 32/64 bit system. CMake
  doesn't offer a nice equivalent to AC_SYS_LARGEFILE and since
  those options do nothing on 64-bit systems, this seems safe and
  covers all our bases. We don't set -D_LARGEFILE64_SOURCE since
  we don't use any of the POSIX 64-bit specific API calls like
  ftello64, as noted above.
* We didn't test for LFS support on non-Linux platforms. We've added
  comments for how LFS should probably be supported on AIX and Solaris,
  which seem to be alive, though uncommon. PRs would be appreciated if
  anyone wishes to test this.

Internal:
* Drops off64_t size checks since this is unused (as in Autotools)
* Remove HDF_EXTRA_FLAGS, which is now unused
* Remove hack around deprecated LINUX_LFS

Fixes #2395
2024-03-12 14:36:50 -07:00
Allen Byrne
50a6522322
Change compression tests reference files to use masking for compression ratios (#4083)
Rework TEST_FILTER tests to handle slightly different compression ratios
2024-03-10 16:43:37 -07:00
Dana Robinson
6cb4b2f6d7
Remove printf debugging from H5Smpio.c (#4098) 2024-03-09 20:30:34 -08:00
Ben Boeckel
b1054b4ef3
msvc: don't declare HAVE_TIMEZONE for older MSVC (#3956)
It was introduced in MSVC 15 (Visual Studio 2017).
2024-03-09 10:25:40 -08:00
Dana Robinson
3d09a7d5f6
Remove H5B debug checks (#4089)
The H5B (version 1 B-tree) package would add some computationally
expensive integrity checks when H5B_DEBUG was defined. Due to their
negative effects on performance, this option was rarely turned on,
making the H5B__assert() check function stale, if not dead, code.

This change:

* Builds H5B__assert() when NDEBUG is not defined (the function
  relies on assert()) so it gets compiled more often.
* Removes some printf debugging statements in the B-tree code
* Removes all H5B "extra debug" checks that are leftover from
  past debugging sessions. Maintainers can add H5B__assert()
  selectively to perform integrity checks when debugging.
* Removes the HDF5_ENABLE_DEBUG_H5B CMake option

H5B_DEBUG now has no effect
2024-03-08 23:17:13 -08:00
Dana Robinson
3ea50208f9
Remove printf debugging in H5I package (#4088) 2024-03-08 12:55:16 -08:00
Dana Robinson
f24496074f
Remove printf debugging in H5HL code (#4086) 2024-03-07 18:36:44 -08:00
Allen Byrne
c872acae63
New option for building with static CRT in Windows (#4062) 2024-03-07 09:27:56 -08:00
Scot Breitenfeld
9d8e882496
Added new H5E with tests. (#4049)
Added Fortran H5E APIs:
h5eregister_class_f, h5eunregister_class_f, h5ecreate_msg_f, h5eclose_msg_f
h5eget_msg_f, h5epush_f, h5eget_num_f, h5ewalk_f, h5eget_class_name_f,
h5eappend_stack_f, h5eget_current_stack_f, h5eset_current_stack_f, h5ecreate_stack_f,
h5eclose_stack_f, h5epop_f, h5eprint_f (C h5eprint v2 signature)

Addresses Issue #3987
2024-03-07 03:34:55 -08:00
Allen Byrne
5fc7111895
Add NEWSLETTER and merge abi reports and add sha256sums (#4055) 2024-03-05 14:50:39 -08:00
Allen Byrne
129d80d208
Update INSTALL files (#4052) 2024-03-05 14:42:08 -08:00
Allen Byrne
0be892585a
Rename incorrectly named option (#4067)
* Rename incorrectly named option

* Restore the correct uses of USING_MEMCHECKER

* Update release note
2024-03-05 09:07:16 -08:00
Allen Byrne
42c7e1d073
Ignore UserPresets and Use only C compiler for sanitizers (#4066)
* Remove user presets file

* Only use C compiler for sanitzers
2024-03-05 09:05:38 -08:00
Allen Byrne
7ab17e25c6
Do not enable szip for sanitizer runs (#4057) 2024-03-04 09:12:07 -08:00
Allen Byrne
7ce8c6f81a
Add options to allow tools type selection and naming (#4046) 2024-03-04 06:53:52 -08:00
Allen Byrne
38c39381ec
Add upddated cmake tools from source location (#4040) 2024-03-04 06:53:22 -08:00
Allen Byrne
662ee679e0
Remove limitations on preset generators (#4051) 2024-02-29 16:12:03 -06:00
Dana Robinson
5d6acc5c3f
Remove check for gettimeofday + tz in CMake (#4045)
This is not used in the library
2024-02-26 14:35:23 -06:00
Dana Robinson
a665d03874
Consolidate Autotools linux files (#4044)
There are many architecture-specific linux files in the config
directory, all of which simply redirect to linux-gnulibc1.

This change renames linux-gnulibc1 to linux-gnu and deletes the more
specific files.
2024-02-26 14:34:27 -06:00
Dana Robinson
817c67fad6
Remove unused AIX cross-compile cache overrides (#4043)
The ibm-aix Autotools config file had some unmaintained and unnecessary
Autoconf cache overrides. These have been removed.
2024-02-26 14:32:26 -06:00
Dana Robinson
f36b2911ab
Don't try to load general-19 warnings file for icc (#4042)
The Autools Classic Intel compiler configuration attempts to load a file
named `general-19` from the intel-warnings/classic directory, which does
not exist.

This removes the attempted load of the file.
2024-02-26 14:28:49 -06:00
Allen Byrne
9a99fee914
Add deb and rpm binaries to snapshots (#4035) 2024-02-23 07:58:18 -06:00
Scot Breitenfeld
e7f41a2fbf
Fix the datatype passed to H5*exists_async APIs in tests. (#4033)
Add a new testing function to verify C_BOOL values.
2024-02-23 07:57:30 -06:00
H. Joe Lee
d4b43e0b43
Check argument for CMake REGEX FCMangle.h. (#4029) 2024-02-21 13:54:24 -06:00
Allen Byrne
bdddf43f1a
Correct String FIND for runTest and grepTest (#4022) 2024-02-15 17:49:32 -06:00
Allen Byrne
9dc82da3df
separate out individual checks for string removal (#4015) 2024-02-14 09:56:26 -06:00
Glenn Song
14ed93e749
Update install texts (#4010)
* Update INSTALL_CMake.txt as necessary

* Update remaining docs that use HDF5_USE_GNU_DIRS

* Update options in HDFMacros in HDF5Examples
2024-02-14 07:37:18 -06:00
Larry Knox
d888cf99db
Don't add files and directories with names that begin with ., or that match *autom4te* to release tar & zip files. (#4009)
Filter messages with 'ulimit -s' out of test output for runTest.cmake.
2024-02-13 08:42:39 -06:00
Scot Breitenfeld
d79667eb0c
Add API support for Fortran MPI_F08 module definitions. (#3959)
* revert to using c-stub for _F08 MPI APIs

* use mpi compiler wrappers for cmake and nvhpc
2024-01-29 13:13:33 -06:00
Allen Byrne
efe7cb72ba
Add binary build for linux S3 (#3936)
* Reorg and update options for doc and cmake config

* Correct subfiling depends

* Add linux S3 binaries to GH published files

* Correct path

* Try reducing parallel jobs in tests

* Change examples jobs for test from 8 to 4
2024-01-09 09:47:55 -08:00
Allen Byrne
c12932865d
Reorg and update options for doc and cmake config (#3934)
* Reorg and update options for doc and cmake config
* Correct subfiling depends
2024-01-09 09:42:45 -08:00
Allen Byrne
a00d62f77a
Use props for includes and remove global includes (#3921) 2024-01-04 12:06:36 -06:00
Quincey Koziol
3a21ee0877
Add 'warning density' computation to the warnhist script (#3910)
* Add 'warning density' computation to the warnhist script, along with several
cleanups to it.   Add "--enable-show-all-warnings" configure (and CMake)
option to disable compiler diagnostic suppression (and therefore show all the
otherwise suppressed compiler diagnostics), disabled by default.  Clean up
a buncn of misc. warnings.

Signed-off-by: Quincey Koziol <qkoziol@amazon.com>
2023-12-29 08:42:35 -06:00
Allen Byrne
366f2d94a3
Add CMake api checks to test the new Examples folder. (#3907)
* Fix missing build-mode value

* Use 110 version file only for the 1.10 library

* Fix H5_LIBVER_DIR variable

* Disable 1.6 API tests for now.
2023-12-22 15:17:05 -06:00
Allen Byrne
aa734a5d7e
Add VDS examples and fix non-standalone build (#3898)
* Choose a size for rdata dimension

* Fix platform naming conflicts

* Fix doxygen references to point within library repo
2023-12-21 09:53:24 -06:00
Allen Byrne
5d2d389521
Add intel binaries to daily-build/release workflows (#3895) 2023-12-18 07:50:25 -06:00
Allen Byrne
6f2d22d86e
Add variable option syncing for examples (#3885) 2023-12-14 12:50:30 -06:00
Allen Byrne
e81fb9eddf
Correct urls and handling of external git repos (#3890) 2023-12-12 22:10:27 -06:00
Satish Balay
92ff840f58
Fix build error on freebsd (#3883)
Fixes:

checking for config freebsd12.1... no
checking for config freebsd... found
compiler '/home/svcpetsc/petsc-hash-pkgs/39f577/bin/mpicc' is GNU gcc-9.2.0
compiler '/home/svcpetsc/petsc-hash-pkgs/39f577/bin/mpif90' is GNU gfortran-9.2.0
stdout: .: cannot open ./config/classic-fflags: No such file or directory
2023-12-07 08:12:25 -08:00
Allen Byrne
ac650fa9d1
Update examples with 1.6 api and static libs (#3874)
* Update examples with 1.6 api and static libs

* Only check for STATIC only builds

* Do not calculate version as library has already.
2023-11-29 12:54:22 -06:00
Allen Byrne
fc88fcde10
Develop merge examples (#3851)
* Merge examples repo into library

* Change grepTest to be more fault-tolerant

* Update examples macro file

* Exclude all Fortran examples from doxygen
2023-11-27 15:30:15 -06:00