Commit Graph

2082 Commits

Author SHA1 Message Date
Allen Byrne
0325220cc0
Fix CMake generator expression syntax (#2910)
* Fix CMake generator expression syntax

* Add missing quotes
2023-05-05 15:42:46 -05:00
Allen Byrne
7e141f71de
remove obsolete SZIP find module (#2907) 2023-05-05 09:50:02 -07:00
Allen Byrne
d0e8878ad4
Force lowercase Fortran module file names (#2892) 2023-05-04 08:43:23 -05:00
Allen Byrne
7df92eee39 Changes to isolate API Test option files and use fetchcontent (#2880) 2023-05-03 13:26:57 -05:00
Larry Knox
85b5e8e7da
Update so numbers for hdf5 1.14.1 release. (#2881) 2023-05-03 12:36:47 -05:00
Dana Robinson
6eb021b68a
Sync with develop (#2871) 2023-05-01 22:25:48 -07:00
Dana Robinson
a150e5fc25
Sync with develop (#2849)
Cherry pick of

ea7dfcd (Change Powershell to PowerShell in docs)

to

4497feb (Update H5Dget_space_status bug note to reference 1.14.0)
2023-04-28 13:37:04 -07:00
Allen Byrne
5c8c9ce925
Correct CMake option defaults - deprecate szip for libaec (#2786) 2023-04-24 09:11:26 -07:00
Dana Robinson
7707859279
Merge with develop (#2790) 2023-04-21 23:25:12 -07:00
Dana Robinson
69c720bffa
Merge "Use additional CPUs" and related fixes (#2742)
* 2720 Fix java depends and pdb lib install
* 2695 Use additional CPUs in GitHub actions
2023-04-14 15:14:38 -07:00
Allen Byrne
097f65e7a6
Update java logger version (#2644) 2023-04-04 11:35:23 -05:00
Allen Byrne
0491aba7d2
Update cross compile checks and files #2497 (#2564) 2023-03-15 18:14:00 -05:00
Allen Byrne
d018e6f88c
Change libaec URL to actively maintained repo GH#2552 (#2560) 2023-03-15 18:12:45 -05:00
Larry Knox
06bf32bf4a
Fix new codespell issues (#2521) (#2533)
* Fix new codespell issues

* Have codespell ignore ./config/sanitizer/sanitizers.cmake

Co-authored-by: Mark Kittisopikul <mkitti@users.noreply.github.com>
2023-03-10 14:28:02 -06:00
Allen Byrne
197966eb9f
1.14 Add fetchcontent for compression libs and fix cmake config #2487 (#2492)
* Add fetchcontent for compression libs and fix cmake config #2487

* Update cmake doc for FetchContent

* Add CI test for FetchContent

* Use LINK_COMP_LIBS instead of STATIC_LIBRARY for depends
2023-02-28 17:06:31 -08:00
Allen Byrne
3dcee39ced
Remove space from toolchain name #2482 (#2483) 2023-02-21 06:25:22 -08:00
Allen Byrne
0355eea62f
Merge toolchain lowercase names and updates #2426 (#2467) 2023-02-17 14:38:06 -08:00
Allen Byrne
0b71c33c5e
1.14 Merge Correct pkgconfig variables and libraries #2259 (#2477)
* Merge Correct pkgconfig variables and libraries #290

* Fix typo

* Fix spacing
2023-02-17 14:17:51 -08:00
Larry Knox
6dcb028e84
CMake: Find MPI in HDF5 CMake config (#2400) (#2410)
Co-authored-by: kwryankrattiger <80296582+kwryankrattiger@users.noreply.github.com>
2023-01-19 15:36:57 -06:00
Dana Robinson
e783b100d4
Brings HL GIF tools configure changes from develop (#2361) 2022-12-23 21:24:45 -08:00
Larry Knox
4e5bdb8c4e
Update versions for hdf5_1_14 develop branch after creation of (#2294)
hdf5_1-14_0 branch for 1.14.0 release.
2022-12-13 14:06:44 -06:00
Allen Byrne
96a4e10102
Add aarch64 toolchain and change dump test to long opt (#2271) 2022-12-01 14:32:34 -08:00
Egbert Eich
158dff6b50
Make sure testsuite can handle multiple dependent scripts (#2256)
Commit afc54d75a1 to the test suite to eliminate a separate
shell script did not take into account that there may be
multiple dependent test scripts which resulted in the
message:
`/bin/sh: line 7: [: too many arguments`.
when running the test suite.

Beware that this new version still makes use of non-posix GNU
extensions to `test`.

Signed-off-by: Egbert Eich <eich@suse.com>

Signed-off-by: Egbert Eich <eich@suse.com>
2022-11-28 13:19:31 -06:00
Scot Breitenfeld
03cc221016
moved quad precision checks (#2252)
* Only check quad sizes if fortran is enabled

* fixed if struct
2022-11-12 12:53:35 -06:00
Dana Robinson
d93c6fae43
Removes MPE instrumentation support. (#2245)
* Removes MPE instrumentation support.

The Autotools will no longer accept --with-mpe= and the logging commands
have been removed from the FUNC_ENTER macros. CMake has never supported
instrumenting for MPE.

* Committing clang-format changes

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-11-09 11:06:26 -08:00
Dana Robinson
0f30852242
Removes dmalloc support (#2239)
This has not been used to debug the library in a very long time. Most
developers use valgrind, -fsanitize=address, or some other memory checker
instead of this library.

This removes:
    * dmalloc.h include from H5private.h
    * --with-dmalloc= Autotools configure option
    * HDF5_ENABLE_USING_DMALLOC CMake option
2022-11-09 09:22:14 -08:00
Dana Robinson
018f093c09
Removes the memory allocation sanity checks feature (#2218)
* Removes the memory allocation sanity checks feature

* Committing clang-format changes

* Removes zero size checks for H5MM_(c|m)alloc()

* Explicitly return NULL when size == 0 in H5allocate_memory()

* Committing clang-format changes

* Format fix

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-11-03 16:30:08 -07:00
Larry Knox
6924d590cc
Use ctest_test and APPEND to correctly report passed and failed test numbers in CDash (#2208)
* Change how HPC tests are executed

* Move ctest_test commands for serial and parallel tests into cmake files.

* Update checks for uploading Test.xml to CDash.

* Correct cmake scripots.

* Remove extraneous characters.

* Add ctest_start (APPEND).

* Add binary directories to scripts running ctest_test.

* Correct parameters for appending Test.xml.

* Set CTEST_SITE and CTEST_BUILD_NAME.

* Try to pass site and build_name to ctest_test sripts.

* Add site name and build name for ctest_test commands vi environment.

* Revert "Try to pass site and build_name to ctest_test sripts."

This reverts commit d364aaf0fa.

* Correct typo in src/CMakeLists.txt.

* Update batch scripts to run ctest_test scripts.

Co-authored-by: Allen Byrne <byrn@hdfgroup.org>
2022-11-02 09:02:47 -07:00
Allen Byrne
94119211a7
Correct the CMake link for MPI (#2198) 2022-11-01 16:03:13 -05:00
Larry Knox
11dfa25910
Update copyright headers (#2184)
* Updated source file copyright headers to remove "Copyright by the Board of Trustees
of the University of Illinois", which is kept in the top-level COPYING file.
2022-11-01 16:02:27 -05:00
Larry Knox
0173706826
Update develop branch version to 1.13.4-1 (#2189)
* Updated version to 1.13.4-1 after creating hdf5_1_13_3 branch for 1.13.3
release.
Added new version to exceptions in lines 74-5 of src/H5.c
2022-10-26 11:07:17 -05:00
Allen Byrne
ea902f9ace
Implement option for using CMake GNUInstallDirs (#2175)
* Implement option for using CMake GNUInstallDirs

* Add release notes
2022-10-25 08:50:43 -07:00
Pierce Brooks
a898cef6c2
make sure to match the debug library postfix with external cmake projects and allow for zlib link name to be manually overridden (#2166) 2022-10-19 09:06:51 -05:00
Allen Byrne
853a592d2d
Add missing windows include/lib configure for StrStrIA (#2114) 2022-09-22 13:52:31 -05:00
Frank Berghaus
100b22e6c2
Use case-insensitive comparison for headers fix #2100 (#2101)
* Use case-inseneitive comparison for headers

HTTP headers should be case-insensitive. Use case-insensitive string
comparisons when working with HTTP header responses to ensure
compatibility.

* Revert "Use case-inseneitive comparison for headers"

This reverts commit a02f591723506b62b7208449be6eef7122120398

* Ignore case when searching HTTP header responses

Looking up the Content-Length in the header returned by S3 storage
endpoints should ignore case. To guarantee portability implement a
function for case-insensitive string search, because it is non-standard.

* Add an _ after H5 for the strcasestr implementation

It is a private function and should sport that underscore.

* Remove author comment from the doc comment

* Use search function defined by system if available

Check whether the system provides a function implementing case
insensitive string searches. Only use the custom implementation if the
system does not provide the functionality.

* Add tests for case-insensitive search

Basic tests:
  - Search for empty string
  - Search with exact match
  - Search with case-insensitive match
  - search with no match

* Enforce clang-format style

Some variable definitions in the th5_system tests did not conform to
clang-format's expectations. Updated the offending lines.

* Correct comment describing test case

* Added some spaces to please clang-format

* Ignore discarding const

Ask the compiler to ignore discarding the const when retunring a match from H5_strcasestr

Co-authored-by: Frank Berghaus <frank.berghaus@mpcdf.mpg.de>
2022-09-21 11:50:17 -05:00
Allen Byrne
d491c33a72
Update examples reference to single-source version 2.0.1 (#2107) 2022-09-20 17:21:15 -05:00
Allen Byrne
45178c87a3
develop Merge doxygen from 1.12 branch (#2095) 2022-09-14 15:44:24 -05:00
Allen Byrne
05a0411140
Remove bitbucket.hdfgroup.org dependency. #2082 (#2086)
*
2022-09-07 17:12:55 -05:00
Allen Byrne
c8fdd92cd4
Update CMake code to 3.18 minimum version (#2080)
* Update CMake code to 3.18 minimum version

* Updated release note
2022-09-02 17:31:29 -07:00
Dana Robinson
6e8aaab1b4
Minor changes to CMake comments, etc. (#2078) 2022-08-31 11:03:37 -05:00
Dana Robinson
5097ff016f
Tidying of configure check C code (#2077)
* Tidying of configure check C code

* Fixed missing endif removal
2022-08-29 08:59:15 -07:00
Dana Robinson
08aebb6d1a
Adds documentation for config directory (#2065)
* Adds documentation for config directory

* Fix spelling error
2022-08-24 23:05:28 -07:00
Dana Robinson
ee55dd777b
Fortran module directory improvements (#2060)
* Removes the module directory from the Automake flags as this
  generated a large number of "missing include directory" warnings
  and is unecessary
* Adds the module path to libhdf5.settings
2022-08-23 12:25:07 -07:00
Dana Robinson
f020d129b2
Corrects more Fortran warnings (#2059)
* Moves -Wunused-dummy-arguments to the developer warnings since this
  generates a lot of spurious, unfixable noise due to things like
  callback wrappers
* Changes the return cast in h5fget_fileno_c, fixes a comment, and comment
  on potential badness
* Initializes a variable in tH5L_F03.F90 to quiet a 'maybe
  uninitialized' warning
2022-08-23 08:48:14 -07:00
Dana Robinson
f24dff5157
Quiets Fortran Autotools builds (#2052) 2022-08-22 08:21:06 -07:00
jhendersonHDF
2b786ffe5a
[WIP] Add Developer build mode to CMake (#1659)
* Add Developer build mode to CMake

* Set a few CMake variables for Developer build modes

* Refactor enabling of debug and developer-level compile definitions

* Convert cache debugging macros to normal ifdef style

Normal ifdef-style instead of if-style allows build system to define macros
without warning about redefining macros with different values (0 vs. 1)

* Add HDF5 Developer compile definitions to testing files

* Temporarily disable -fanalyzer flag for GCC 12+ Developer builds
2022-08-19 17:18:30 -07:00
Dana Robinson
7f6261a677
Removes cmake_ext_mod (files moved to cmake) (#2041)
At one time this content was a git submodule shared between several
projects but that time has long passed.
2022-08-19 07:54:42 -07:00
Dana Robinson
afc54d75a1
Replaces bin/newer with -nt comparison in Makefiles (#2020) 2022-08-17 09:21:24 -07:00
Dana Robinson
d6927e49c0
Replaced bin/mkdirs w/ mkdir -p -m 755, which is POSIX (#2018) 2022-08-17 08:02:39 -07:00
Larry Knox
25ef534039
Update version to 1.13.3-1 after creating hdf5_1_13_2 branch for 1.13.2 (#2004)
release.
Added new version to exceptions in line 75 of src/H5.c.
2022-08-12 08:17:25 -05:00