Commit Graph

2100 Commits

Author SHA1 Message Date
Dana Robinson
d4605919f9
Remove H5detect and H5make_libsettings (#3104)
Removes H5detect and H5make_libsettings from the build and replaces
their functionality with things that don't affect cross-compiling.

H5detect --> floating-point types are now detected on library load
H5make_libsettings --> Moved functionality to a new H5build_settings.c template file
2023-06-13 08:16:41 -07:00
Allen Byrne
1891387ccb
Rework tools.cmake and add C flags (#3110) 2023-06-12 20:05:26 -07:00
Dana Robinson
1e1dac1dac
Remove long double conversion work-arounds (#3097)
Several options and public symbols that were provided to paper
      over non-standard long double conversions between signed/unsigned
      long and long long values were removed from the Autotools and
      CMake. These were added twenty years ago, when C99 and 64-bit
      platforms were less common and are no longer needed.

      Autotools:
        --enable-dconv-accuracy

      CMake:
        HDF5_WANT_DATA_ACCURACY

      H5pubconf.h symbols:
        H5_WANT_DATA_ACCURACY
        H5_LDOUBLE_TO_LONG_SPECIAL
        H5_LONG_TO_LDOUBLE_SPECIAL
        H5_LDOUBLE_TO_LLONG_ACCURATE
        H5_LLONG_TO_LDOUBLE_CORRECT
        H5_DISABLE_SOME_LDOUBLE_CONV
2023-06-12 14:12:57 -07:00
Dana Robinson
cedbc2eae0
Remove variable dereferences in CMake (#3080) 2023-06-12 12:15:40 -07:00
Dana Robinson
37990e63c4
Make some changes to configure.ac to suppor MinGW (#3096)
Adds some H5pubconf.h entries and cpp flags for building on MinGW
using the Autotools.

Also updates the Windows-related H5pubconf.h comments to be more
accurate in CMake.
2023-06-11 17:39:15 -07:00
Dana Robinson
44dccb5b15
Don't use -fstdarg-opt with clang-tidy (#3079)
* HDFCompilerFlags: mask -fstdarg-opt with clang-tidy

`clang-tidy` doesn't understand this `-f` flag and errors out.

* Add helpful comment

---------

Co-authored-by: Sean McBride <sean@rogue-research.com>
2023-06-07 16:40:57 -07:00
Dana Robinson
76bc845a2f
Removes old header/library checks (#3078)
In both CMake and the Autotools, remove checks for:
* lstat
* srandom

In CMake, remove checks for:
* string.h
* strings.h
* stdlib.h
We assume these exist. Configure will always check for them (we don't
add any special code to do this), but there's no reason to duplicate
that nonsense in CMake.
2023-06-07 16:40:31 -07:00
Allen Byrne
77e64e0df4
correct warning ignore match for zlib (#3021) 2023-05-26 13:27:19 -07:00
Allen Byrne
248045e3e0
Correct name of fetch content variable name (#3020) 2023-05-26 09:20:57 -07:00
Allen Byrne
90293ccec3
Fix multiConfig variable usage and remove unused CMake vars (#3013) 2023-05-25 11:26:28 -07:00
Dana Robinson
37e0484af5
Update GitHub macOS actions to v13 (#2999)
* Update macOS to 13

* Fix the DYLD_LIBRARY_PATH issue on macOS 12 & 13 + CMake that caused the accum test to fail
2023-05-24 06:05:17 -07:00
Allen Byrne
8186a8ded0
Fix plugin cache variable name (#2988)
* Fix plugin cache variable name
* Prefix plugin project local variables
2023-05-22 18:04:48 -05:00
Allen Byrne
dc3ef6055f
Change defaults of standard filters. (#2927) 2023-05-18 16:05:20 -05:00
Allen Byrne
4b228ec6af
Fix CMake generator expression syntax (#2909) 2023-05-05 15:57:40 -05:00
Allen Byrne
2c3797d7bd
remove obsolete SZIP find module (#2901) 2023-05-05 09:07:16 -07:00
Scot Breitenfeld
654dd01525
Force lowercase Fortran module file names (#2891)
* fixed args in execvp for h5fuse

* Force lowercase Fortran module file names for Cray compilers
2023-05-03 22:03:58 -05:00
Allen Byrne
571990d5c4
Changes to isolate API Test option files and use fetchcontent (#2880) 2023-05-03 11:45:16 -05:00
Allen Byrne
9ea976b9b6
Remove duplicate variable for configuration use (#2870) 2023-05-01 15:20:17 -07:00
Allen Byrne
a61eff84c1
Correct usage of CMAKE_BUILD_TYPE (#2863)
Fixes a problem when using multi-config builds with the CMake GUI
2023-05-01 12:46:04 -07:00
Allen Byrne
2b7afc2727
Correct compression install files (#2838) 2023-04-28 09:02:38 -07:00
Allen Byrne
ca27cf94a2
Add support for CMakePresets and fix example download (#2817) 2023-04-26 15:56:57 -07:00
Allen Byrne
3f5842cdd2
Correct CMake option defaults - deprecate szip for libaec (#2778) 2023-04-23 13:11:17 -07:00
Allen Byrne
1c03b7d687
Fix java depends and pdb lib install (#2720)
* Fix java depends and pdb lib install

* Correct end of for loop depends

* fix location of set last_test
2023-04-13 12:11:35 -07:00
Allen Byrne
2ecfba97dd
Identify some options as advanced (#2717)
* Identify some options as advanced

Add explicit option statement to set default for CMake option

* Revert advanced setting for file locks
2023-04-13 10:36:48 -07:00
Julien Schueller
70d9616672
CMake: Let runtime checks through stdout only (#2666)
This avoids mixing emulators errors on stderr to configure results
while cross-compiling with wine.
2023-04-11 14:28:32 -05:00
Allen Byrne
526f0769a3
Minor fixes for CMake code and install docs (#2623) 2023-04-03 14:38:10 -07:00
Allen Byrne
fa388e6ba4
Update java logger version (#2643) 2023-04-03 14:36:23 -07:00
Allen Byrne
2ca2a300ac
Change libaec URL to actively maintained repo GH#2552 (#2559) 2023-03-15 18:48:54 -05:00
Mark Kittisopikul
5d3d43b1ee
Fix new codespell issues (#2521)
* Fix new codespell issues

* Have codespell ignore ./config/sanitizer/sanitizers.cmake
2023-03-08 14:42:47 -06:00
Allen Byrne
7b833f04b5
Update cross compile checks and files (#2497) 2023-03-02 11:18:13 -06:00
Allen Byrne
d7128d144b
Add fetchcontent for compression libs and fix cmake config (#2487)
* Add fetchcontent for compression libs and fix cmake config

* MSDOS is a reserved define name

* Add release note and update install doc for FetchContent

* Add CI test for FetchContent

* Use LINK_COMP_LIBS instead of STATIC_LIBRARY for depends

* Use general link
2023-02-26 15:06:14 -08:00
Allen Byrne
7ff3eac667
Remove space from toolchain name (#2482)
* Remove space from toolchain name

* Another space removed
2023-02-21 06:24:53 -08:00
Allen Byrne
bfef9945a8
Develop toolchain lowercase names and updates (#2426)
* lowercase the toolchain filenames

* Change name of option define

* Update CI with changed toolchain name

* Correct Intel compiler names

* Account for Intels name for compiler based on clang

* Make icx default and rename classic to icc
2023-02-17 14:37:26 -08:00
Allen Byrne
32a54c0e2e
CMake generated pkg-config file is incorrect #2259 (#2476)
* CMake generated pkg-config file is incorrect #2259

* Fix fortran pc template

* hdf5.pc is incorrect for debug builds #1546

* Correct pkg name and lib name

* Fix typo

* Fix missing space
2023-02-17 14:17:17 -08:00
kwryankrattiger
509fe962d4
CMake: Find MPI in HDF5 CMake config (#2400) 2023-01-18 16:26:35 -06:00
Mark Kittisopikul
720e04e196
Include shlwapi.h explicitly on Windows (#2407)
* Include shlwapi.h explicitly

* Add shlwapi library to LINK_LIB when header is detected

Looking for StrStrIA in the shlwapi library is not reliable due
to stdcall on mingw32.
2023-01-17 07:27:25 -08:00
Dana Robinson
83f81a6422
Adds -Warray-temporaries to the developer warnings (#2385)
These generate a LOT of noise that we are not going to address anytime
soon.
2023-01-03 06:18:48 -08:00
Dana Robinson
cfd5059e77
HL GIF tools changes (#2360)
* Fixes the broken Autotools option
* Removes the "build HL tools" option
2022-12-23 16:05:31 -08:00
Allen Byrne
9f5cf0a457
H5F_LIBVER_LATEST changes for move to 1.15 (#2288)
* H5F_LIBVER_LATEST changes for move to 1.15

* Add new default api check

* Format fixes

* Fix default configure

* fix lib version tests

* Fix another version variable

* Add 1.14 doc link
2022-12-21 10:07:25 -08: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