Compare commits

...

1383 Commits

Author SHA1 Message Date
Larry Knox
111c7ae9ac Merge hdf5 1 10 8 (#1154)
Merge HDF5 1.10.8 release files to 1.10/master
2021-10-29 17:10:31 -05:00
Larry Knox
db30c2da68 Merge HDF5 1.10.7 release files into 1.10/master 2020-10-16 17:47:27 -05:00
Larry Knox
2e2b87d1cb Merge remote-tracking branch 'origin/hdf5_1_10_7' into 1.10/master
Commit files from HDF5 1.10.7 release.
2020-10-16 15:36:36 -05:00
Larry Knox
86deef6dcd Merge pull request #2887 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_7 to hdf5_1_10_7
* commit 'ed49d8eb584bc90a02aea323bb4b6881c3999cd7':
  Correct versions in Tested Configuration Features Summary.
2020-09-11 09:09:37 -05:00
Larry Knox
ed49d8eb58 Correct versions in Tested Configuration Features Summary. 2020-09-11 08:25:27 -05:00
Larry Knox
bd1094856f Merge pull request #2883 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_7 to hdf5_1_10_7
* commit '1e02be328393806dbc41ca1b4f492fe93651a836':
  Update version for HDF5 1.10.7 release.
2020-09-07 23:01:22 -05:00
Larry Knox
1e02be3283 Update version for HDF5 1.10.7 release. 2020-09-07 13:35:34 -05:00
Larry Knox
102f41b8b1 Merge pull request #2881 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_7 to hdf5_1_10_7
* commit '9cfe1d920daf278fdc1d341d68548190bf414adf':
  Add link for release source and binaries to README.txt.
2020-09-04 22:56:31 -05:00
Larry Knox
9cfe1d920d Merge branch 'hdf5_1_10_7' of https://bitbucket.hdfgroup.org/scm/~lrknox/hdf5_lrk into hdf5_1_10_7 2020-09-04 18:59:04 -05:00
Larry Knox
464dd96c29 Add link for release source and binaries to README.txt. 2020-09-04 18:57:11 -05:00
Larry Knox
7ea904933c Merge pull request #2877 in HDFFV/hdf5 from ~BYRN/hdf5_merge_adb:hdf5_1_10_7 to hdf5_1_10_7
* commit '94e15ff3e9d6e3cb7cf35fd8296e69a0f850aff5':
  Add zlib and szip pages
  Correct COPYING path
2020-09-04 16:48:38 -05:00
Larry Knox
75bd8fe97d Merge pull request #2879 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_7 to hdf5_1_10_7
* commit 'abb2e30a0ec629c2e1ab86b19e027311299ff3f8':
  Removed SZIP section of COPYING file.
  Using SZIP/Libaec for clarity.
  Add szip and zlib changes to makeInternalREADME.pl.
  Update version to 1.10.7-2 Update packaging scripts => README file and RELEASE.txt.
2020-09-04 16:47:57 -05:00
Larry Knox
abb2e30a0e Removed SZIP section of COPYING file. 2020-09-04 16:44:49 -05:00
Allen Byrne
94e15ff3e9 Add zlib and szip pages 2020-09-04 15:47:25 -05:00
Larry Knox
28d1b2a5da Using SZIP/Libaec for clarity. 2020-09-04 14:49:33 -05:00
Larry Knox
e0b1b6b9b7 Add szip and zlib changes to makeInternalREADME.pl. 2020-09-04 14:06:02 -05:00
Larry Knox
59ce66cc47 Update version to 1.10.7-2
Update packaging scripts => README file and RELEASE.txt.
2020-09-04 13:52:42 -05:00
Allen Byrne
4294e570d1 Correct COPYING path 2020-09-04 08:14:56 -05:00
Dana Robinson
eb3b12872a Merge pull request #2873 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:hdf5_1_10_7 to hdf5_1_10_7
* commit '136503bcc1d817df4ab7dc4408a54e857048abe3':
  Merges Quincey's parallel collective MD fix from 1.10
2020-09-03 11:11:04 -05:00
Dana Robinson
136503bcc1 Merges Quincey's parallel collective MD fix from 1.10 2020-09-03 08:58:57 -07:00
Larry Knox
d2f365e5e3 Merge pull request #2865 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_7 to hdf5_1_10_7
* commit 'fdc8fd401eca8c1a382f1ddb2653c374b470f6ef':
  Commit Makefile.ins for so number change.
  Update the rest of the so numbers.
  so numbers for libhdf5 were not up to date with numbers in 1.10.6 release.
2020-08-28 10:56:42 -05:00
Larry Knox
fdc8fd401e Commit Makefile.ins for so number change. 2020-08-28 10:28:59 -05:00
Larry Knox
ea205b0ea5 Update the rest of the so numbers. 2020-08-28 10:19:13 -05:00
Larry Knox
1f9767c41a Merge branch 'hdf5_1_10_7' of https://bitbucket.hdfgroup.org/scm/~lrknox/hdf5_lrk into hdf5_1_10_7 2020-08-28 09:51:15 -05:00
Larry Knox
e950eaedd4 so numbers for libhdf5 were not up to date with numbers in 1.10.6 release. 2020-08-28 09:48:43 -05:00
Larry Knox
bae74b0cf0 Merge pull request #2859 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_7 to hdf5_1_10_7
* commit 'fea8f62bcf82514295d6ce6826493663d344ea90':
  Restore empty sections.
  Remove entries from previous release.
  More tested platforms for RELEASE.txt.
  Update tools lib SO numbers. More updates to additional platforms tested.
  Update SO version numbers in lt_vers.am Update supported platforms and compilers in RELEASE.txt;  add more release notes.
2020-08-27 22:36:22 -05:00
Larry Knox
fea8f62bcf Restore empty sections. 2020-08-27 22:21:47 -05:00
Larry Knox
0948bebda8 Remove entries from previous release. 2020-08-27 21:35:06 -05:00
Larry Knox
c37262a890 More tested platforms for RELEASE.txt. 2020-08-27 19:59:16 -05:00
Larry Knox
7ea5768600 Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10_7)
* commit '6ce643976e5490b55e8bbed71d6e6ae2e9f13d83':
  Moves some H5S iterator symbols to H5Sprivate.h
2020-08-27 19:51:00 -05:00
Larry Knox
e64e6c1c42 Update tools lib SO numbers.
More updates to additional platforms tested.
2020-08-27 12:54:52 -05:00
Dana Robinson
6ce643976e Merge pull request #2860 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:hdf5_1_10_7 to hdf5_1_10_7
* commit '2edd69f293e7c2182f04979a2ee9530ec2e90cf1':
  Moves some H5S iterator symbols to H5Sprivate.h
2020-08-27 10:57:31 -05:00
Dana Robinson
2edd69f293 Moves some H5S iterator symbols to H5Sprivate.h
These only need to be public in VOL branches and they show up on the
binary compatibility report. It's better to hide them.
2020-08-27 08:41:53 -07:00
Larry Knox
732a70dc21 Update SO version numbers in lt_vers.am
Update supported platforms and compilers in RELEASE.txt;  add more
release notes.
2020-08-27 09:50:38 -05:00
Larry Knox
ca1afea86a Merge pull request #2857 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_7 to hdf5_1_10_7
* commit 'd93d580c699743bb7c752d843f4b925b67a5adbc':
  Bring HDF5_RELEASE_VERSION_STRING for h5mkgrp_version.txt.in from 1.10 to 1.10.7.
2020-08-27 00:14:21 -05:00
Larry Knox
d93d580c69 Merge branch 'hdf5_1_10_7' of https://bitbucket.hdfgroup.org/scm/~lrknox/hdf5_lrk into hdf5_1_10_7 2020-08-27 00:06:56 -05:00
Larry Knox
9751675c96 Bring HDF5_RELEASE_VERSION_STRING for h5mkgrp_version.txt.in from 1.10
to 1.10.7.
2020-08-27 00:04:19 -05:00
Dana Robinson
5182c44331 Merge pull request #2856 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:hdf5_1_10_7 to hdf5_1_10_7
* commit '331f96e1e6edccfb1dc8c20d9cb7478d52778e72':
  Removes unused H5I_SPACE_SEL_ITER value from H5I_type_t
2020-08-27 00:00:11 -05:00
Dana Robinson
331f96e1e6 Removes unused H5I_SPACE_SEL_ITER value from H5I_type_t 2020-08-26 21:53:33 -07:00
Allen Byrne
d9f3f4f76a Merge pull request #2854 in HDFFV/hdf5 from ~BYRN/hdf5_merge_adb:hdf5_1_10_7 to hdf5_1_10_7
* commit '5e7a3fba706103ed066f536d7ac3e12cb2c06277':
  Merge CMake changes from 1.10 dev
2020-08-26 16:41:11 -05:00
Allen Byrne
5e7a3fba70 Merge CMake changes from 1.10 dev 2020-08-26 16:22:14 -05:00
Dana Robinson
a79a2bf83e Merge pull request #2853 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:hdfs_symbol_fix_1_10_7 to hdf5_1_10_7
* commit '6b341bd1a19005158c76dc4ff00f2d709b2405e3':
  Brings the HDFS binary compatibility and header fixes from 1.10
2020-08-26 16:11:13 -05:00
Dana Robinson
6b341bd1a1 Brings the HDFS binary compatibility and header fixes from 1.10 2020-08-26 14:06:59 -07:00
Larry Knox
f842898e54 Merge pull request #2847 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_7 to hdf5_1_10_7
* commit 'f55868e98d9fe9db82e217ec1008201502f46167':
  Merge pull request #2845 in HDFFV/hdf5 from ~BRTNFLD/hdf5_msb:hdf5_1_10 to hdf5_1_10
2020-08-26 11:44:39 -05:00
Scot Breitenfeld
f55868e98d Merge pull request #2845 in HDFFV/hdf5 from ~BRTNFLD/hdf5_msb:hdf5_1_10 to hdf5_1_10
* commit '817af161a8d463eaec385d0959e06b546f27ae45':
  HDFFV-11018 Add Fortran H5F_LIBVER_V*_F definitions
2020-08-26 11:09:40 -05:00
Larry Knox
58d4e30e6c Merge pull request #2842 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_7 to hdf5_1_10_7
* commit '7a3f80a31e702c029ce7668bb985f37f485fdfc6':
  Merge pull request #2841 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
  Revert "Merge pull request #2840 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_7 to hdf5_1_10_7"
2020-08-25 16:48:31 -05:00
Allen Byrne
7a3f80a31e Merge pull request #2841 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '0fff19665315fabc9754648c0603b073b3d20159':
  Correct HDF5_PACKAGE_VERSION_STRING
2020-08-25 15:55:33 -05:00
Larry Knox
3b3228a398 Revert "Merge pull request #2840 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_7 to hdf5_1_10_7"
This reverts commit c6916356c2, reversing
changes made to 6abf2770b3.
2020-08-25 15:46:52 -05:00
Larry Knox
c6916356c2 Merge pull request #2840 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_7 to hdf5_1_10_7
* commit 'c2bdb265f692aa1ee63c1a76b2c3f15f63d3649d':
  Updated version to 1.10.7.1.  bin/h5vers changed to accomodate the format change.
2020-08-25 12:56:51 -05:00
Larry Knox
c2bdb265f6 Updated version to 1.10.7.1. bin/h5vers changed to accomodate the
format change.
2020-08-25 12:45:07 -05:00
Dana Robinson
6abf2770b3 Merge pull request #2836 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:hdf5_1_10_7 to hdf5_1_10_7
* commit '3eb06edfab1598f5e241bf08ab583c5ee09b7c31':
  Updates autotools generated files based on VFD fixes
2020-08-25 10:57:42 -05:00
Dana Robinson
3eb06edfab Updates autotools generated files based on VFD fixes 2020-08-25 10:54:29 -05:00
Dana Robinson
6ef473949b Merge pull request #2835 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:hdf5_1_10_7_vfd_badness_fix to hdf5_1_10_7
* commit '973360ae33336d8e3c7e050a82c873c3e5bcc47f':
  Brings tools VFD changes from hdf5_1_10
2020-08-25 10:40:31 -05:00
Dana Robinson
973360ae33 Brings tools VFD changes from hdf5_1_10 2020-08-25 08:21:43 -07:00
Larry Knox
27c7d1aca8 Merge pull request #2832 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_7 to hdf5_1_10_7
* commit '3240248a8a12ac04fd454c6016a2636fd31d132c':
  Merge pull request #2828 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
2020-08-24 10:14:40 -05:00
Larry Knox
3240248a8a Merge pull request #2828 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit 'fc3129a92e29b50dac3bd3d3777df13d970a017a':
  Revert H5_VERS_SUBRELEASE check
  Add special case when H5_VERS_SUBRELEASE is 0
  Condition if (H5_VERS_SUBRELEASE) is incorrectly false when H5_VERS_SUBRELEASE is 0, a valid value for H5_VERS_SUBRELEASE. Updated to if (${H5_VERS_SUBRELEASE} STREQUAL "") with corresponding reversal of action statements to avoid NOT.
  Add hypen to subrelease regex
  Add ifdef blocks to S3/HDFS test
2020-08-24 09:48:37 -05:00
Dana Robinson
4f8359f466 Merge pull request #2830 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:hdf5_1_10_7_coll_chunk_fill_fix to hdf5_1_10_7
* commit 'd94805d9d4cf44f206f7e8689eb6ca2a183b7c4f':
  Brings the MPI datatype fixes from hdf5_1_10
2020-08-24 09:00:43 -05:00
Dana Robinson
d94805d9d4 Brings the MPI datatype fixes from hdf5_1_10 2020-08-24 06:22:00 -07:00
Larry Knox
1a2bf7dc76 Merge pull request #2821 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10_7 to hdf5_1_10_7
* commit 'ad7c6150fce68e3bf9151f2d4a138f8cea146931':
  Add missing mirror files
2020-08-21 09:34:31 -05:00
Allen Byrne
ad7c6150fc Add missing mirror files 2020-08-21 08:01:53 -05:00
Dana Robinson
363eb4db91 Merge pull request #2818 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:hdf5_1_10_7 to hdf5_1_10_7
* commit '47868e1b52d13e9343c86d9bf7e1abe3cc8b7c79':
  Updates RELEASE.txt description of H5Pset_file_locking()
2020-08-20 14:21:58 -05:00
Dana Robinson
47868e1b52 Updates RELEASE.txt description of H5Pset_file_locking() 2020-08-20 09:09:14 -07:00
Larry Knox
d0e7afe0ea Merge pull request #2814 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_7 to hdf5_1_10_7
* commit '09c6b077ec401f28c1dcc81d935afc9b1371e978':
  Update configure with optino to disable memory sanity checks.
  Add new Makefile.ins to MANIFEST. Delete H5config.h.in~ that shouldn't have been committed.
2020-08-19 16:06:32 -05:00
Larry Knox
09c6b077ec Update configure with optino to disable memory sanity checks. 2020-08-19 16:02:14 -05:00
Larry Knox
4fd1958f4c Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10_7)
* commit 'bbc344a4f50f18b4d7c17d08ae12818b8192755e':
  Disables memory sanity checks in Autotools debug builds
2020-08-19 15:58:33 -05:00
Dana Robinson
bbc344a4f5 Merge pull request #2813 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:hdf5_1_10_7_sanity to hdf5_1_10_7
* commit '00388c4e0f252f29426416b33d2f4d13c1dcdbb6':
  Disables memory sanity checks in Autotools debug builds
2020-08-19 15:19:32 -05:00
Larry Knox
0945281590 Merge branch 'hdf5_1_10_7' of https://bitbucket.hdfgroup.org/scm/~lrknox/hdf5_lrk into hdf5_1_10_7 2020-08-19 14:16:29 -05:00
Larry Knox
1cc6a4941e Add new Makefile.ins to MANIFEST.
Delete H5config.h.in~ that shouldn't have been committed.
2020-08-19 14:10:51 -05:00
Dana Robinson
00388c4e0f Disables memory sanity checks in Autotools debug builds
** ONLY FOR THIS RELEASE BRANCH **
2020-08-19 12:04:34 -07:00
Larry Knox
5565dd5f20 Merge pull request #2812 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_7 to hdf5_1_10_7
* commit 'aee3fb3d87359ec0e49f07c9d6d2f07f193875fc':
  Commit changes for release branch:  maintainer mode, default to production, set HDFF5_GENERATE_HEADERS to OFF, and add file generated by autogen.sh.
2020-08-19 12:49:04 -05:00
Larry Knox
aee3fb3d87 Commit changes for release branch: maintainer mode, default to production, set HDFF5_GENERATE_HEADERS to OFF, and add file generated by autogen.sh. 2020-08-19 11:28:45 -05:00
Larry Knox
d5abf80c4c Merge pull request #2810 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit 'cd3382ac228b3555460272d0d2ee52f53fe928c9':
  Update RELEASE.txt to correct merge problems and text formatting.
  Update RELEASE.txt entry.
  Remove entries for HDF5 1.10.6 release.
2020-08-19 08:23:35 -05:00
Larry Knox
cd3382ac22 Update RELEASE.txt to correct merge problems and text formatting. 2020-08-19 08:18:32 -05:00
Larry Knox
b77d1bc137 Update RELEASE.txt entry. 2020-08-19 07:12:55 -05:00
Larry Knox
ecd6dfaa87 Merge branch 'hdf5_1_10' of https://bitbucket.hdfgroup.org/scm/~lrknox/hdf5_lrk into hdf5_1_10 2020-08-18 22:49:16 -05:00
Larry Knox
7246f75ca1 Remove entries for HDF5 1.10.6 release. 2020-08-18 22:48:23 -05:00
Larry Knox
d6bbc30b8b Merge pull request #2809 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr2020:hdf5_bmr2020_addrsani_110 to hdf5_1_10
* commit '66233315e78ae1b84561632535e776a24ebf0243':
  Updated bug fix for HDFFV-11101
2020-08-18 22:44:36 -05:00
Binh-Minh Ribler
66233315e7 Updated bug fix for HDFFV-11101 2020-08-18 17:54:44 -05:00
Dana Robinson
8fc569f6d1 Merge pull request #2808 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:bounds_refactor to hdf5_1_10
* commit 'f6ee6e59e1516bcc3c4c444e886835db89113e93':
  Fixes typo and return types in version bounds test
  Refactors the 1.10 reference/selection bounds tests
2020-08-18 16:57:20 -05:00
Dana Robinson
f6ee6e59e1 Fixes typo and return types in version bounds test 2020-08-18 13:45:50 -07:00
Dana Robinson
ebb6221dde Refactors the 1.10 reference/selection bounds tests 2020-08-18 13:38:16 -07:00
Dana Robinson
5a8e14ae6c Merge pull request #2807 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:final_1_10_prs to hdf5_1_10
* commit 'c9f8ef3e185a7a2b16bc9d0200435c242969d0a2':
  Fixed one last trailing whitespace character
  Fixed trailing whitespace from revert.
  Revert "Don't track file offset position when using pread / pwrite."
2020-08-18 13:26:47 -05:00
Dana Robinson
c9f8ef3e18 Fixed one last trailing whitespace character 2020-08-18 11:21:01 -07:00
Dana Robinson
666a580bda Fixed trailing whitespace from revert. 2020-08-18 11:19:43 -07:00
Dana Robinson
fcaa0b9b5c Revert "Don't track file offset position when using pread / pwrite."
This reverts commit 9e5a68214a.
2020-08-18 11:11:26 -07:00
Dana Robinson
bc6a36e125 Merge pull request #2804 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:final_1_10_prs to hdf5_1_10
* commit '41da55dfe836551936032a33aa7b0acb9d4dc7cb':
  Adds missing HDstrtoumax for S3 VFD
  Merge of develop PRs to 1.10
2020-08-18 11:59:15 -05:00
Dana Robinson
41da55dfe8 Adds missing HDstrtoumax for S3 VFD 2020-08-18 07:45:49 -07:00
Dana Robinson
fe4fe14515 Merge of develop PRs to 1.10 2020-08-18 07:23:19 -07:00
Larry Knox
de8830ca7f Merge pull request #2802 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:swmr_test_fail_cmake_1_10 to hdf5_1_10
* commit '4cf784b63b49a6eb6782a80c7b876029cb0199c4':
  Fixes CMake issue with file locking variable
2020-08-18 08:36:20 -05:00
Dana Robinson
4cf784b63b Fixes CMake issue with file locking variable 2020-08-18 06:30:17 -07:00
Larry Knox
79613e3858 Merge pull request #2799 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr2020:hdf5_bmr2020_addrsani_110 to hdf5_1_10
* commit 'ede1b9b1dd53caad6dfce8ec7bc4aa7b3dbce62c':
  Fix HDFFV-11101
2020-08-18 08:04:22 -05:00
Larry Knox
a99b7336c7 Merge pull request #2772 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr:hdf5_bmr_HDFFV-10933_110 to hdf5_1_10
* commit '538bdb35ae932a1445f32a04e8173f8805d404f8':
  Updated for HDFFV-10933
  Fixed HDFFV-10933
2020-08-18 08:03:53 -05:00
Binh-Minh Ribler
ede1b9b1dd Fix HDFFV-11101
Description
    Added initialization to local structs in the src function
    H5MF_settle_raw_data_fsm() and the test function test_bt2_hdr_fd()
    to prevent the following error in two different occurrences:
        MemorySanitizer: use-of-uninitialized-value
Platforms tested:
    Linux/64 (jelly)
2020-08-18 00:49:09 -05:00
Dana Robinson
fa7ae0e001 Merge pull request #2798 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:h5f_start_swmr_write_locks to hdf5_1_10
* commit 'dfd5e0bf3e5e360786143bf0486d52120342ef14':
  Brings H5Fstart_swmr_write changes from develop
  Adds fix for H5Fstart_swmr_write lock issue
2020-08-17 23:34:36 -05:00
Dana Robinson
dfd5e0bf3e Brings H5Fstart_swmr_write changes from develop 2020-08-17 20:08:55 -07:00
Dana Robinson
30574df165 Merge branch 'hdf5_1_10' into h5f_start_swmr_write_locks 2020-08-17 19:58:35 -07:00
Dana Robinson
b11c33184f Merge pull request #2797 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:1_10_normalization to hdf5_1_10
* commit 'c0a05da7c0189e9f0833f69506bce2775a01aa2b':
  Adds missing hdfs test changes.
2020-08-17 21:56:33 -05:00
Dana Robinson
34f804f8a2 Merge pull request #2789 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:h5ac_skiplist_optimization_1_10 to hdf5_1_10
* commit '90fa429c015649fee878530817e503393e9f269c':
  Brings the MDC skiplist optimizations from develop
2020-08-17 21:29:34 -05:00
Dana Robinson
c0a05da7c0 Adds missing hdfs test changes. 2020-08-17 18:40:31 -07:00
Dana Robinson
0997b12cf5 Merge branch 'hdf5_1_10' into h5f_start_swmr_write_locks 2020-08-17 16:41:09 -07:00
Dana Robinson
c1a6fffdf1 Merge pull request #2793 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:1_10_normalization to hdf5_1_10
* commit '350c9e9b05b86b7b6660c1b596b7e1ddb5fe0854':
  Brings over S3 and HDFS VFD changes from develop
2020-08-17 16:53:13 -05:00
Dana Robinson
350c9e9b05 Brings over S3 and HDFS VFD changes from develop 2020-08-17 12:35:40 -07:00
Larry Knox
a7ca4210bc Merge pull request #2790 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit 'aa4a50a5b0642229bdfb9272f39eb7dd24909be7':
  Fix MANIFEST.
2020-08-17 12:32:04 -05:00
Larry Knox
aa4a50a5b0 Fix MANIFEST. 2020-08-17 12:25:12 -05:00
Dana Robinson
90fa429c01 Brings the MDC skiplist optimizations from develop 2020-08-17 10:05:05 -07:00
Larry Knox
9457d3d4b4 Merge pull request #2786 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit '3b9c648180fcdc7ac4e110f4455d00e67322b742':
  Merge pull request #2753 in HDFFV/hdf5 from ~EPOURMAL/hdf5_ep:develop to develo
  1. HDFFV-10830 part 2, move AC_CHECK_HEADERS([szlib.h] after         AC_CHECK_LIB([sz], [SZ_BufftoBuffCompress] to avoid compiling             H5Z.c with szlib.h after its path is removed from AM_CPPFLAGS. 2. Remove unnecessary links to ${HDF5_TOOLS_LIB_TARGET} in utils/mirror_vfd/CMakeLists.txt that prevent building HDF5 with tools disabled.
2020-08-17 10:42:48 -05:00
Elena Pourmal
3b9c648180 Merge pull request #2753 in HDFFV/hdf5 from ~EPOURMAL/hdf5_ep:develop to develo
Code was already merged to hdf5_1_10.  Merging the RELESE.txt entry for
HDFFV-10436.
2020-08-17 10:22:24 -05:00
Dana Robinson
22b8f56d5e Adds fix for H5Fstart_swmr_write lock issue
Needs a final review pass.
2020-08-17 07:16:23 -07:00
Dana Robinson
75ab7c667c Merge pull request #2783 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:1_10_fortran to hdf5_1_10
* commit 'f2044e0807f57416932afd5bc800e9e32042c0c8':
  Brings fortran changes from develop
2020-08-17 08:59:26 -05:00
Dana Robinson
c451abb58f Merge pull request #2785 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:1_10_normalization to hdf5_1_10
* commit '88ecc17474e86e67f0ce64ed0b36c0d10e93eb66':
  Removes email and Modifications sections
2020-08-17 07:56:35 -05:00
Larry Knox
8b75cd714b 1. HDFFV-10830 part 2, move AC_CHECK_HEADERS([szlib.h] after
AC_CHECK_LIB([sz], [SZ_BufftoBuffCompress] to avoid compiling
            H5Z.c with szlib.h after its path is removed from AM_CPPFLAGS.
2. Remove unnecessary links to ${HDF5_TOOLS_LIB_TARGET} in
utils/mirror_vfd/CMakeLists.txt that prevent building HDF5 with tools
disabled.
2020-08-17 07:03:28 -05:00
Dana Robinson
88ecc17474 Removes email and Modifications sections 2020-08-16 18:04:48 -07:00
Dana Robinson
f2044e0807 Brings fortran changes from develop 2020-08-16 15:00:40 -07:00
Dana Robinson
12c3192d5d Merge pull request #2782 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:1_10_normalization to hdf5_1_10
* commit '4312f5ea1a611cef01e9ecfb57d7c287c9549249':
  Adds unsuffixed double warning changes from develop
  Minor normalizations with develop
2020-08-16 16:34:36 -05:00
Dana Robinson
4312f5ea1a Adds unsuffixed double warning changes from develop 2020-08-16 14:33:04 -07:00
Dana Robinson
ba42c55e23 Minor normalizations with develop 2020-08-16 14:09:22 -07:00
Dana Robinson
2dde1a9957 Merge pull request #2781 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:1_10_normalization to hdf5_1_10
* commit 'cba993c3492d773e5d0923257382eca17e594910':
  Minor normalizations with develop
2020-08-16 15:56:08 -05:00
Allen Byrne
de944a7f04 Merge pull request #2780 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '7d02a1769f7d69f5401ddd64232ced3ae1b7e75f':
  Fix javadoc warning
2020-08-16 14:26:33 -05:00
Dana Robinson
cba993c349 Minor normalizations with develop 2020-08-16 12:25:09 -07:00
Allen Byrne
7d02a1769f Fix javadoc warning 2020-08-16 13:33:07 -05:00
Dana Robinson
72195bf60d Merge pull request #2778 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:1_10_normalization to hdf5_1_10
* commit '0ba794be38b908271e6a2d8f5e231e4b097f25e5':
  Normalizations with develop
2020-08-16 11:41:33 -05:00
Allen Byrne
cd5ad23bea Merge pull request #2775 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '4a6a11dd35e964b1e06055d924b0c6dd043ab1b6':
  Tag TRILABS-227 and fix MANIFEST
  HDFFV-9984 Add merge/prune h5repack options for ext links
2020-08-16 10:19:59 -05:00
Dana Robinson
0ba794be38 Normalizations with develop 2020-08-16 00:06:47 -07:00
Binh-Minh Ribler
538bdb35ae Updated for HDFFV-10933 2020-08-15 23:52:06 -05:00
Allen Byrne
4a6a11dd35 Tag TRILABS-227 and fix MANIFEST 2020-08-15 18:19:42 -05:00
Allen Byrne
2f895fe96a Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit 'c638d93f3e660ce669a36e50a02473aac126953d':
  Fixes missing chunk_info entry in CMake files
  Even more normalization with develop
  More normalizations with develop
  Misc normalizations with develop
  Normalization of perform directory with develop
  Brings monotonic timer changes from develop
  Brings Mirror VFD to 1.10 from develop
  Brings splitter VFD from develop
  Brings file locking changes from develop
2020-08-15 16:30:24 -05:00
Dana Robinson
c638d93f3e Merge pull request #2770 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:1_10_normalization to hdf5_1_10
* commit 'e9305abf48426f265d7ec3ae54538e3ded8889ea':
  Fixes missing chunk_info entry in CMake files
  Even more normalization with develop
  More normalizations with develop
  Misc normalizations with develop
  Normalization of perform directory with develop
  Brings monotonic timer changes from develop
  Brings Mirror VFD to 1.10 from develop
  Brings splitter VFD from develop
  Brings file locking changes from develop
2020-08-15 16:20:18 -05:00
Dana Robinson
e9305abf48 Fixes missing chunk_info entry in CMake files 2020-08-15 14:19:34 -07:00
Allen Byrne
59316d1327 HDFFV-9984 Add merge/prune h5repack options for ext links 2020-08-15 14:14:50 -05:00
Dana Robinson
13cb4e16d2 Even more normalization with develop 2020-08-14 20:32:50 -07:00
Dana Robinson
71bf801ca2 More normalizations with develop 2020-08-14 19:11:20 -07:00
Dana Robinson
25520640b2 Misc normalizations with develop 2020-08-14 18:59:24 -07:00
Dana Robinson
686dbefff5 Normalization of perform directory with develop
Brings over chunk_cache program
2020-08-14 18:02:55 -07:00
Dana Robinson
62c296f1eb Brings monotonic timer changes from develop 2020-08-14 17:16:11 -07:00
Dana Robinson
5a61eb24af Brings Mirror VFD to 1.10 from develop 2020-08-14 16:15:44 -07:00
Dana Robinson
7bca2f04a4 Brings splitter VFD from develop 2020-08-14 14:51:53 -07:00
Binh-Minh Ribler
d7772d6c69 Fixed HDFFV-10933
Description:
    Fixed to allow the creation of a dataset when the combination of type,
    space, etc doesn't work for filter and the filter is optional. Currently,
    it was supposed to be skipped as indicated in the documentation, but it
    was not skipped and the creation failed.
    The function H5Z_ignore_filters was added and used in H5D__create.
Platforms tested:
    Linux/64 (jelly)
2020-08-14 16:17:08 -05:00
Dana Robinson
039213d919 Brings file locking changes from develop 2020-08-14 12:35:07 -07:00
Dana Robinson
8e7c24f514 Merge pull request #2766 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:1_10_normalization to hdf5_1_10
* commit 'b8b219d19d158d272cd6b1037bbc8d6e3d64fc73':
  Cherry pick of Windows thread-safety fixes from develop
2020-08-14 10:45:24 -05:00
Dana Robinson
b8b219d19d Cherry pick of Windows thread-safety fixes from develop 2020-08-14 07:39:00 -07:00
Allen Byrne
99875ecff4 Merge pull request #2758 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '4e65a43f143f603d2b76f6f138d0d64432937548':
  Spelling
  HDFFV-11127 - force RTLD_LOCAL in dlopen
2020-08-13 06:26:23 -05:00
Allen Byrne
4e65a43f14 Spelling 2020-08-13 06:24:45 -05:00
Allen Byrne
e70fee7f36 HDFFV-11127 - force RTLD_LOCAL in dlopen 2020-08-12 16:19:55 -05:00
Dana Robinson
60abc27c16 Merge pull request #2750 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:1_10_normalization to hdf5_1_10
* commit '98ca520f55531b0783bb1425c1fb3a125c1c40f7':
  Brings HDFFV-11027 H5S_NO_CLASS fix to 1.10 from develop
2020-08-11 13:16:49 -05:00
Dana Robinson
98ca520f55 Brings HDFFV-11027 H5S_NO_CLASS fix to 1.10 from develop 2020-08-11 09:48:47 -07:00
Binh-Minh Ribler
0ea4639d9d Merge pull request #2731 in HDFFV/hdf5 from bmr-HDFFV-11120_110 to hdf5_1_10
Fix HDFFV-11120 and HDFFV-11121 (CVE-2018-13870 and CVE-2018-13869)

* commit 'a324025e00adf3dd0a9d475cfff5af2ec4c7576c':
  Fixed typo
  Fix HDFFV-11120 and HDFFV-11121 (CVE-2018-13870 and CVE-2018-13869)
2020-08-04 12:11:25 -05:00
Binh-Minh Ribler
a324025e00 Fixed typo 2020-08-04 12:06:45 -05:00
Binh-Minh Ribler
068fc878c3 Fix HDFFV-11120 and HDFFV-11121 (CVE-2018-13870 and CVE-2018-13869)
Description:
    When a buffer overflow occurred because a name length was corrupted
    and became very large, h5dump produced a segfault on one file and a
    memcpy parameter overlap on another file.  This commit added checks
    that detect a read pass the end of the buffer to prevent these error
    conditions.
Platforms tested:
    Linux/64 (jelly)
2020-08-03 12:48:58 -05:00
Dana Robinson
7a80f551a6 Merge pull request #2724 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:1_10_normalization to hdf5_1_10
* commit 'bfe04875838d8c3baea58c3fbfb16d9ee88d3beb':
  Normalization and warning fixes from develop
2020-08-01 11:36:13 -05:00
Dana Robinson
bfe0487583 Normalization and warning fixes from develop 2020-07-31 11:58:46 -07:00
Allen Byrne
ddb2e961ee Merge pull request #2719 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '24369a4ff14f873a63a1e77b7069078dac284098':
  Remove mingw from windows copy
  Additional warnings removed
  More warnings reduction
  Warnings reduction in tools
2020-07-31 13:25:48 -05:00
Allen Byrne
24369a4ff1 Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit 'd17b3f53f87469fcab75baac99cdfb065186228a':
  Minor normalization with develop
2020-07-31 07:52:24 -05:00
Allen Byrne
1167752aaf Remove mingw from windows copy 2020-07-31 07:27:37 -05:00
Dana Robinson
d17b3f53f8 Merge pull request #2721 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:1_10_normalization to hdf5_1_10
* commit 'f977c4dfd0e5eb6f6e8527bdc9e48edebe500d78':
  Minor normalization with develop
2020-07-30 20:16:06 -05:00
Dana Robinson
f977c4dfd0 Merge branch 'hdf5_1_10' into 1_10_normalization 2020-07-30 15:26:39 -07:00
Allen Byrne
732a1a35f3 Additional warnings removed 2020-07-30 14:58:34 -05:00
Allen Byrne
0731cf7e0e More warnings reduction 2020-07-30 14:53:08 -05:00
Allen Byrne
617d269ceb Warnings reduction in tools 2020-07-30 14:21:26 -05:00
Allen Byrne
11bfbb1001 Merge pull request #2717 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '5c4a6949c403afcaae484588a93063d37175e1a8':
  Correct reference file
  Correct h5diff test file names
2020-07-29 14:54:00 -05:00
Allen Byrne
5c4a6949c4 Correct reference file 2020-07-29 13:00:20 -05:00
Allen Byrne
9214cb3a31 Correct h5diff test file names 2020-07-29 08:48:12 -05:00
Allen Byrne
84704bad04 Merge pull request #2709 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '7ff2d27e5b268dd3576ce4fc87be69ae06118058':
  Add missing VFD open loop
  Merge changes from dev
  Merge from dev of tools changes
2020-07-29 07:09:31 -05:00
Allen Byrne
7ff2d27e5b Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit '475120abfb493098e907fe40073260f48b35d15d':
  Supply the appropriate file pointer to H5T_patch_vlen_file() without H5F_VOL_OBJ from develop branch.
  Merge pull request #2693 in HDFFV/hdf5 from ~VCHOI/my_third_fork:bugfix/HDFFV-11080-heap-use-after-free-by-the-call to develop
2020-07-29 06:32:18 -05:00
Vailin Choi
475120abfb Merge pull request #2707 in HDFFV/hdf5 from ~VCHOI/my_third_fork:bugfix/110_HDFFV-11080-heap-use-after-free-by-the-call to hdf5_1_10
* commit 'bdc6edfc5ce07363faf79519389ef149a4094530':
  Supply the appropriate file pointer to H5T_patch_vlen_file() without H5F_VOL_OBJ from develop branch.
  Merge pull request #2693 in HDFFV/hdf5 from ~VCHOI/my_third_fork:bugfix/HDFFV-11080-heap-use-after-free-by-the-call to develop
2020-07-28 19:31:18 -05:00
Allen Byrne
ad2b0a2a63 Add missing VFD open loop 2020-07-28 14:50:35 -05:00
Allen Byrne
3b4e7ab052 Merge changes from dev 2020-07-28 08:05:07 -05:00
Dana Robinson
34323c289d Minor normalization with develop 2020-07-27 11:09:56 -07:00
Allen Byrne
099c7242fb Merge from dev of tools changes 2020-07-22 15:03:22 -05:00
vchoi
bdc6edfc5c Supply the appropriate file pointer to H5T_patch_vlen_file() without H5F_VOL_OBJ from develop branch. 2020-07-21 16:01:38 -05:00
Vailin Choi
ccf4a92ec6 Merge pull request #2693 in HDFFV/hdf5 from ~VCHOI/my_third_fork:bugfix/HDFFV-11080-heap-use-after-free-by-the-call to develop
* commit '3023b34272cc6ada84aebfa7441a6a55afa3621c':
  Update MANIFEST. Add new test to Cmake.
  Fix for jira issue HDFFV-11080: (1) Patch up the file pointer when reading attribute of variable length datatype (2) Test to verify the fix when doing multiple threads
2020-07-21 12:57:12 -05:00
Allen Byrne
0ee5d67621 Merge pull request #2705 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '892ccb28fbf37b196dfea9043b09b1dae8e8d501':
  Examples DESTDIR and github action
2020-07-21 10:39:46 -05:00
Allen Byrne
892ccb28fb Examples DESTDIR and github action 2020-07-21 09:49:09 -05:00
Dana Robinson
9dfeb4020c Merge pull request #2704 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:1_10_normalization to hdf5_1_10
* commit 'aecefbb2f5737890a27dcfd2ef20276d2ff88b2a':
  Corrected missing H5CS thread-safety change.
  Brought over thread-safety changes from develop.
2020-07-20 16:26:15 -05:00
Dana Robinson
aecefbb2f5 Corrected missing H5CS thread-safety change. 2020-07-20 14:08:31 -07:00
Dana Robinson
a3aedfff18 Brought over thread-safety changes from develop. 2020-07-20 14:06:54 -07:00
Dana Robinson
09c266186d Merge pull request #2702 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:1_10_normalization to hdf5_1_10
* commit '795a2e5058c6214df1777a073e6b058638377003':
  Normalization with develop.
2020-07-20 13:23:49 -05:00
Dana Robinson
795a2e5058 Normalization with develop. 2020-07-20 11:12:38 -07:00
Allen Byrne
d50d8afddd Merge pull request #2698 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '8c9b3d240c0e89cb6f538ee9d567dfa0e7fff6c0':
  CMake updates:
2020-07-20 07:07:23 -05:00
Allen Byrne
8c9b3d240c Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit '8b6cd7cfddf91308cf860f2da3d28e208fd89788':
  Merge of dataspace improvements from develop.
2020-07-17 07:01:27 -05:00
Dana Robinson
8b6cd7cfdd Merge pull request #2699 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:hdf5_1_10_merge to hdf5_1_10
* commit '02762e8244741b9ff1f9203788e7237f53cf8d96':
  Merge of dataspace improvements from develop.
2020-07-16 22:18:26 -05:00
Dana Robinson
02762e8244 Merge of dataspace improvements from develop. 2020-07-16 12:16:05 -07:00
Allen Byrne
b0445792fb CMake updates:
Add build folder as Include for generated files
Add install option for copying Fortran mod files to include folder
Add PRI defines to win32defs file
Exclude mingw from extra flags
2020-07-15 11:27:52 -05:00
Larry Knox
1ecb6ec9c5 Merge pull request #2690 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit 'fe18e4fd13bdc6433f46b8f35d6057acb306b824':
  Merge pull request #2686 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
2020-07-14 12:59:26 -05:00
Larry Knox
fe18e4fd13 Merge pull request #2686 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
* commit '800f93f7c994f88dfa716746153ded4b1e690e3a':
  Remove path to szip header file from AM_CPPFLAGS when configure check of libsz fails. Fix for HDFFV-10830.
2020-07-13 12:24:59 -05:00
Dana Robinson
f643e090a3 Merge pull request #2685 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:h5s_1_10 to hdf5_1_10
* commit '443aa9a38f59bf4148925a86c07cfe14bac9e888':
  Moved over the H5S_hyper_diminfo_t from develop.
  Moved hyperslab code to use the new H5S_diminfo_valid_t enum.
  H5S_hyper_adjust_s() optimization from develop.
  Fixed Duff's device fall through warnings in hyperslab code.
  H5F and H5FS normalization with develop.
  Minor renaming in H5S hyperslab code.
2020-07-10 09:33:56 -05:00
Dana Robinson
443aa9a38f Moved over the H5S_hyper_diminfo_t from develop.
Also fixed the issue with the H5S_diminfo_valid_t enum from the
last commit.
2020-07-09 18:53:18 -07:00
Dana Robinson
07dc341238 Moved hyperslab code to use the new H5S_diminfo_valid_t enum. 2020-07-09 17:00:29 -07:00
Dana Robinson
ca50f03bca H5S_hyper_adjust_s() optimization from develop. 2020-07-09 15:40:18 -07:00
Dana Robinson
e9313f3147 Fixed Duff's device fall through warnings in hyperslab code. 2020-07-09 15:19:14 -07:00
Dana Robinson
252c57f8d0 H5F and H5FS normalization with develop. 2020-07-09 13:38:38 -07:00
Dana Robinson
348b6d97a7 Minor renaming in H5S hyperslab code. 2020-07-09 11:11:27 -07:00
Dana Robinson
a1dd404892 Merge pull request #2682 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:h5s_1_10 to hdf5_1_10
* commit '30c756decb6101704a925443d623301656ba60e4':
  Misc normalizations with develop.
  Added missing types to bin/trace after develop normalization.
  More normalization with H5S from develop.
  Continued normalization of H5S with develop.
  Normalization of H5MM and H5FL with develop. Adds the new stats calls.
  Further normalization of H5S with develop
2020-07-09 10:29:34 -05:00
Dana Robinson
30c756decb Misc normalizations with develop. 2020-07-09 01:41:10 -07:00
Dana Robinson
205fb7c915 Added missing types to bin/trace after develop normalization. 2020-07-08 21:42:48 -07:00
Dana Robinson
82746d09b6 More normalization with H5S from develop. 2020-07-08 21:40:34 -07:00
Dana Robinson
d36ff651af Continued normalization of H5S with develop. 2020-07-08 17:41:47 -07:00
Dana Robinson
2e7e454537 Merge pull request #2681 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:h5s_1_10 to hdf5_1_10
* commit '76b579e142df42aa91d5ca5d66c6e413ec5ed608':
  Normalization of H5S package with develop
2020-07-08 16:31:12 -05:00
Dana Robinson
185ec14f36 Normalization of H5MM and H5FL with develop. Adds the new
stats calls.
2020-07-08 14:24:55 -07:00
Dana Robinson
50ef7ff996 Further normalization of H5S with develop 2020-07-08 13:54:37 -07:00
Dana Robinson
76b579e142 Normalization of H5S package with develop 2020-07-08 12:10:26 -07:00
Larry Knox
56a4cd641a Merge pull request #2679 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit 'c0702f601eb4e0b4116a7ed02999746c20420cad':
  Change load path in libhdf5_java.dylib to unversioned libhdf5.dylib for junit tests on Macs.
  Merge pull request #2667 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
  Merge pull request #2670 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
2020-07-07 16:28:10 -05:00
Binh-Minh Ribler
0cff7d03f8 Merge pull request #2675 in HDFFV/hdf5 from bmr_HDFFV-10591-v110 to hdf5_1_10
Fixed HDFFV-10591 (CVE-2018-17435)

* commit 'bf3ef96e9d5a28e824d7e89b5af590b61f530944':
  Fix HDFFV-10591
2020-07-07 12:49:24 -05:00
Larry Knox
c0702f601e Change load path in libhdf5_java.dylib to unversioned libhdf5.dylib for junit tests on Macs. 2020-07-07 10:48:08 -05:00
Larry Knox
713b575c24 Merge pull request #2667 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
* commit '32c483cb86031962a09ecdb49dcb331d28dddee9':
  Copy lib files for junit.sh to temporary subdirectory of <build directory>/java/test instead of to the prefix/lib directory.  Fix for HDFFV-11063.
2020-07-06 15:17:54 -05:00
Larry Knox
c6f2205abe Merge pull request #2670 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
* commit 'fc69de0e8ae30e80c1c3c542b156226a75444525':
  Lib files needed are now copied to a subdirectory in the java/test directory, and on Macs the loader path for libhdf5.xxxs.so is changed in the temporary copy of libhdf5_java.dylib. Fix for HDFFV-11063
2020-07-06 14:21:53 -05:00
Binh-Minh Ribler
bf3ef96e9d Fix HDFFV-10591
Description:
    h52gif produced a segfault when a buffer overflow occurred because
    the data size was corrupted and became very large.  This commit added
    a check on the data size against the buffer size to prevent the segfault.
    It also added error reporting to h52gif to display an error message
    instead of silently exiting when the failure occurred.
Platforms tested:
    Linux/64 (jelly)
2020-07-05 16:15:28 -05:00
Larry Knox
37f6de1b30 Merge pull request #2661 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit 'c8043ad61612671e938638f88c6310270e38d521':
  Fix MANIFEST
2020-06-23 09:44:37 -05:00
Dana Robinson
c8043ad616 Fix MANIFEST 2020-06-23 08:38:27 -05:00
Allen Byrne
4f5e1028da Merge pull request #2651 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '61d21839269b9e3902cd0a09c3f773ec5f41e280':
  Correct arg references
  HDFFV-11111 correct ifdef logic
  HDFFV-11111 add unimplemented errors in JNI
2020-06-22 09:43:40 -05:00
Allen Byrne
61d2183926 Correct arg references 2020-06-22 08:49:18 -05:00
Larry Knox
3eead81572 Merge pull request #2657 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit 'e64ed323db7c98a246d3386a146f87003886040a':
  Merge pull request #2656 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:changes_1_12_merge to hdf5_1_12
2020-06-22 08:34:09 -05:00
Allen Byrne
22ffecbae3 Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit 'cafb6e572822c0a7bb985f237b600944f9fcdb3c':
  Reduce overhead for H5open, which is involved in the public symbols like H5T_NATIVE_INT, etc.
  H5PB and H5Faccum normalization with develop.
  H5F normalizations with develop.
2020-06-22 08:13:02 -05:00
Dana Robinson
cafb6e5728 Merge pull request #2658 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:1_10_normalization to hdf5_1_10
* commit '3c9eaf294fb1862af75837f0150990112c735530':
  Reduce overhead for H5open, which is involved in the public symbols like H5T_NATIVE_INT, etc.
  H5PB and H5Faccum normalization with develop.
  H5F normalizations with develop.
2020-06-22 07:31:08 -05:00
Dana Robinson
3c9eaf294f Reduce overhead for H5open, which is involved in the public symbols like H5T_NATIVE_INT, etc. 2020-06-22 01:38:56 -07:00
Larry Knox
e64ed323db Merge pull request #2656 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:changes_1_12_merge to hdf5_1_12
* commit '538b1317646f52658c2a896bbde4dce4246a9761':
  Squashed commit of the following:
  Addition of clang-warnings flags
  Update examples/teth5cc.sh.in for version 1.10.
2020-06-21 17:42:59 -05:00
Dana Robinson
4cb14e5cca Merge branch 'hdf5_1_10' into 1_10_normalization 2020-06-19 21:07:52 -07:00
Allen Byrne
e4e86174dc HDFFV-11111 correct ifdef logic 2020-06-18 14:41:03 -05:00
Allen Byrne
00f39b23c1 HDFFV-11111 add unimplemented errors in JNI 2020-06-18 13:20:47 -05:00
Vailin Choi
8e62f1fe7b Merge pull request #2645 in HDFFV/hdf5 from ~VCHOI/my_third_fork:bugfix/110_HDFFV-10961-h5clear-usage-statement-give to hdf5_1_10
* commit '34d57480f69123e947d5b2d7b5b4cc3d62bb00c2':
  Merge pull request #2643 in HDFFV/hdf5 from ~VCHOI/my_third_fork:bugfix/HDFFV-10961-h5clear-usage-statement-give to develop
2020-06-15 08:25:34 -05:00
Vailin Choi
34d57480f6 Merge pull request #2643 in HDFFV/hdf5 from ~VCHOI/my_third_fork:bugfix/HDFFV-10961-h5clear-usage-statement-give to develop
* commit '01b632c69ca1c97c2b0e1aaeeab1dd2362b580a6':
  Fix for HDFFV-10961: Couple changes to the tests' usage output files for h5clear.
  Fix for HDFFV-10961: add description to usage for --increment option.
2020-06-11 17:18:58 -05:00
Dana Robinson
47bf6a39be H5PB and H5Faccum normalization with develop. 2020-06-04 16:54:16 -07:00
Dana Robinson
dffe5efbb0 H5F normalizations with develop. 2020-06-04 12:52:31 -07:00
Dana Robinson
b347f01620 Merge pull request #2624 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:1_10_normalization to hdf5_1_10
* commit 'b699ee19cef1315dd07a331019730f214914331b':
  Normalization of H5T.c with develop.
  Normalization of H5D.c with develop.
2020-06-04 11:26:32 -05:00
Dana Robinson
b699ee19ce Merge branch '1_10_normalization' of https://bitbucket.hdfgroup.org/scm/~derobins/hdf5_der into 1_10_normalization 2020-06-03 23:35:45 -07:00
Dana Robinson
5adb579067 Normalization of H5T.c with develop. 2020-06-03 23:34:47 -07:00
Dana Robinson
1f37602ba1 Normalization of H5D.c with develop. 2020-06-03 23:06:48 -07:00
Dana Robinson
9c18bb99e8 Merge pull request #2620 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:1_10_normalization to hdf5_1_10
* commit '5aea9e5abab3293afa173fa86d17d1abf20ad86b':
  Normalization with develop in H5D and H5CX.
2020-06-02 08:30:54 -05:00
Dana Robinson
5aea9e5aba Normalization with develop in H5D and H5CX. 2020-06-01 21:24:48 -07:00
Dana Robinson
1746beec56 Merge branch 'hdf5_1_10' into 1_10_normalization 2020-06-01 11:26:24 -07:00
Dana Robinson
6487ce4558 Merge pull request #2618 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:1_10_normalization to hdf5_1_10
* commit 'aa279ebd1669761f6b37146125dd1fcc0cf99431':
  More normalization with develop (C library).
2020-06-01 13:25:15 -05:00
Dana Robinson
aa279ebd16 More normalization with develop (C library). 2020-06-01 11:10:17 -07:00
Dana Robinson
eb8cefc950 Merge pull request #2617 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:1_10_normalization to hdf5_1_10
* commit '6468a613fd14570a29bb54c0437bbc087f770621':
  Many normalizations with develop.
2020-05-30 13:14:40 -05:00
Dana Robinson
6468a613fd Many normalizations with develop. 2020-05-30 00:38:48 -07:00
Dana Robinson
a1a05d220a Merge pull request #2616 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:1_10_normalization to hdf5_1_10
* commit '0dfddee5a1db3ea096fb6fa358f8d0b3f15ae983':
  Normalization with develop in the MD cache clients.
2020-05-29 15:57:43 -05:00
Dana Robinson
0dfddee5a1 Normalization with develop in the MD cache clients. 2020-05-29 12:54:49 -07:00
Dana Robinson
fa9ea3b127 Merge pull request #2613 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:1_10_normalization to hdf5_1_10
* commit 'a67f73add8e9d8d40b71ad59434c00a606f9bec8':
  Normalization with develop of the VFDs and H5F package.
2020-05-28 16:33:01 -05:00
Dana Robinson
a67f73add8 Normalization with develop of the VFDs and H5F package. 2020-05-28 12:54:36 -07:00
Dana Robinson
c433d3fb49 Merge pull request #2612 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:1_10_normalization to hdf5_1_10
* commit '7deefc4211612d2f9753f5c8678f2c413ef0715e':
  Some normalization with develop in testhdf5 files.
2020-05-28 07:11:52 -05:00
Dana Robinson
7deefc4211 Some normalization with develop in testhdf5 files. 2020-05-27 17:40:05 -07:00
Dana Robinson
6c808e581b Merge pull request #2607 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:1_10_normalization to hdf5_1_10
* commit '2477b6014582cd24a91d2b1daf0e5c451eda9b3e':
  Removed trailing whitespace from source files.
2020-05-26 16:07:05 -05:00
Dana Robinson
2477b60145 Removed trailing whitespace from source files. 2020-05-26 13:07:43 -07:00
Dana Robinson
8c8021ce14 Merge pull request #2606 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:1_10_normalization to hdf5_1_10
* commit '7746c3a45a8c920e51ba88da7be14cc075be7f17':
  Changed H5F_file_t to H5F_shared_t (as in develop/1.12)
2020-05-26 13:17:08 -05:00
Dana Robinson
7746c3a45a Changed H5F_file_t to H5F_shared_t (as in develop/1.12) 2020-05-26 10:10:17 -07:00
Dana Robinson
4d7bb37fc7 Merge pull request #2604 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:hdf5_1_10_warnings to hdf5_1_10
* commit '0da4c416ce4ef703529023465c494b7bab5f138b':
  Brought property list code in line with develop.
2020-05-21 10:05:35 -05:00
Dana Robinson
0da4c416ce Brought property list code in line with develop. 2020-05-21 06:42:57 -07:00
Dana Robinson
6c4e498e7b Merge pull request #2603 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:hdf5_1_10_warnings to hdf5_1_10
* commit '2d43fb8f02956d95fffb9b6d17f54d46aa8671bb':
  Moved srcdir changes over from develop.
2020-05-20 16:00:37 -05:00
Dana Robinson
2d43fb8f02 Moved srcdir changes over from develop. 2020-05-20 10:03:41 -07:00
Dana Robinson
17321eb1c0 Merge pull request #2602 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:hdf5_1_10_warnings to hdf5_1_10
* commit 'fd404f711b8a587a5b5534f268a918115884bd56':
  Added a RELEASE.txt note for the 0-size dataset fix.
  Brought the dsets test in line with develop. Brings over the fix for 0-size dataset metadata allocation.
2020-05-20 11:28:59 -05:00
Dana Robinson
fd404f711b Added a RELEASE.txt note for the 0-size dataset fix. 2020-05-20 09:04:10 -07:00
Dana Robinson
78931a0d83 Brought the dsets test in line with develop. Brings over the fix
for 0-size dataset metadata allocation.
2020-05-20 08:57:20 -07:00
Dana Robinson
fae89b3d31 Merge pull request #2597 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:hdf5_1_10_warnings to hdf5_1_10
* commit 'd701855cc128336ef3a18b930634639b7133f24f':
  Brought H5I, H5Z, and some of H5PL in line with develop/1.12.
2020-05-20 09:41:23 -05:00
Larry Knox
decfe1ae5b Merge pull request #2596 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit 'af1cd63111adce03f81e2e497890080ef1f51113':
  Update MANIFEST for removal of older warnings files. Fix max_index in make_vers - must equal current version.
  -DH5_NO_DEPRECATED_SYMBOLS can no longer be tested with a previous version API:  H5Version.h now has a check that disallows it.
2020-05-20 09:26:53 -05:00
Larry Knox
af1cd63111 Update MANIFEST for removal of older warnings files.
Fix max_index in make_vers - must equal current version.
2020-05-20 09:06:32 -05:00
Dana Robinson
d701855cc1 Merge branch 'hdf5_1_10' into hdf5_1_10_warnings 2020-05-20 07:05:22 -07:00
Dana Robinson
ff84fb1be3 Brought H5I, H5Z, and some of H5PL in line with develop/1.12. 2020-05-20 07:04:09 -07:00
Larry Knox
80d35d2ef9 -DH5_NO_DEPRECATED_SYMBOLS can no longer be tested with a previous
version API:  H5Version.h now has a check that disallows it.
2020-05-19 16:54:52 -05:00
Larry Knox
aa3cb25a6a Merge pull request #2594 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit '22b61f470acc54afad5705dea23a7a8423e65cff':
  Revise gnu-*flags and cmake/HDF*CompilerFlags.cmake files to add warning flags for GCC compilers version 4.8 and above. Removed files from gnu-warnings that only apply to versions < 4.8. Consolidated warnings from versions < 4.8 that apply to versions >= 4.8 into the 4.8 warnings files.
2020-05-19 07:14:53 -05:00
Larry Knox
22b61f470a Revise gnu-*flags and cmake/HDF*CompilerFlags.cmake files to add warning
flags for GCC compilers version 4.8 and above.
Removed files from gnu-warnings that only apply to versions < 4.8.
Consolidated warnings from versions < 4.8 that apply to versions >= 4.8
into the 4.8 warnings files.
2020-05-18 21:33:13 -05:00
Allen Byrne
0d88516c2e Merge pull request #2588 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit 'ae1e6fa95397248a3be6f995f476bbf0eb06e2d0':
  Correct spelling
2020-05-18 14:15:33 -05:00
Dana Robinson
a1c298af09 Merge pull request #2590 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:hdf5_1_10_warnings to hdf5_1_10
* commit '3c1708531d38568bc993394a82c0e1ff0bce8126':
  Updated the Perl shebang in bin/distdep.
  Brought the scripts in bin/ in line with develop.
2020-05-18 13:20:43 -05:00
Dana Robinson
3c1708531d Updated the Perl shebang in bin/distdep. 2020-05-18 11:19:16 -07:00
Dana Robinson
ca2b4aea44 Brought the scripts in bin/ in line with develop. 2020-05-18 08:52:00 -07:00
Allen Byrne
ae1e6fa953 Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit '6c1b7958de946720d920ff4d44417176ac43218e':
  Updated code in H5Xtest.c files and associated tests. Reverted overlong-strings warning that gives jam issues.
  Misc library test changes from develop.
2020-05-18 08:17:08 -05:00
Dana Robinson
6c1b7958de Merge pull request #2589 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:hdf5_1_10_warnings to hdf5_1_10
* commit '67983bc4313fecf3763f5b337b612357a3ee033b':
  Updated code in H5Xtest.c files and associated tests. Reverted overlong-strings warning that gives jam issues.
  Misc library test changes from develop.
2020-05-18 08:02:00 -05:00
Dana Robinson
67983bc431 Updated code in H5Xtest.c files and associated tests.
Reverted overlong-strings warning that gives jam issues.
2020-05-18 05:26:32 -07:00
Allen Byrne
2b9874609f Correct spelling 2020-05-18 06:41:23 -05:00
Dana Robinson
067c5254f1 Merge pull request #2587 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:hdf5_1_10_warnings to hdf5_1_10
* commit 'eddcc2f800db71d4c4309f74f57ed58ae7854727':
  Brought error tests in line with develop. Fixes warnings.
  Brought H5E package in line with develop.
2020-05-17 13:54:46 -05:00
Dana Robinson
683cc579ea Misc library test changes from develop. 2020-05-16 22:42:31 -07:00
Dana Robinson
eddcc2f800 Brought error tests in line with develop. Fixes warnings. 2020-05-16 19:25:15 -07:00
Dana Robinson
44dc4134b7 Brought H5E package in line with develop. 2020-05-16 18:17:37 -07:00
Allen Byrne
7e5dd96e1f Merge pull request #2584 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '1be2797e2c438a8c99dc1665460912e8bc2ddcf0':
  Correct mingw paths
  Correct mingw path
2020-05-16 18:21:25 -05:00
Dana Robinson
685be0fddb Merge pull request #2586 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:hdf5_1_10_warnings to hdf5_1_10
* commit '63b538ab781d76aa1261d980674c871c944890d3':
  Misc fixes and changes from develop.
2020-05-16 07:49:38 -05:00
Dana Robinson
63b538ab78 Misc fixes and changes from develop. 2020-05-15 22:10:45 -07:00
Allen Byrne
1be2797e2c Correct mingw paths 2020-05-15 13:18:57 -05:00
Allen Byrne
07728cc6d8 Correct mingw path 2020-05-15 13:10:09 -05:00
Dana Robinson
7f7fbeda13 Merge pull request #2581 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:hdf5_1_10_warnings to hdf5_1_10
* commit 'c30cf6d59664f63573b31efa4e73b41de168e381':
  Moved H5MM_memcpy and H5MM_xfree_const from develop
2020-05-15 10:57:50 -05:00
Dana Robinson
c30cf6d596 Moved H5MM_memcpy and H5MM_xfree_const from develop 2020-05-15 08:49:17 -07:00
Dana Robinson
7588460659 Merge pull request #2580 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:hdf5_1_10_warnings to hdf5_1_10
* commit '730d6cc53f3914f951e1177fc29835486b61dcdb':
  Normalization of high-level library with develop. Also brings the warnhist script over.
2020-05-15 07:20:57 -05:00
Dana Robinson
730d6cc53f Normalization of high-level library with develop. Also brings the
warnhist script over.
2020-05-15 05:02:37 -07:00
Dana Robinson
4328846bde Merge pull request #2578 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:hdf5_1_10 to hdf5_1_10
* commit '6266d0fe88bbb6c823bda15295e583643b7204bf':
  Manual merge of H5T_copy constification (avoids VOL changes and messy diff).
2020-05-15 00:18:45 -05:00
Dana Robinson
6266d0fe88 Manual merge of H5T_copy constification (avoids VOL changes and
messy diff).
2020-05-14 02:46:12 -07:00
Allen Byrne
776628b873 Merge pull request #2570 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '64a9fccecf37b1aff531e5aa1a5504b7387e4745':
  disable pr action and enable fail fast
  Correct filename
  OESS-65 Fix packaging
2020-05-08 16:29:17 -05:00
Allen Byrne
64a9fccecf disable pr action and enable fail fast 2020-05-08 15:36:14 -05:00
Allen Byrne
6a0b2dd5a1 Correct filename 2020-05-08 13:00:49 -05:00
Allen Byrne
0e56de63a7 OESS-65 Fix packaging 2020-05-08 11:04:59 -05:00
Allen Byrne
5dad45408d Merge pull request #2563 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '691228c4d8adb4f91c7d752339908df74d1c51f8':
  Correct path
  Add github actions file and cleanup java
2020-05-07 10:02:45 -05:00
Allen Byrne
691228c4d8 Correct path 2020-05-07 08:52:43 -05:00
Allen Byrne
17461c57b8 Add github actions file and cleanup java 2020-05-06 12:33:04 -05:00
Larry Knox
411476adbc Merge pull request #2560 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit 'c61a2a024875eba5adce53394ddc25c7fb6920b9':
  Reduce casts of HDcalloc()/HDmalloc() that -Wc++-compat required.
2020-05-05 18:43:27 -05:00
David Young
c61a2a0248 Reduce casts of HDcalloc()/HDmalloc() that -Wc++-compat required.
Reduce gratuitous casts---e.g., (size_t)1.

Use the right format string for a pointer.

In the H5C sanity checks, change a "size increase" variable from ssize_t
(too narrow) to int64_t (wide enough).

Parenthesize every appearance of `storage` in the macro
`H5D_CHUNK_STORAGE_INDEX_CHK(storage)` so that you can pass in an
expression like &sc and it works properly.

Disallow re-assignment of the `dset` parameter to H5D__chunk_init()
because it helped assure me that it's safe to replace the repeating
expression `&dset->shared->layout.storage.u.chunk` with `sc` throughout.

Replace lengthy expressions such as
`&dset->shared->layout.storage.u.chunk` with `sc` throughout several
functions in H5Dchunk.c ISTR that the compiler warned that `sc` was
declared but unused in a couple of functions, and then I found that `sc`
could be used in many places.  Maybe the disused `sc` appeared because a
bunch of code was copied and pasted, I don't know.  Anyway, it's a lot
tighter code now that I use `sc`.

In H5D__chunk_update_old_edge_chunks() and H5D__chunk_delete()
I actually expand `sc` and another temporary variable, `pline`,
because they're used only in !defined(NDEBUG) code.  This squashes
unused-variable warnings in the defined(NDEBUG) configuration.

Don't drop the `volatile` qualification with a cast in
tools/src/h5import/h5import.c.
2020-05-05 12:05:24 -05:00
Dana Robinson
52931310e2 Merge pull request #2555 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:hdf5_1_10_merge to hdf5_1_10
* commit '75507128004be6241befeab95aaf34cfd68a1249':
  Merged HDFFV-10792 parallel compression fix from develop. This was a manual cherry pick.
2020-04-30 10:01:52 -05:00
Dana Robinson
7550712800 Merged HDFFV-10792 parallel compression fix from develop.
This was a manual cherry pick.
2020-04-30 00:11:23 -07:00
Larry Knox
86096a5621 Merge pull request #2550 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit '25ffe5a0e79c8c9d26b557e8d09599b736c86ebc':
  Add -Werror= flags to lists displayed in libhdf5.settings.
  Fix errors: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
2020-04-28 11:27:19 -05:00
Larry Knox
25ffe5a0e7 Add -Werror= flags to lists displayed in libhdf5.settings. 2020-04-28 10:41:57 -05:00
Larry Knox
fe19105cd2 Merge branch 'hdf5_1_10' of https://bitbucket.hdfgroup.org/scm/~lrknox/hdf5_lrk into hdf5_1_10 2020-04-27 18:51:19 -05:00
Larry Knox
7e5c0ef559 Fix errors: ISO C90 forbids mixed declarations and code
[-Werror=declaration-after-statement]
2020-04-27 18:49:25 -05:00
Allen Byrne
ca3ad15ac3 Merge pull request #2548 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '1acccabdb24019052c7787863015608da0e176f8':
  Correct cmake version in text
  whitespace
  OESS-65 replace szip with aec szip
2020-04-27 15:01:15 -05:00
Allen Byrne
1acccabdb2 Correct cmake version in text 2020-04-27 15:00:09 -05:00
Allen Byrne
2ef7ba5b13 whitespace 2020-04-27 14:05:46 -05:00
Allen Byrne
4164dc2738 OESS-65 replace szip with aec szip 2020-04-27 13:29:43 -05:00
Allen Byrne
c034efb0e2 Merge pull request #2529 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit '68adfb86d056af222ab80c349c56e0bd1d183f09':
  Merge pull request #2537 in HDFFV/hdf5 from ~DYOUNG/werror:fix-werrors to develop
  Move ADD_H5_FLAGS macro from *CompilerFlags.cmake files to config/cmake_ext_mod/HDFMacros.cmake for common use.
  Restrict errors to gcc 4.8 and above.
  Fix NoFilter build
  TRILAB-244 separate CXX warnings and errors from C
  Don't add general warnings flags for unsupported old versions of gcc and g++ (older than gcc/g++ 4.2). Correct gnu-cxxflags to determine warnings flags to be added based on C++ compiler version instead of C compiler version.
2020-04-27 12:10:30 -05:00
David Young
68adfb86d0 Merge pull request #2537 in HDFFV/hdf5 from ~DYOUNG/werror:fix-werrors to develop
* commit 'd16eb45d536bd13ca3cf1b0bdc76c58d95d13f17':
  For compatibility with non-C99 Visual Studio versions, use "%" PRIuMAX instead of "%ju".
  Fix `test/swmr_sparse_reader.c:118:77: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]` and `test/snapshots-hdf5/current/test/swmr_sparse_reader.c:129:100: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]`.
  Fix `src/H5FDdirect.c:1346:5: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]`.
2020-04-27 11:27:13 -05:00
Larry Knox
295d7ec69b Move ADD_H5_FLAGS macro from *CompilerFlags.cmake files to
config/cmake_ext_mod/HDFMacros.cmake for common use.
2020-04-27 11:14:31 -05:00
Allen Byrne
7491ba03f9 Restrict errors to gcc 4.8 and above. 2020-04-27 11:09:17 -05:00
Allen Byrne
2956151239 Fix NoFilter build 2020-04-27 11:05:38 -05:00
Allen Byrne
f965a24db1 TRILAB-244 separate CXX warnings and errors from C 2020-04-27 11:04:55 -05:00
hdftest
8444001559 Merge pull request #2544 in HDFFV/hdf5 from ~HDFTEST/hdf5_hft:hdf5_1_10 to hdf5_1_10
* commit '489f46b5be41f112300fd646662ae8954d6e9e11':
  Snapshot version 1.10 release 7 (snap0)     Update version to 1.10.7-1
2020-04-27 07:43:58 -05:00
hdftest
489f46b5be Snapshot version 1.10 release 7 (snap0)
Update version to 1.10.7-1
2020-04-26 18:08:58 -05:00
Larry Knox
1862abdd05 Don't add general warnings flags for unsupported old versions of gcc and
g++ (older than gcc/g++ 4.2).
Correct gnu-cxxflags to determine warnings flags to be added based on
C++ compiler version instead of C compiler version.
2020-04-20 19:36:40 -05:00
Allen Byrne
6524e17885 Merge pull request #2524 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit '59d0c8bf4ddce74e2a444232f00a1178ff1baf95':
  Remove extra '{' in #ifdef H5FDmpio_DEBUG block; fix indentation.
2020-04-17 11:16:05 -05:00
Larry Knox
59d0c8bf4d Remove extra '{' in #ifdef H5FDmpio_DEBUG block; fix indentation. 2020-04-17 10:35:10 -05:00
Larry Knox
2d574a6439 Merge pull request #2520 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit 'ae6467dee4932133a5fed4b1317c48c4376ccda9':
  Parallel Fortran tests now use the MPI module instead of including mpif.h.
2020-04-16 15:13:40 -05:00
Allen Byrne
af0d9b5627 Merge pull request #2519 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '2e51459b8aecb2835bca06bf6a866900adad0b8b':
  Fix Werror issues, whitespace, casts and unused vars
2020-04-16 15:12:09 -05:00
Dana Robinson
ae6467dee4 Parallel Fortran tests now use the MPI module instead of including
mpif.h.
2020-04-16 14:52:10 -05:00
Allen Byrne
2e51459b8a Fix Werror issues, whitespace, casts and unused vars 2020-04-16 08:50:18 -05:00
Allen Byrne
82bace8f56 Merge pull request #2517 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '2fc8167b61c5d62cbf756bcdfd91b4e59dae96e3':
  Fix compile error with MPI enabled
2020-04-15 15:38:37 -05:00
Larry Knox
0af3205c18 Merge pull request #2516 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit '0dd3ebd68d1999631848975aa48fa0d89a323065':
  Add prefix_relto_examplesdir function to set relative path to h5c++.
2020-04-15 15:27:19 -05:00
Allen Byrne
2fc8167b61 Fix compile error with MPI enabled 2020-04-15 14:24:42 -05:00
Larry Knox
0dd3ebd68d Add prefix_relto_examplesdir function to set relative path to h5c++. 2020-04-15 13:48:03 -05:00
Allen Byrne
21ae562857 Merge pull request #2513 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '7ada17fa2e3d1df0d3df44b0713d0de40194777f':
  TRILAB-192 version of std=f2008 special check
2020-04-14 12:46:16 -05:00
Allen Byrne
7ada17fa2e Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit 'f4324635e142eacf7c4a72224038152ea73d1139':
  A fix in the cleaning up code for datatype when datatype initialization via H5D__init_type() fails. The code to fix the problem is the same as what is done in H5D__open_oid().
2020-04-14 12:32:20 -05:00
Vailin Choi
f4324635e1 Merge pull request #2499 in HDFFV/hdf5 from ~VCHOI/my_third_fork:bugfix/110_dtype_close_on_error to hdf5_1_10
* commit '665b71f94ec9ca81360c96867a1df5882b2ab19c':
  A fix in the cleaning up code for datatype when datatype initialization via H5D__init_type() fails. The code to fix the problem is the same as what is done in H5D__open_oid().
2020-04-14 11:36:10 -05:00
Allen Byrne
0d5c94ab37 TRILAB-192 version of std=f2008 special check 2020-04-14 08:30:25 -05:00
Allen Byrne
86bac7b594 Merge pull request #2481 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '311a9c9147cf03e8a4b33fb1500ad9a73d07e540':
  Fix shadoweed type
  TRILAB-192 - cleanup edits and match CMake CXX to autotools
  Add missing " and update function calls incorrectly named load_gcc_arguments. Commit changes to gnu-cxxflags to remove unmatched " and to gnu-fflags to not add C warnings flags to H5_FCFLAGS.
  TRILAB-192 update LTparse files
  TRILAB-192 - merge changes from develop
  Update release note for CMake warnings
  Correct extra flags and merge TRILAB-24
  Correct cb object name
  TRILAB-192 merging warnings changes from develop
2020-04-14 07:37:38 -05:00
Allen Byrne
311a9c9147 Fix shadoweed type 2020-04-13 10:29:16 -05:00
Allen Byrne
aac7605be0 TRILAB-192 - cleanup edits and match CMake CXX to autotools 2020-04-13 08:43:10 -05:00
Larry Knox
142496ad74 Add missing " and update function calls incorrectly
named load_gcc_arguments.
Commit changes to gnu-cxxflags to remove unmatched " and to gnu-fflags
to not add C warnings flags to H5_FCFLAGS.
2020-04-12 18:55:08 -05:00
vchoi
665b71f94e A fix in the cleaning up code for datatype when datatype initialization via H5D__init_type() fails.
The code to fix the problem is the same as what is done in H5D__open_oid().
2020-04-07 19:22:22 -05:00
Allen Byrne
14ae8bf4e2 TRILAB-192 update LTparse files 2020-04-07 17:59:51 -05:00
Allen Byrne
f502d9f7fb TRILAB-192 - merge changes from develop
Single source, config files, for warnings for both autotools and CMake.
Update CMake libraries, tools, tests to use correct flags.
2020-04-07 09:52:09 -05:00
Allen Byrne
e3c71c40a7 Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit '8668195f417cb22df596e3d440da7502adae1597':
  H5repack bug fixes from develop
2020-04-06 13:36:22 -05:00
Jordan Henderson
8668195f41 Merge pull request #2491 in HDFFV/hdf5 from ~JHENDERSON/hdf5:hdf5_1_10 to hdf5_1_10
* commit '95c04dc836b4176930fce613d00fdd99bd0759c7':
  H5repack bug fixes from develop
2020-04-05 15:45:53 -05:00
Allen Byrne
91f73bac58 Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit '68a892f3f2eb6601b6254ff90c165c3b6412b97a':
  Remove return statement from void function test_reference_sel_none().
  Somehow missed in committing this file for the fix submitted previously.
  Fix for HDFFV-11067:incorrect # of selected elements returned from region reference. The H5S_sel_none->deserialize callback should be called for H5S_SEL_NONE selection type.
2020-04-05 11:06:22 -05:00
Larry Knox
68a892f3f2 Merge pull request #2492 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit 'a3b13848287c7155feaa699ba9e3c526f4ea31ba':
  Remove return statement from void function test_reference_sel_none().
2020-04-04 14:57:08 -05:00
Larry Knox
a3b1384828 Remove return statement from void function test_reference_sel_none(). 2020-04-04 11:58:41 -05:00
Jordan Henderson
95c04dc836 H5repack bug fixes from develop 2020-04-03 17:09:24 -05:00
Allen Byrne
afe489977c Update release note for CMake warnings 2020-04-03 13:00:31 -05:00
Vailin Choi
4573b87b1d Merge pull request #2487 in HDFFV/hdf5 from ~VCHOI/my_third_fork:bugfix/HDFFV-11067-incorrect-number-of-selected to hdf5_1_10
* commit '2fe834f3d2ab501b4c7c99a7e2768bc5d559e1b8':
  Somehow missed in committing this file for the fix submitted previously.
  Fix for HDFFV-11067:incorrect # of selected elements returned from region reference. The H5S_sel_none->deserialize callback should be called for H5S_SEL_NONE selection type.
2020-04-03 12:54:52 -05:00
vchoi
2fe834f3d2 Somehow missed in committing this file for the fix submitted previously. 2020-04-03 12:24:05 -05:00
vchoi
27f2e3dd75 Fix for HDFFV-11067:incorrect # of selected elements returned from region reference.
The H5S_sel_none->deserialize callback should be called for H5S_SEL_NONE selection type.
2020-04-02 17:52:41 -05:00
Allen Byrne
de6d87dc14 Correct extra flags and merge TRILAB-24 2020-04-01 11:49:42 -05:00
Allen Byrne
7b56e78cd1 Correct cb object name 2020-03-30 15:37:35 -05:00
Allen Byrne
944cbb9400 TRILAB-192 merging warnings changes from develop 2020-03-30 13:10:36 -05:00
Vailin Choi
4c14a0e3db Merge pull request #2450 in HDFFV/hdf5 from ~VCHOI/my_third_fork:bugfix/v110_seg_fault_sel_compat to hdf5_1_10
* commit 'f33bb733be2da42672b4b0264cd4c6318ba35e9a':
  Fix issues when deserializing point/all/none selection with version beyond the library's supported version: (1) Verify the decoded version before proceeding further with deserialization (2) Close the dataspace if errors occurred after opening the dataspace
2020-03-15 00:46:54 -05:00
Dana Robinson
818a267b6e Merge pull request #2449 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:hdf5_1_10 to hdf5_1_10
* commit '018f2364ed38ce6f7e210e440fc8954991a266a6':
  Add void * --> char * back to HDmemcpy in HDF5 1.10 to fix dt_arith test failures. Fixes HDFFV-11056.
2020-03-12 20:05:22 -05:00
vchoi
f33bb733be Fix issues when deserializing point/all/none selection with version beyond the library's supported version:
(1) Verify the decoded version before proceeding further with deserialization
(2) Close the dataspace if errors occurred after opening the dataspace
2020-03-12 17:23:53 -05:00
Dana Robinson
018f2364ed Add void * --> char * back to HDmemcpy in HDF5 1.10 to fix dt_arith
test failures. Fixes HDFFV-11056.
2020-03-12 14:28:06 -07:00
Vailin Choi
25a67c538c Merge pull request #27 in ~VCHOI/my_third_fork from hdf5_1_10 to bugfix/v110_seg_fault_sel_compat
* commit '836eea4abafd270a532be0a2c521d81c8cd637cb':
  Add \d to list of characters allowed after - in versions. Version with - and no alphabetic characters is required to allow building binaries on windows. Escape { and } in regex as required by newer version of perl in updated cori.nersc.gov.  Cherry-picked c3c044cc00 from develop.
  Escape { and } in regex as required by sh in updated cori.nersc.gov. Tested change on jam, jelly, emu, ostrich and osx1011test.
2020-03-12 16:22:26 -05:00
Larry Knox
836eea4aba Merge pull request #2447 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit 'e3dd392536da73b9e3940b8c19a1de835dc34d31':
  Add \d to list of characters allowed after - in versions. Version with - and no alphabetic characters is required to allow building binaries on windows. Escape { and } in regex as required by newer version of perl in updated cori.nersc.gov.  Cherry-picked c3c044cc00 from develop.
  Escape { and } in regex as required by sh in updated cori.nersc.gov. Tested change on jam, jelly, emu, ostrich and osx1011test.
2020-03-12 13:25:42 -05:00
Larry Knox
e3dd392536 Add \d to list of characters allowed after - in versions. Version with -
and no alphabetic characters is required to allow building binaries on windows.
Escape { and } in regex as required by newer version of perl in updated cori.nersc.gov.  Cherry-picked c3c044cc00 from develop.
2020-03-12 10:15:13 -05:00
Larry Knox
e45225f1d1 Escape { and } in regex as required by sh in updated cori.nersc.gov.
Tested change on jam, jelly, emu, ostrich and osx1011test.
2020-03-12 10:13:43 -05:00
Vailin Choi
9dfb764563 Merge pull request #25 in ~VCHOI/my_third_fork from hdf5_1_10 to bugfix/v110_seg_fault_sel_compat
* commit '529a4a14b3aff2ae77a56cc784fe778d1bc461f8':
  Fix comment
  Remove deleted files
  Changes to region reference in h5dump no longer have errstack
  Check sizeof type to use correct ref_type
  Update CMake compare command
  Correct test script for errstack
  Remove system command from valgrind reports
  Fix h5ls attrreg
  Fixed region refs
  h5dump object reference fixed
  Updated reference code
  Fixed configure issue when building HDF5 with NAG Fortran 7.0.
  Fixed issue building HDF5 with NAG Fortran 7.0.
  revert type cast
  Fix gif2h5 tool build on windows
  Merge CMake and tools changes from develop
  Merge pull request #2244 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/intel_warnings to develop
2020-03-11 16:21:23 -05:00
Allen Byrne
529a4a14b3 Merge pull request #2443 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '8249b1a97a3a30e553c20b44aea985a7aa149faf':
  Fix comment
  Remove deleted files
  Changes to region reference in h5dump no longer have errstack
  Check sizeof type to use correct ref_type
2020-03-10 15:08:03 -05:00
Allen Byrne
8249b1a97a Fix comment 2020-03-10 10:51:04 -05:00
Allen Byrne
6b4d762172 Remove deleted files 2020-03-09 15:47:26 -05:00
Allen Byrne
7f5a93bc87 Changes to region reference in h5dump no longer have errstack 2020-03-09 15:43:10 -05:00
Allen Byrne
049ade7a31 Check sizeof type to use correct ref_type 2020-03-09 13:55:40 -05:00
Allen Byrne
198109c48f Merge pull request #2441 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '9e47a095859969365d4c272d9d4fe2a4f3584d38':
  Update CMake compare command
2020-03-06 10:36:54 -06:00
Allen Byrne
9e47a09585 Update CMake compare command 2020-03-05 11:45:32 -06:00
Larry Knox
09c1f89620 Merge pull request #2438 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '837c9240d90cb36c1c864b110f67b0b105d4f479':
  Correct test script for errstack
2020-03-04 15:34:41 -06:00
Allen Byrne
837c9240d9 Correct test script for errstack 2020-03-04 10:06:35 -06:00
Allen Byrne
eb37e0ff02 Merge pull request #2435 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '88082cce109b27efb885971fca87224e16b62879':
  Remove system command from valgrind reports
  Fix h5ls attrreg
  Fixed region refs
  h5dump object reference fixed
  Updated reference code
  Fix gif2h5 tool build on windows
  Merge CMake and tools changes from develop
2020-03-04 09:29:28 -06:00
Allen Byrne
88082cce10 Remove system command from valgrind reports 2020-03-02 14:13:13 -06:00
Allen Byrne
f59050ee2c Fix h5ls attrreg 2020-03-01 16:58:14 -06:00
Allen Byrne
eae9f6b209 Fixed region refs 2020-03-01 11:01:31 -06:00
Allen Byrne
561af68242 Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit '42106363903e7a7d4a0c2cd1b38aad9a54f2eeff':
  Fixed configure issue when building HDF5 with NAG Fortran 7.0.
  Fixed issue building HDF5 with NAG Fortran 7.0.
  revert type cast
  Merge pull request #2244 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/intel_warnings to develop
2020-03-01 09:24:19 -06:00
Allen Byrne
d9774f3852 h5dump object reference fixed 2020-02-29 20:17:20 -06:00
Allen Byrne
7fa510520b Updated reference code 2020-02-29 13:59:37 -06:00
Kimmy Mu
4210636390 Merge pull request #2432 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/type_cast_10 to hdf5_1_10
* commit 'a0881fa1cfbb735a013581c53f8003a13fb0383a':
  revert type cast
  Merge pull request #2244 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/intel_warnings to develop
2020-02-28 22:11:55 -06:00
Scot Breitenfeld
78639fa32c Merge pull request #2422 in HDFFV/hdf5 from ~BRTNFLD/hdf5_msb:hdf5_1_10 to hdf5_1_10
* commit '276c4fdbcc1baf0748a617f10eb8aaaec2154151':
  Fixed configure issue when building HDF5 with NAG Fortran 7.0.
  Fixed issue building HDF5 with NAG Fortran 7.0.
2020-02-28 17:11:06 -06:00
M. Scot Breitenfeld
276c4fdbcc Fixed configure issue when building HDF5 with NAG Fortran 7.0.
HDF5 now accounts for the addition of half-precision floating-point
in NAG 7.0 with a KIND=16.
2020-02-28 16:42:15 -06:00
M. Scot Breitenfeld
449a06e92f Fixed issue building HDF5 with NAG Fortran 7.0.
Accounted for the additon of half precision floating-point with a KIND=16.

HDFFV-11033
2020-02-28 16:21:05 -06:00
kmu
a0881fa1cf revert type cast 2020-02-28 14:44:56 -06:00
Allen Byrne
efcdbf2e38 Fix gif2h5 tool build on windows 2020-02-28 09:32:49 -06:00
Allen Byrne
467b5d565c Merge CMake and tools changes from develop 2020-02-27 16:54:52 -06:00
Scot Breitenfeld
f1aca8780e Merge pull request #2382 in HDFFV/hdf5 from ~BRTNFLD/hdf5_msb:hdf5_1_10 to hdf5_1_10
* commit 'c9c7c13d9459de6bb9f35f60a6efe8af8ae4e46c':
  update HDFFV-11029
  Corrected INTERFACE INTENT(IN) to INTENT(OUT) for buf_size
2020-02-19 12:36:12 -06:00
M. Scot Breitenfeld
c9c7c13d94 update HDFFV-11029 2020-02-18 17:15:48 -06:00
M. Scot Breitenfeld
7d77387737 Corrected INTERFACE INTENT(IN) to INTENT(OUT) for buf_size 2020-02-18 17:01:05 -06:00
Allen Byrne
117383900c Merge pull request #2374 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '4ec2df9ac08f0c28eb32211c3cb0139a73f82981':
  Merge from dev, sanitizer, fortran, warnings and tools ids
2020-02-12 12:56:30 -06:00
Allen Byrne
4ec2df9ac0 Merge from dev, sanitizer, fortran, warnings and tools ids 2020-02-11 14:28:56 -06:00
Jake Smith
bd5d6e4e77 Merge pull request #2359 in HDFFV/hdf5 from ~JAKE.SMITH/hdf5:hdf5_1_10 to hdf5_1_10
* commit '3aeb449b43bcb38d0e61c6a7a6b1dacfc2a4b935':
  Fix improper signing key null check. (HDFFV-11015)
2020-02-10 16:58:50 -06:00
Muqun Yang
d19d5e7629 Merge pull request #2368 in HDFFV/hdf5 from ~MYANG6/hdf5-develop:hdf5_1_10 to hdf5_1_10
* commit '04d4d9c93a824b7a860993fc217c9cc497ac5441':
  HDFFV-11014, fix the h5repack issue that misses a few attributes during the repacking. The flag that checks the object reference attribute is not updated properly. The fix is trivial. Just need to move the flag update line into the inner loop. Tested at Jelly. Also update the release.txt.
2020-02-10 15:27:17 -06:00
Muqun Yang
04d4d9c93a HDFFV-11014, fix the h5repack issue that misses a few attributes during the repacking. The flag that checks the object reference attribute is not updated properly. The fix is trivial. Just need to move the flag update line into the inner loop. Tested at Jelly. Also update the release.txt. 2020-02-10 14:45:21 -06:00
Jacob Smith
3aeb449b43 Fix improper signing key null check. (HDFFV-11015) 2020-02-07 13:40:07 -06:00
Allen Byrne
233a8bb8a9 Merge pull request #2309 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '872f5afa1b813afb7a991eb2d7959683d4438f27':
  Add another warning variation
  Add unknown pragma warning ignore
  Correct CMake warnings to ignore
  Only use sanitizers with clang
2020-01-27 11:11:48 -06:00
Allen Byrne
872f5afa1b Add another warning variation 2020-01-26 15:12:37 -06:00
Allen Byrne
325b49de65 Add unknown pragma warning ignore 2020-01-26 10:46:21 -06:00
Allen Byrne
1a109f0cd4 Correct CMake warnings to ignore 2020-01-26 10:40:59 -06:00
Allen Byrne
0bdf18bb06 Only use sanitizers with clang 2020-01-26 10:21:26 -06:00
Allen Byrne
d976b67998 Merge pull request #2287 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '9a9f3649d262d4947b60c98ab1e2ce16ce21c82e':
  Add sanitizer files
  tools perform and hid_t init settings
2020-01-21 16:17:12 -06:00
Allen Byrne
9a9f3649d2 Add sanitizer files 2020-01-20 14:07:23 -06:00
Allen Byrne
0ccccc43c7 tools perform and hid_t init settings 2020-01-20 13:47:47 -06:00
Allen Byrne
123a631c3a Merge pull request #2282 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '4ef9c810483c21c99768959db58cb7b6d63ad1e1':
  Added new CMake options for tests
2020-01-20 09:27:49 -06:00
Allen Byrne
4ef9c81048 Added new CMake options for tests 2020-01-19 07:56:14 -06:00
Allen Byrne
f6ec9a1343 Merge pull request #2277 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '5bb153cc3b6b62e830f464bb66f0f0539ddd8517':
  HDFFV-11001 merge java locale from develop
2020-01-19 07:46:56 -06:00
Allen Byrne
5bb153cc3b HDFFV-11001 merge java locale from develop 2020-01-17 14:20:44 -06:00
Larry Knox
c75eed72f1 Merge pull request #2268 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit 'de1cdbfd3bf3e5b8afefca9d3926d869625870ab':
  Merge pull request #2244 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/intel_warnings to develop
2020-01-14 16:20:20 -06:00
Kimmy Mu
de1cdbfd3b Merge pull request #2244 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/intel_warnings to develop
* commit '6b1b4b3c0bdd803835efe8c531965bb9900a5363':
  fix test assert fail error
2020-01-14 16:01:35 -06:00
Allen Byrne
1ef4a60b32 Merge pull request #2265 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '120ca605a7f208ac8bee7a59e660ce630f3aecb2':
  Ignore ZLIB warnings
2020-01-13 16:54:15 -06:00
Allen Byrne
120ca605a7 Ignore ZLIB warnings 2020-01-13 16:42:43 -06:00
Allen Byrne
35daa441ac Merge pull request #2257 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '1501cacbdfdacda1f160e1698d9986553bfe9e92':
  Fix CMake test macros and perform standalone tests
2020-01-13 16:02:46 -06:00
Allen Byrne
1501cacbdf Fix CMake test macros and perform standalone tests 2020-01-12 09:40:07 -06:00
kmu
740e1368aa Merge branch 'hdf5_1_10' of https://git.hdfgroup.org/scm/~kmu/hdf5 into hdf5_1_10 2020-01-09 21:23:54 -06:00
Kimmy Mu
6d790e5c85 Merge pull request #2244 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/intel_warnings to develop
* commit '6b1b4b3c0bdd803835efe8c531965bb9900a5363':
  fix test assert fail error
2020-01-09 21:22:19 -06:00
Kimmy Mu
1091e21beb Merge pull request #2247 in HDFFV/hdf5 from ~KMU/hdf5:hdf5_1_10 to hdf5_1_10
* commit '6710ed5e0a03de50a5679c92437df82893da6813':
  merge intel warning fix
  Merge pull request #2234 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/intel_warnings to develop
2020-01-09 21:16:25 -06:00
kmu
6710ed5e0a Merge branch 'hdf5_1_10' of https://git.hdfgroup.org/scm/~kmu/hdf5 into hdf5_1_10 2020-01-09 16:16:23 -06:00
Kimmy Mu
de28f691ba merge intel warning fix 2020-01-09 16:15:38 -06:00
Allen Byrne
e05fe70195 Merge pull request #2246 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit 'b91f9f43fe8245427f8a25226bd9589af61feafc':
  restore and use --nocheck option
  Do not exit on DT chkmanifest
2020-01-09 12:53:25 -06:00
Allen Byrne
b91f9f43fe Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit 'd22f49d830b8d1385c7335c6f41c1785cd06ac66':
  Fixed bugs in pread/pwrite I/O in VFDs.
2020-01-09 12:51:02 -06:00
Dana Robinson
d22f49d830 Merge pull request #2243 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:1_10_minor_pr to hdf5_1_10
* commit 'f90a0a480afa87716ae0822408a52d2645cf9d42':
  Fixed bugs in pread/pwrite I/O in VFDs.
2020-01-09 12:34:41 -06:00
Allen Byrne
5348788b4f Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit 'e167cd9fe74feb31083994ade4b83f4f8dbcf782':
  Merge of --Wc++-compat changes from develop
  Changed -Wformat-truncation to level 2 in CMake w/ gcc.
  Changed -Wformat-truncation's level from 2 to 1.
2020-01-09 08:45:37 -06:00
Dana Robinson
f90a0a480a Fixed bugs in pread/pwrite I/O in VFDs.
Fixes HDFFV-10945.
2020-01-09 03:00:11 -08:00
Dana Robinson
e167cd9fe7 Merge pull request #2241 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:1_10_minor_pr to hdf5_1_10
* commit '887aa3d05d0a64e1c8198138334c0fe761d0ab2f':
  Merge of --Wc++-compat changes from develop
  Changed -Wformat-truncation to level 2 in CMake w/ gcc.
  Changed -Wformat-truncation's level from 2 to 1.
2020-01-08 22:46:01 -06:00
Dana Robinson
887aa3d05d Merge of --Wc++-compat changes from develop 2020-01-08 19:40:32 -08:00
Dana Robinson
78f0ecc3b9 Changed -Wformat-truncation to level 2 in CMake w/ gcc. 2020-01-08 17:43:27 -08:00
Dana Robinson
23c2f0211e Changed -Wformat-truncation's level from 2 to 1. 2020-01-08 17:43:12 -08:00
Kimmy Mu
e75b2e3c2c Merge pull request #2234 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/intel_warnings to develop
* commit '30ac64d83aff5e022d51a17fd6c1d72903ae4f02':
  add new type support
2020-01-08 14:36:36 -06:00
Allen Byrne
fb2a31ee58 restore and use --nocheck option 2020-01-06 07:45:04 -06:00
Allen Byrne
1c207c035f Do not exit on DT chkmanifest 2020-01-06 07:30:02 -06:00
Larry Knox
b265ec06a2 Merge pull request #2204 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit 'ce5c3db14eccb35a57c0103fd5c449327c1e92c6':
  Update HISTORY-1_10.txt with RELEASE.txt from HDF5 1.10.6 release.
2019-12-27 07:51:06 -06:00
Larry Knox
ce5c3db14e Update HISTORY-1_10.txt with RELEASE.txt from HDF5 1.10.6 release. 2019-12-26 09:53:55 -06:00
Larry Knox
5b9cf732ca Merge pull request #2203 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:1.10/master to 1.10/master
* commit 'e0fa36bfe008c03365ce8ea94d705f8fdebccdf0': (166 commits)
  Update release date strings in README.txt and release_docs/RELEASE.txt
  Add release note about using ompio instead of romio when collective writes fail with OpenMPI.
  Fixed typos, grammatical errors, etc. Expanded entry for S3 and HDFS VFDs. Moved Mac 10.11 and 10.12 from Supported Platforms to More Platforms Tested.
  Add qualification to RELEASE.txt regarding performance improvements
  Standalone doesn't use h5test implementation.
  Add missing note
  Update COPYING file with new HDF5 license.
  Update bin/config.guess and config.sub to current version available from git.savannah.gnu.org.
  Fix include to correct memory calls - big-endian issue.
  Revert BLDLIBDIR value in junit.sh.in.
  Corrections to CMake functions
  Update version for HDF5 1.10.6 release. Remove autom4te.cache directory that shouldn't have been added.
  Remove duplicate instance
  Fix merge issue
  HDFFV-10979 - fix global name clash
  Correct clang search and java include
  Latest date first in RELEASE.txt
  Update RELEASE.txt with performance improvements and Steven Varga's bugfix.
  Update version numbers for shared lib files according to api compatibility report.
  Created hdf5_1_10_6 branch for HDF5 1.10.6 release preparation. Set version to 1.10.6-pre1. Switched default  maintainer mode to disabled and default build mode to production. Added files produced by autogen.sh to commit except for src/H5config.h.in~ and src/H5public.h~.
  ...
2019-12-24 15:12:08 -06:00
Larry Knox
e0fa36bfe0 Update release date strings in README.txt and release_docs/RELEASE.txt 2019-12-24 15:00:33 -06:00
Larry Knox
0976bd4418 Merge branch 'hdf5_1_10_6' into 1.10/master 2019-12-24 13:45:55 -06:00
Larry Knox
f5331844e1 Merge pull request #2194 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_6 to hdf5_1_10_6
* commit '3b5fa3ed87eb192b6ca6b90a490bef7a60bde580':
  Add release note about using ompio instead of romio when collective writes fail with OpenMPI.
2019-12-23 14:51:44 -06:00
Larry Knox
3b5fa3ed87 Merge branch 'hdf5_1_10_6' of https://bitbucket.hdfgroup.org/scm/~lrknox/hdf5_lrk into hdf5_1_10_6 2019-12-23 14:32:32 -06:00
Larry Knox
71b2a7ba3d Add release note about using ompio instead of romio when collective
writes fail with OpenMPI.
2019-12-23 14:30:30 -06:00
Larry Knox
b835e730a0 Merge pull request #2177 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_6 to hdf5_1_10_6
* commit '2b0a45a45c444706f703557af06c982ad4332f5d':
  Fixed typos, grammatical errors, etc. Expanded entry for S3 and HDFS VFDs. Moved Mac 10.11 and 10.12 from Supported Platforms to More Platforms Tested.
2019-12-21 14:28:42 -06:00
Larry Knox
2b0a45a45c Fixed typos, grammatical errors, etc.
Expanded entry for S3 and HDFS VFDs.
Moved Mac 10.11 and 10.12 from Supported Platforms to More Platforms
Tested.
2019-12-21 13:30:12 -06:00
Chris Hogan
88a3e3d28f Merge pull request #2175 in HDFFV/hdf5 from ~CHOGAN/hdf5:chogan/1.10.6/update_rls_txt to hdf5_1_10_6
* commit '86183650d05cb100fb2de89c0484baaeda62cfd5':
  Add qualification to RELEASE.txt regarding performance improvements
2019-12-20 16:22:51 -06:00
Chris Hogan
86183650d0 Add qualification to RELEASE.txt regarding performance improvements 2019-12-20 14:26:12 -06:00
Allen Byrne
e8821fe5b0 Merge pull request #2171 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10_6 to hdf5_1_10_6
* commit 'bbedf3e5897b42c7b57fe2b37ffdabdb90ba237a':
  Standalone doesn't use h5test implementation.
2019-12-20 09:49:41 -06:00
Allen Byrne
f784b92565 Merge pull request #2169 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '3d78ca7eee5f4922087209312fdb534528232b75':
  Standalone doesn't use h5test implementation.
2019-12-20 09:49:26 -06:00
Allen Byrne
bbedf3e589 Standalone doesn't use h5test implementation. 2019-12-20 09:29:00 -06:00
Allen Byrne
3d78ca7eee Standalone doesn't use h5test implementation. 2019-12-20 09:28:34 -06:00
Larry Knox
6fae745466 Merge pull request #2165 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_6 to hdf5_1_10_6
* commit 'da84089a2256462d67e3503964141dbcdbc0fcf6':
  Update COPYING file with new HDF5 license.
2019-12-20 06:26:22 -06:00
Allen Byrne
e762f0fa68 Merge pull request #2164 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10_6 to hdf5_1_10_6
* commit '0decf37caac1a11b80bbd383b10f71aa045cf1df':
  Add missing note
2019-12-19 16:31:15 -06:00
Allen Byrne
6dc50aea59 Merge pull request #2163 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '0d7b7a50ae0bb9cca51c7fcadbe785aaa57104a3':
  Add missing note
2019-12-19 16:31:06 -06:00
Allen Byrne
0decf37caa Add missing note 2019-12-19 16:12:45 -06:00
Allen Byrne
0d7b7a50ae Add missing note 2019-12-19 16:12:15 -06:00
Larry Knox
da84089a22 Merge branch 'hdf5_1_10_6' of https://bitbucket.hdfgroup.org/scm/~lrknox/hdf5_lrk into hdf5_1_10_6 2019-12-19 16:04:30 -06:00
Larry Knox
1ca79de139 Update COPYING file with new HDF5 license. 2019-12-19 16:02:56 -06:00
Larry Knox
55866d3aab Merge pull request #2158 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_6 to hdf5_1_10_6
* commit '6d733d36df0caf67cb646cc72d0f1c034fbbf2c1':
  Update bin/config.guess and config.sub to current version available from git.savannah.gnu.org.
2019-12-19 10:36:07 -06:00
Allen Byrne
511e4636b8 Merge pull request #2157 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10_6 to hdf5_1_10_6
* commit 'e46b45199258d385e28bc7adffc3bbcd0b2c8cbf':
  Fix include to correct memory calls - big-endian issue.
2019-12-19 10:25:28 -06:00
Allen Byrne
548c6acd13 Merge pull request #2155 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '4e4b0af0d7f9337de5ef408e9ab1d2ef44ca22e6':
  Adjust cache.c only variables.
  Fix include to correct memory calls - big-endian issue.
2019-12-19 10:25:07 -06:00
Larry Knox
6d733d36df Merge branch 'hdf5_1_10_6' of https://bitbucket.hdfgroup.org/scm/~lrknox/hdf5_lrk into hdf5_1_10_6 2019-12-19 08:24:51 -06:00
Larry Knox
c2c17596d9 Update bin/config.guess and config.sub to current version available from
git.savannah.gnu.org.
2019-12-19 08:12:01 -06:00
Allen Byrne
e46b451992 Fix include to correct memory calls - big-endian issue. 2019-12-18 14:36:38 -06:00
Allen Byrne
4e4b0af0d7 Adjust cache.c only variables. 2019-12-18 14:30:20 -06:00
Allen Byrne
0dc2715ece Fix include to correct memory calls - big-endian issue. 2019-12-18 14:09:45 -06:00
Larry Knox
246c90077e Merge pull request #2152 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_6 to hdf5_1_10_6
* commit '0d4e26c097571d9d846cb87a22ba7f909a668102':
  Revert BLDLIBDIR value in junit.sh.in.
2019-12-17 16:10:15 -06:00
Larry Knox
0d4e26c097 Revert BLDLIBDIR value in junit.sh.in. 2019-12-17 15:45:00 -06:00
Allen Byrne
bc8a7cde2f Merge pull request #2148 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '59c07e8859b27c422e9aa93df8d979c12d479ed4':
  Minor corrections to CMake functions
  Remove duplicate instance
2019-12-17 11:07:36 -06:00
Allen Byrne
1e6a80526d Merge pull request #2150 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10_6 to hdf5_1_10_6
* commit 'd14cad9b6ce74b8ca7716304f8df9f9b761cc7eb':
  Corrections to CMake functions
  Remove duplicate instance
2019-12-17 11:07:22 -06:00
Allen Byrne
d14cad9b6c Corrections to CMake functions 2019-12-17 09:09:33 -06:00
Allen Byrne
59c07e8859 Minor corrections to CMake functions 2019-12-17 09:08:54 -06:00
Allen Byrne
0f85c50f69 Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10_6)
* commit '53a516af074f6276a1e49298589a4404a63795ee':
  Update version for HDF5 1.10.6 release. Remove autom4te.cache directory that shouldn't have been added.
2019-12-17 08:53:58 -06:00
Larry Knox
53a516af07 Merge pull request #2143 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_6 to hdf5_1_10_6
* commit '10fdc1724e873c74dc5000d04e4e5f51b621f6e9':
  Update version for HDF5 1.10.6 release. Remove autom4te.cache directory that shouldn't have been added.
2019-12-16 15:52:30 -06:00
Larry Knox
10fdc1724e Merge branch 'hdf5_1_10_6' of https://bitbucket.hdfgroup.org/scm/~lrknox/hdf5_lrk into hdf5_1_10_6 2019-12-16 14:44:08 -06:00
Larry Knox
1ce76d4d4d Update version for HDF5 1.10.6 release.
Remove autom4te.cache directory that shouldn't have been added.
2019-12-16 14:39:19 -06:00
Allen Byrne
f44c91742c Remove duplicate instance 2019-12-16 09:48:46 -06:00
Allen Byrne
6a9ba1401a Remove duplicate instance 2019-12-16 09:48:02 -06:00
Allen Byrne
5ef4540830 Merge pull request #2138 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10_6 to hdf5_1_10_6
* commit '2e4c74429b5381e78f7b754d85b0e3e0e960bae2':
  Fix merge issue
  HDFFV-10979 - fix global name clash
2019-12-15 09:07:47 -06:00
Allen Byrne
2e4c74429b Fix merge issue 2019-12-13 12:48:55 -06:00
Allen Byrne
78e6e120e1 Merge pull request #2136 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '9b014e94ed2e5b9bef8b1687879913afbfd319aa':
  Correct Merge issue
  HDFFV-10979 fix issue with global name conflict
2019-12-13 12:46:34 -06:00
Allen Byrne
9b014e94ed Correct Merge issue 2019-12-13 12:45:26 -06:00
Allen Byrne
7a1e3bfd5b HDFFV-10979 - fix global name clash 2019-12-12 13:56:24 -06:00
Allen Byrne
f159fb5fd5 HDFFV-10979 fix issue with global name conflict 2019-12-12 12:42:58 -06:00
Allen Byrne
ff68924612 Merge pull request #2126 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10_6 to hdf5_1_10_6
* commit 'e1eca732505fec2eb26474da5c4aa4961d31e541':
  Correct clang search and java include
2019-12-11 15:52:19 -06:00
Allen Byrne
2ca5f237cb Merge pull request #2125 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '94fea3ab8fe64bfa798f34824ed93f3eee8d04dc':
  Remove search for clang tool - incorrect location
2019-12-11 15:52:08 -06:00
Allen Byrne
94fea3ab8f Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit '10aeb563fbf75044237cb6d756edf55b86e7b7a6':
  Update version for HDF5_1_10
2019-12-11 15:13:21 -06:00
Larry Knox
10aeb563fb Merge pull request #2131 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit 'b85582098c29aea59bbc7fe0287fe71cab998fe5':
  Update version for HDF5_1_10
2019-12-11 14:35:41 -06:00
Larry Knox
b85582098c Update version for HDF5_1_10 2019-12-11 13:15:44 -06:00
Allen Byrne
e1eca73250 Correct clang search and java include 2019-12-11 09:18:35 -06:00
Allen Byrne
24277a4877 Remove search for clang tool - incorrect location 2019-12-11 09:11:01 -06:00
Allen Byrne
1670bd01bc Merge pull request #2106 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '5109ff1d84df2a4ee0493c196399e89e9fd0c10b':
  Add missing include folder
  Remove unneeded flag overwrites
2019-12-10 15:33:37 -06:00
Allen Byrne
5109ff1d84 Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit 'c58108ea4030e74a0b745cabbc8ccd366695de07':
  Latest date first in RELEASE.txt
  Update RELEASE.txt with performance improvements
  Add fix of Jira 10934 to RELEASE.txt
2019-12-10 14:59:38 -06:00
Chris Hogan
7203ac4ab8 Merge pull request #2119 in HDFFV/hdf5 from ~CHOGAN/hdf5:chogan/1.10.6/release_txt to hdf5_1_10_6
* commit 'e66d5596f2d78ed48f82024d673a45f042fc789c':
  Latest date first in RELEASE.txt
  Update RELEASE.txt with performance improvements and Steven Varga's bugfix.
2019-12-10 14:58:13 -06:00
Chris Hogan
c58108ea40 Merge pull request #2120 in HDFFV/hdf5 from ~CHOGAN/hdf5:chogan/1.10/release_txt to hdf5_1_10
* commit '13e6094edabb8dcd1c52a20cab24f5d630616661':
  Latest date first in RELEASE.txt
  Update RELEASE.txt with performance improvements
2019-12-10 14:57:49 -06:00
Chris Hogan
13e6094eda Latest date first in RELEASE.txt 2019-12-10 14:28:55 -06:00
Chris Hogan
e66d5596f2 Latest date first in RELEASE.txt 2019-12-10 14:27:02 -06:00
Chris Hogan
facea30c8d Update RELEASE.txt with performance improvements 2019-12-10 14:16:20 -06:00
Chris Hogan
ae3d123b48 Update RELEASE.txt with performance improvements and Steven Varga's bugfix. 2019-12-10 14:10:23 -06:00
Chris Hogan
2cce92e3e4 Merge pull request #2111 in HDFFV/hdf5 from ~CHOGAN/hdf5:chogan/1.10/10934_release_txt to hdf5_1_10
* commit '8cd58add98994c8d30dce607a12a01e445e0bb4d':
  Add fix of Jira 10934 to RELEASE.txt
2019-12-10 12:40:41 -06:00
Allen Byrne
b179af8947 Add missing include folder 2019-12-10 12:08:07 -06:00
Chris Hogan
8cd58add98 Add fix of Jira 10934 to RELEASE.txt 2019-12-09 11:00:21 -06:00
Larry Knox
e07900b949 Update version numbers for shared lib files according to api
compatibility report.
2019-12-09 01:13:18 -06:00
Larry Knox
75ff4cf4ec Created hdf5_1_10_6 branch for HDF5 1.10.6 release preparation.
Set version to 1.10.6-pre1.
Switched default  maintainer mode to disabled and default build mode to production.
Added files produced by autogen.sh to commit except for src/H5config.h.in~ and src/H5public.h~.
2019-12-08 23:57:22 -06:00
Allen Byrne
7146b71ac3 Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit 'b00a52c403e4b7b64be974080ddfef3aee1bf801':
  Fix the segmentation fault when h5dump "vds_virt_0.h5", which is a test file produced by test/vds.c in the develop branch.  The fix: verify the decoded version for hyperslab selection is within the correct range.
2019-12-06 11:31:22 -06:00
Vailin Choi
b00a52c403 Merge pull request #2077 in HDFFV/hdf5 from ~VCHOI/my_third_fork:seg_fault_backward_compat to hdf5_1_10
* commit '0662f060b2e5917b70360ed10aca3993b60f1434':
  Fix the segmentation fault when h5dump "vds_virt_0.h5", which is a test file produced by test/vds.c in the develop branch.  The fix: verify the decoded version for hyperslab selection is within the correct range.
2019-12-06 10:03:43 -06:00
Vailin Choi
0662f060b2 Fix the segmentation fault when h5dump "vds_virt_0.h5", which is a test file produced by test/vds.c in the develop
branch.  The fix: verify the decoded version for hyperslab selection is within the correct range.
2019-12-05 12:35:20 -06:00
Allen Byrne
1bb939f49e Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit '3726715625d146ddffc4236b8de5cc601c87b737':
  Add changes from PR #2049 to 1.10
2019-12-04 11:36:13 -06:00
Chris Hogan
3726715625 Merge pull request #2068 in HDFFV/hdf5 from ~CHOGAN/hdf5:feature/1.10/issue_10934 to hdf5_1_10
* commit '9856644d76686d5a3d4a6d801477ea12bbef2ba4':
  Add changes from PR #2049 to 1.10
2019-12-03 16:20:27 -06:00
Chris Hogan
9856644d76 Add changes from PR #2049 to 1.10 2019-12-02 17:00:18 -06:00
Allen Byrne
0b940d2ff0 Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit '91b2ae219cd631798f95f0a94e793f2a2366b618':
  Set the dcpl for the context on dataset creation
  Add DCPL to H5CX
  Check for both default values
  Use H5CX for LCPL property retrieval
2019-12-02 08:00:26 -06:00
Chris Hogan
91b2ae219c Merge pull request #2061 in HDFFV/hdf5 from ~CHOGAN/hdf5:feature/1.10/cx_lcpl to hdf5_1_10
* commit '54697cc596e7734c5890e58414833e97f5438861':
  Set the dcpl for the context on dataset creation
  Add DCPL to H5CX
  Check for both default values
  Use H5CX for LCPL property retrieval
2019-11-27 16:40:07 -06:00
Chris Hogan
54697cc596 Set the dcpl for the context on dataset creation 2019-11-27 16:39:26 -06:00
Chris Hogan
6f5e5243c7 Add DCPL to H5CX 2019-11-27 16:16:45 -06:00
Chris Hogan
5c50be3c0f Check for both default values 2019-11-27 12:20:59 -06:00
Chris Hogan
bbc37549da Use H5CX for LCPL property retrieval 2019-11-27 10:56:52 -06:00
Allen Byrne
1ff7a5cb36 Remove unneeded flag overwrites 2019-11-25 12:54:56 -06:00
Allen Byrne
b1f884f5a4 Merge pull request #2052 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit 'ec145b88fa2adcb87483864a5a8296eda9223577':
  HDFFV-10962 add VS2019 support
2019-11-20 14:19:59 -06:00
Allen Byrne
ec145b88fa HDFFV-10962 add VS2019 support 2019-11-18 15:42:21 -06:00
Allen Byrne
7200bce646 Merge pull request #2040 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '0560afbd73b00d8a67b82000e8e27739efe677c0':
  Correct file extension
2019-11-15 16:01:09 -06:00
Allen Byrne
0560afbd73 Correct file extension 2019-11-14 16:36:11 -06:00
Larry Knox
b9ba9b2cda Merge pull request #2035 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit 'e7ef8cd945974043c2f8fced174276cbc38cecd7':
  Snapshot version 1.10 release 6 (snap3) Update version to 1.10.6-snap4
2019-11-12 13:29:29 -06:00
Larry Knox
e7ef8cd945 Snapshot version 1.10 release 6 (snap3)
Update version to 1.10.6-snap4
2019-11-12 09:32:59 -06:00
Allen Byrne
8f34874cc8 Merge pull request #2019 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '61a5491eb2f701e8347e4732f627c13c0cec3ba8':
  Fix MPI depends name
2019-10-30 14:22:37 -05:00
Allen Byrne
61a5491eb2 Fix MPI depends name 2019-10-23 16:38:22 -05:00
Allen Byrne
78bd218fdc Merge pull request #2010 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '2644dd395cade8d6f01ab3408c9423c98f0cdd08':
  Fix missing HD and whitespace
2019-10-23 16:12:57 -05:00
Allen Byrne
2644dd395c Fix missing HD and whitespace 2019-10-21 15:02:57 -05:00
Allen Byrne
b8fb6a236e Merge pull request #1979 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '6ad577053e110e4c28b1d2ac6fb68bf29d3f93b9':
  More whitespace changes
  Whitespace cleanup
  Remove incorrect text
  Remove duplicate file names
2019-10-03 13:04:33 -05:00
Allen Byrne
6ad577053e More whitespace changes 2019-10-03 12:18:55 -05:00
Allen Byrne
9b2ea08939 Whitespace cleanup 2019-10-03 11:43:47 -05:00
Allen Byrne
3314ad088f Remove incorrect text 2019-10-03 11:13:54 -05:00
Allen Byrne
1fca6efc39 Remove duplicate file names 2019-10-03 11:04:58 -05:00
Allen Byrne
f9eb3361bb Merge pull request #1972 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '87977eab7d178e4f3b9ba2cd5b97812d594ae105':
  HDFFV-10919 merge synching
  HDFFV-10408,10918 add note
  HDFFV-10918 External Storage test files added
  Whitespace and benign synchro changes
2019-10-02 16:37:50 -05:00
Allen Byrne
87977eab7d HDFFV-10919 merge synching 2019-10-02 14:34:52 -05:00
Allen Byrne
07a1483b16 HDFFV-10408,10918 add note 2019-10-02 13:10:14 -05:00
Allen Byrne
2e1c7f4762 HDFFV-10918 External Storage test files added 2019-10-02 12:53:55 -05:00
Allen Byrne
e2c5f6dd2b Whitespace and benign synchro changes 2019-10-02 12:43:56 -05:00
Allen Byrne
322a347ac8 Merge pull request #1965 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit 'af250a017bba52ab7635c99d5237f2e9b7796b88':
  Remove duplicate declaration-init
  Remove non-existent files from compile
  Add new toolchain file
  fix for statement declare variable
2019-10-01 11:49:36 -05:00
Allen Byrne
af250a017b Remove duplicate declaration-init 2019-10-01 10:30:12 -05:00
Allen Byrne
bb3f7d570b Remove non-existent files from compile 2019-10-01 10:15:42 -05:00
Allen Byrne
2252b24158 Add new toolchain file 2019-10-01 10:12:25 -05:00
Allen Byrne
9ae37d08d9 fix for statement declare variable 2019-09-30 15:02:02 -05:00
Allen Byrne
45a7c23f64 Merge pull request #1938 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '36fc437467630d59894deca7aff15b282cb938fb':
  Add clang toolchain
  Fix missing option and incorrect close
  small syntax addition
  Whitespace fix and HD prefix
  Whitespace updates
  Remove obsolete code
  Add missing class name
  Small syntax changes
  Remove unused command block
  Change unused variable to generic form
  HDFFV-10903 merge dev changes to 1.10
  Correct HDF5 options to tristate values
  HDFFV-10903 merge updated changes
  Add new tools lib test folder
  Merge S3 code from develop to 1.10
2019-09-30 13:18:34 -05:00
Allen Byrne
36fc437467 Add clang toolchain 2019-09-30 13:09:11 -05:00
Allen Byrne
8d0196a022 Fix missing option and incorrect close 2019-09-24 14:49:24 -05:00
Allen Byrne
922d10ff8e small syntax addition 2019-09-23 12:17:29 -05:00
Allen Byrne
ecddd843bd Whitespace fix and HD prefix 2019-09-23 11:59:02 -05:00
Allen Byrne
161501e1c0 Whitespace updates 2019-09-23 11:52:35 -05:00
Allen Byrne
ed96f0c6cd Remove obsolete code 2019-09-20 09:40:24 -05:00
Allen Byrne
56400617c0 Add missing class name 2019-09-19 16:25:44 -05:00
Allen Byrne
58d3a2b03d Small syntax changes 2019-09-19 15:36:14 -05:00
Allen Byrne
a97a4bba9b Remove unused command block 2019-09-19 15:09:06 -05:00
Allen Byrne
0fc7335456 Change unused variable to generic form 2019-09-19 13:43:53 -05:00
Allen Byrne
1d147ef21f Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit 'fb05ff4c4a392d38a45e79fe461bc690dea6f325':
  Added MPICH_SKIP_MPICXX and OMPI_SKIP_CXX to H5public.h to avoid inadvertant linking to the deprecated MPI C++ wrappers. Fixes HDFFV-10893.
2019-09-19 08:48:02 -05:00
Dana Robinson
fb05ff4c4a Merge pull request #1928 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:1_10_minor_pr to hdf5_1_10
* commit '71c80267ba0db1c1b439d39e4bd7c27b82510c92':
  Added MPICH_SKIP_MPICXX and OMPI_SKIP_CXX to H5public.h to avoid inadvertant linking to the deprecated MPI C++ wrappers. Fixes HDFFV-10893.
2019-09-18 15:02:04 -05:00
Allen Byrne
efaf7dea67 HDFFV-10903 merge dev changes to 1.10 2019-09-18 12:27:15 -05:00
Allen Byrne
2a6053435c Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit '2ca63e3890ebdaee7dc835e5d995ff03a182940f':
  Snapshot version 1.10 release 6 (snap2)     Update version to 1.10.6-snap3
2019-09-18 08:45:47 -05:00
Larry Knox
2ca63e3890 Merge pull request #1929 in HDFFV/hdf5 from ~HDFTEST/hdf5_hft:hdf5_1_10 to hdf5_1_10
* commit 'f93f47c9f783d1eb1f736bf671553d0c3bcdd45d':
  Snapshot version 1.10 release 6 (snap2)     Update version to 1.10.6-snap3
2019-09-17 21:44:51 -05:00
Allen Byrne
00aa36a690 Correct HDF5 options to tristate values 2019-09-17 15:44:14 -05:00
hdftest
f93f47c9f7 Merge branch 'hdf5_1_10' of ssh://bitbucket.hdfgroup.org:7999/~hdftest/hdf5_hft into hdf5_1_10 2019-09-17 15:17:57 -05:00
hdftest
ab45fbc81b Snapshot version 1.10 release 6 (snap2)
Update version to 1.10.6-snap3
2019-09-17 15:16:24 -05:00
Allen Byrne
7449e6a2c6 Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit '406890277cbe92be1d68721a6fa115441ab1a726':
  Fixed a bug where we incorrectly pass a lock struct to fcntl for file locking instead of a pointer. (HDFFV-10892)
2019-09-17 14:43:30 -05:00
Allen Byrne
3fed3735db HDFFV-10903 merge updated changes 2019-09-17 14:41:00 -05:00
Dana Robinson
71c80267ba Added MPICH_SKIP_MPICXX and OMPI_SKIP_CXX to H5public.h to avoid inadvertant
linking to the deprecated MPI C++ wrappers. Fixes HDFFV-10893.
2019-09-17 12:11:53 -07:00
Dana Robinson
406890277c Merge pull request #1925 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:1_10_minor_pr to hdf5_1_10
* commit '247738c23af1a19ba2c4a7c098398b91b84b71cb':
  Fixed a bug where we incorrectly pass a lock struct to fcntl for file locking instead of a pointer. (HDFFV-10892)
2019-09-17 10:08:00 -05:00
Dana Robinson
247738c23a Fixed a bug where we incorrectly pass a lock struct to fcntl
for file locking instead of a pointer. (HDFFV-10892)
2019-09-16 16:24:25 -07:00
Allen Byrne
aad17ae135 Add new tools lib test folder 2019-09-13 15:44:37 -05:00
Allen Byrne
3457362c92 Merge S3 code from develop to 1.10 2019-09-13 12:18:36 -05:00
Allen Byrne
5dbb76ebca Merge pull request #1912 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '39719c12cf3d896ffb1301abb7be23b42ae51316':
  Fix namespace usage
  Fix EXISTS test syntax and add toolchain
2019-08-30 09:25:30 -05:00
Allen Byrne
39719c12cf Fix namespace usage 2019-08-29 16:22:31 -05:00
Allen Byrne
7118d30a53 Fix EXISTS test syntax and add toolchain 2019-08-29 14:43:49 -05:00
Allen Byrne
256629d756 Merge pull request #1909 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit 'b5c2b64307dc01128d2a90771cf51076bc1252db':
  Correct threadsafe enable code
  Mostly whitespace, HD prefix and remove obsolete #if blocks
  fix get gethostname for windows
2019-08-28 15:18:16 -05:00
Allen Byrne
b5c2b64307 Correct threadsafe enable code 2019-08-28 13:51:25 -05:00
Allen Byrne
623e0041a4 Mostly whitespace, HD prefix and remove obsolete #if blocks 2019-08-28 11:18:12 -05:00
Allen Byrne
6fd9deaf78 fix get gethostname for windows 2019-08-28 10:19:25 -05:00
Allen Byrne
70456e1313 Merge pull request #1905 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '373e0ebbdb6493f750330ed469938a8757b2e662':
  OESS-29 Fix HD prefix in perform
  HDFFV-10876 link fix and compile issue
2019-08-27 16:57:37 -05:00
Allen Byrne
373e0ebbdb OESS-29 Fix HD prefix in perform 2019-08-27 16:49:31 -05:00
Allen Byrne
1fab09b1d2 HDFFV-10876 link fix and compile issue 2019-08-27 15:16:24 -05:00
Vailin Choi
5ff30cd5fb Merge pull request #1901 in HDFFV/hdf5 from ~VCHOI/my_third_fork:bugfix/110_HDFFV-10873-assertion-v-oh--nmesgs-failed to hdf5_1_10
* commit '9c3e331ba31fdaea98354a05554beb8bdcd2e6fc':
  Merge pull request #1892 in HDFFV/hdf5 from ~VCHOI/my_third_fork:bugfix/HDFFV-10873-assertion-v-oh--nmesgs-failed to develop
2019-08-27 15:04:36 -05:00
Allen Byrne
9de5efb908 Merge pull request #1891 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit 'd26e48ba2e219ebaddd172fc87359c4577f1d30c':
  Add HD prefix
  Correct libver names available
  OESS-29 Update HD prefix and compare against develop
2019-08-27 10:26:50 -05:00
Allen Byrne
d26e48ba2e Add HD prefix 2019-08-27 09:21:27 -05:00
Vailin Choi
9c3e331ba3 Merge pull request #1892 in HDFFV/hdf5 from ~VCHOI/my_third_fork:bugfix/HDFFV-10873-assertion-v-oh--nmesgs-failed to develop
* commit '021919206df7764f951037ae76ccae006b2eea99':
  Fixed the assertion failure for HDFFV-10873.
2019-08-26 17:49:12 -05:00
Allen Byrne
48cdf44547 Correct libver names available 2019-08-26 11:17:46 -05:00
Allen Byrne
75bf79839a Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit '4a3a12c4ba968b0b3781f5b69e3a2c41a3ed74ca':
  Snapshot version 1.10 release 6 (snap1) Update version to 1.10.6-snap2
2019-08-26 11:12:09 -05:00
hdftest
4a3a12c4ba Merge pull request #1894 in HDFFV/hdf5 from ~HDFTEST/hdf5_hft:hdf5_1_10 to hdf5_1_10
* commit 'a0e9f457eb4cceccf7dcb0e4f3198774eeba0401':
  Snapshot version 1.10 release 6 (snap1) Update version to 1.10.6-snap2
2019-08-26 10:25:32 -05:00
hdftest
a0e9f457eb Snapshot version 1.10 release 6 (snap1)
Update version to 1.10.6-snap2
2019-08-26 08:34:37 -05:00
Allen Byrne
d20d355b79 OESS-29 Update HD prefix and compare against develop 2019-08-23 14:09:20 -05:00
Allen Byrne
c951ee8ede Merge pull request #1885 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '3fbf61190d7ddadac6646b988b324b9a3af172dc':
  HDFFV-10887 merge from develop
2019-08-20 12:32:48 -05:00
Allen Byrne
3fbf61190d HDFFV-10887 merge from develop 2019-08-20 11:54:36 -05:00
Vailin Choi
f125d36da2 Merge pull request #1879 in HDFFV/hdf5 from ~VCHOI/my_third_fork:bugfix/110_HDFFV-10813-swmr-test-fails-on-jelly-with to hdf5_1_10
* commit '13a3be1caa3bd32bbf556f4045708a880e54fc7f':
  Merge pull request #1865 in HDFFV/hdf5 from ~VCHOI/my_third_fork:bugfix/HDFFV-10813-swmr-test-fails-on-jelly-with to develop
2019-08-20 11:32:11 -05:00
Allen Byrne
a08f78f9ac Merge pull request #1881 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '16093cc00241824a3f595392aaa5aeab53d93b59':
  Merge HD prefix and whitespace changes from develop
2019-08-20 09:05:23 -05:00
Allen Byrne
16093cc002 Merge HD prefix and whitespace changes from develop 2019-08-18 15:36:57 -05:00
Vailin Choi
13a3be1caa Merge pull request #1865 in HDFFV/hdf5 from ~VCHOI/my_third_fork:bugfix/HDFFV-10813-swmr-test-fails-on-jelly-with to develop
* commit '538f743c145fbbfa7b1119693efd2ff61b34efae':
  Changes based on PR feedback.
  Fix for HDFFV-10813 H5Fset_metadata_read_retry_info() test fails on jelly with PGI/19.
2019-08-16 12:02:03 -05:00
Allen Byrne
3413544b00 Merge pull request #1877 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '7e5bc5fbc7bdeeefa37bccd5124978d6b3e20a24':
  Fix test tmp dir usage
2019-08-15 16:15:53 -05:00
Allen Byrne
7e5bc5fbc7 Fix test tmp dir usage 2019-08-15 13:56:16 -05:00
Ray Lu
a62dc4271d Merge pull request #1870 in HDFFV/hdf5 from ~SONGYULU/hdf5_ray:bugfix/directory_name to hdf5_1_10
* commit '8682040032371fd720eac5464eaa9b2638e166d9':
  Changed a directory name left out from the previous commit.
  Changed the name of the temporary directory from 'tmp' to a special name to avoid possible conflicts.
2019-08-14 15:56:26 -05:00
Songyu Lu
8682040032 Changed a directory name left out from the previous commit. 2019-08-14 15:53:36 -05:00
Songyu Lu
bb6c72b330 Merge branch 'hdf5_1_10' of https://bitbucket.hdfgroup.org/scm/~songyulu/hdf5_ray into bugfix/directory_name 2019-08-14 15:50:56 -05:00
Allen Byrne
3b003bf351 Merge pull request #1867 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '71c071eabc5be11a3e1ad6f6f8cf6503445f9a02':
  HDFFV-10879 fix test varname
2019-08-14 15:29:52 -05:00
Songyu Lu
a09ce0450f Changed the name of the temporary directory from 'tmp' to a special name to avoid possible conflicts. 2019-08-14 14:49:09 -05:00
Allen Byrne
71c071eabc HDFFV-10879 fix test varname 2019-08-14 13:51:05 -05:00
Scot Breitenfeld
b2d5644220 Merge pull request #1864 in HDFFV/hdf5 from ~BRTNFLD/hdf5_msb:hdf5_1_10 to hdf5_1_10
* commit 'afdd58b09a77b9e1b9e3e05a9a417284ab5220ea':
  Added ifdef for intel compilers, __GNUC__ has to be defined for header files which use it to work with intel compilers. This gives a warning for intel compiler about fallthrough, so added a check not to include fallthrough if using intel compilers.
2019-08-14 11:33:37 -05:00
M. Scot Breitenfeld
afdd58b09a Added ifdef for intel compilers, __GNUC__ has to be defined for header files which use it to work with intel compilers. This gives a warning for intel compiler about fallthrough, so added a check not to include fallthrough if using intel compilers. 2019-08-14 08:52:53 -05:00
Allen Byrne
ec76b77cff Merge pull request #1857 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit 'a371dadd33d935636d2e0d0d873bf85845aef8ab':
  HDFFV-10879 set default API version
  Correct error test spelling and use
  HDFFV-10879 fix option text
2019-08-13 13:27:49 -05:00
Allen Byrne
a371dadd33 Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit '9a10685f4d9d9d53ef685714e4c8e511e6cc4617':
  Reverted the gfortran file to the 1.10.5 file while we investigate MPI w/ Fortran failures.
2019-08-13 13:15:47 -05:00
Allen Byrne
d2244b0b06 HDFFV-10879 set default API version 2019-08-13 11:04:23 -05:00
Allen Byrne
c0d26e03b5 Correct error test spelling and use 2019-08-13 10:27:56 -05:00
Dana Robinson
9a10685f4d Merge pull request #1859 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:1_10_gfortran_fix to hdf5_1_10
* commit '0a437539b1818c95a1bd0e32b8f4010dfabd5839':
  Reverted the gfortran file to the 1.10.5 file while we investigate MPI w/ Fortran failures.
2019-08-13 00:42:29 -05:00
Dana Robinson
0a437539b1 Reverted the gfortran file to the 1.10.5 file while we investigate MPI
w/ Fortran failures.
2019-08-12 21:36:42 -07:00
Allen Byrne
914aadc77c HDFFV-10879 fix option text 2019-08-12 16:24:18 -05:00
Allen Byrne
dd6fa90069 Merge pull request #1854 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '0329fe88c9d498b525820fb8f611816e97747d36':
  HDFFV-10879 correct API version set command
  Use a STRING option for API version
  Fix API version option
2019-08-12 15:59:13 -05:00
Allen Byrne
0329fe88c9 HDFFV-10879 correct API version set command 2019-08-12 15:19:51 -05:00
Allen Byrne
cfaa41f0f0 Use a STRING option for API version 2019-08-12 12:46:39 -05:00
Allen Byrne
7322752ab1 Fix API version option 2019-08-12 11:26:50 -05:00
Larry Knox
f0650549ac Merge pull request #1852 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:hdf5_1_10 to hdf5_1_10
* commit '4a055f3babf65ea8caadb2b05956d82c4ed35dff':
  Fixed an issue with older version of gfortran.
2019-08-12 09:57:47 -05:00
Dana Robinson
4a055f3bab Fixed an issue with older version of gfortran. 2019-08-11 21:56:32 -07:00
Allen Byrne
ea4738cc11 Merge pull request #1845 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '9ab8b5cbdced103395cf65e1b9014e8e674f77cc':
  Add option to explicitly disable extra tests
2019-08-09 11:00:54 -05:00
Scot Breitenfeld
dd0c820c4b Merge pull request #1849 in HDFFV/hdf5 from ~BRTNFLD/hdf5_msb:hdf5_1_10 to hdf5_1_10
* commit '8a0663b93851adc152e38a2bd9607cd1d73bad36':
  Added gcc conditional for __attribute__((fallthrough)), removes 34 warnings on theta (10% of warnings).
2019-08-09 10:01:37 -05:00
M. Scot Breitenfeld
8a0663b938 Added gcc conditional for __attribute__((fallthrough)), removes 34 warnings on theta (10% of warnings). 2019-08-09 09:55:33 -05:00
Allen Byrne
9ab8b5cbdc Add option to explicitly disable extra tests 2019-08-07 15:19:09 -05:00
Allen Byrne
be970ccdc2 Merge pull request #1840 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit 'fe00c85917666d3c97f0e9f0531bc662436afac7':
  Correct package name usage
  Add missing HD
  Add java test prefix fix
  Merge fixes and code reconciliation wit develop
2019-08-07 13:55:43 -05:00
Allen Byrne
fe00c85917 Correct package name usage 2019-08-07 13:23:12 -05:00
Allen Byrne
ac303cf3c5 Add missing HD 2019-08-05 14:44:44 -05:00
Allen Byrne
47df3d010a Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit 'a6f1b9941dd7baec34ba21ba0d8194eae8079cd2':
  Removed FORTRAN_SIZEOF_LONG_DOUBLE from public .h files
2019-08-05 14:41:46 -05:00
Scot Breitenfeld
a6f1b9941d Merge pull request #1841 in HDFFV/hdf5 from ~BRTNFLD/hdf5_msb:hdf5_1_10 to hdf5_1_10
* commit '31ea5ab6c75651b1858425f53e39c7502d4b7106':
  Removed FORTRAN_SIZEOF_LONG_DOUBLE from public .h files
2019-08-05 11:50:57 -05:00
Allen Byrne
4cf8c00de6 Add java test prefix fix 2019-08-05 11:43:47 -05:00
M. Scot Breitenfeld
31ea5ab6c7 Removed FORTRAN_SIZEOF_LONG_DOUBLE from public .h files 2019-08-05 11:28:23 -05:00
Allen Byrne
59a8b10b88 Merge fixes and code reconciliation wit develop 2019-08-05 07:32:01 -05:00
Larry Knox
42bd90edc8 Merge pull request #1834 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit '32fd14afa4b4d77812dc510486aff6971a0d3b49':
  Delete unused batch scripts for cori.
  Add contents of HDF5 1.10.5 RELEASE.txt to HISTORY-1_10.txt file. Remove 1.10.5 entries from current RELEASE.txt and update version numbers.
2019-08-03 14:23:20 -05:00
Larry Knox
32fd14afa4 Delete unused batch scripts for cori. 2019-08-02 16:24:12 -05:00
Larry Knox
de6d98cb37 Merge branch 'hdf5_1_10' of https://bitbucket.hdfgroup.org/scm/~lrknox/hdf5_lrk into hdf5_1_10 2019-08-02 16:19:32 -05:00
Larry Knox
b9c948644d Add contents of HDF5 1.10.5 RELEASE.txt to HISTORY-1_10.txt file.
Remove 1.10.5 entries from current RELEASE.txt and update version
numbers.
2019-08-02 16:16:40 -05:00
Ray Lu
0b1af54613 Merge pull request #1832 in HDFFV/hdf5 from ~SONGYULU/hdf5_ray:feature/HDFFV-10658_properties_in_api_context_3 to hdf5_1_10
* commit '9ca9deef1e5bf7a17481247a1646d3898cf8ae41':
  Changed the external files to a directory (extern_env_dir) to avoid possible conflict in daily test on jelly.
2019-08-02 13:50:31 -05:00
Songyu Lu
9ca9deef1e Merge branch 'hdf5_1_10' of https://bitbucket.hdfgroup.org/scm/~songyulu/hdf5_ray into feature/HDFFV-10658_properties_in_api_context_3 2019-08-02 12:53:33 -05:00
Songyu Lu
c7fe738227 Changed the external files to a directory (extern_env_dir) to avoid possible conflict in daily test on jelly. 2019-08-02 12:45:03 -05:00
Allen Byrne
2455d975c8 Merge pull request #1830 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '4165f341945adf3bbfa2318badbe1057ccffca52':
  Add missing function
2019-08-01 13:40:01 -05:00
Allen Byrne
4165f34194 Add missing function 2019-08-01 13:35:22 -05:00
Allen Byrne
68c936e318 Merge pull request #1825 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '898b6d650b2e321b8d3b29ebee4e8f9a48161d92':
  Fix missing export tag
2019-08-01 11:25:08 -05:00
Allen Byrne
898b6d650b Fix missing export tag 2019-07-31 16:51:36 -05:00
Allen Byrne
7bbbbcb179 Merge pull request #1814 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '58d941293aa7ab7d5a824ea5951d7eff32bc1ac5':
  Mostly whitespace and consistent test format
  Cleanup when merging to other branches
  Correct syntax
  Minor code fixes
  Revert unintended whitespace
  Minor comment fix
  HDFFV-10845, 10529 and CMake changes from develop
  Merge from develop, mostly HDFFV-10845
2019-07-31 16:06:48 -05:00
Allen Byrne
58d941293a Mostly whitespace and consistent test format 2019-07-31 15:09:54 -05:00
Allen Byrne
bf1a026578 Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit '803ae1d1a87bb962a7d887a958bbd9ac8adf3da3':
  Changes based on PR review.
  Bring pull request #1772 from develop to 1.10. Fails file creation when non-default free-space info is set in fcpl and the library version high bound is less than v110 because free-space info message is introduced in library release v110.
2019-07-31 15:07:11 -05:00
Vailin Choi
803ae1d1a8 Merge pull request #1809 in HDFFV/hdf5 from ~VCHOI/my_third_fork:bugfix/110_HDFFV-10808-h5pset_file_space_strategy to hdf5_1_10
* commit '452431960978a5693fb7c28096ee0f191a610b36':
  Changes based on PR review.
  Bring pull request #1772 from develop to 1.10. Fails file creation when non-default free-space info is set in fcpl and the library version high bound is less than v110 because free-space info message is introduced in library release v110.
2019-07-31 11:05:45 -05:00
Vailin Choi
4524319609 Merge pull request #15 in ~VCHOI/my_third_fork from hdf5_1_10 to bugfix/110_HDFFV-10808-h5pset_file_space_strategy
* commit '3049d2c140b06d5b2b419562c3d4d1d1c66612e3':
  A minor bug fix.
  Updated the command for external_env and vds_env to the most recent changes.
  1. Updated the commands for compiling two new tests (external_env.c and vds_env.c). 2. Changed the data file names for external.c and external_env.c to avoid potential name conflict.
  HDFFV-10658: setting and getting properties in API context.  Porting the changes to the develop branch into the 1.10 branch: mainly the external file prefix and VDS prefix.
2019-07-31 11:03:51 -05:00
Vailin Choi
32e1c9f89d Changes based on PR review. 2019-07-31 10:58:26 -05:00
Allen Byrne
a873d149e5 Cleanup when merging to other branches 2019-07-30 16:58:24 -05:00
Allen Byrne
1b2941af43 Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit '3049d2c140b06d5b2b419562c3d4d1d1c66612e3':
  A minor bug fix.
2019-07-29 16:24:21 -05:00
Ray Lu
3049d2c140 Merge pull request #1816 in HDFFV/hdf5 from ~SONGYULU/hdf5_ray:feature/HDFFV-10658_properties_in_api_context_2 to hdf5_1_10
* commit '794c50e995c2c37c4ba85d7e19b80c4b20c9346b':
  A minor bug fix.
2019-07-29 16:22:32 -05:00
Songyu Lu
794c50e995 A minor bug fix. 2019-07-29 16:13:51 -05:00
Allen Byrne
8ccb0b9a94 Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit 'b20ffd84e3572cd506bf1f696431892258e9ab3b':
  Updated the command for external_env and vds_env to the most recent changes.
  1. Updated the commands for compiling two new tests (external_env.c and vds_env.c). 2. Changed the data file names for external.c and external_env.c to avoid potential name conflict.
  HDFFV-10658: setting and getting properties in API context.  Porting the changes to the develop branch into the 1.10 branch: mainly the external file prefix and VDS prefix.
2019-07-29 16:10:50 -05:00
Allen Byrne
6db61f4b91 Correct syntax 2019-07-29 16:08:02 -05:00
Ray Lu
b20ffd84e3 Merge pull request #1813 in HDFFV/hdf5 from ~SONGYULU/hdf5_ray:feature/HDFFV-10658_properties_in_api_context to hdf5_1_10
* commit '64c17fd18b2649fe4f571b7c10a0b1cc82856af8':
  Updated the command for external_env and vds_env to the most recent changes.
  1. Updated the commands for compiling two new tests (external_env.c and vds_env.c). 2. Changed the data file names for external.c and external_env.c to avoid potential name conflict.
  HDFFV-10658: setting and getting properties in API context.  Porting the changes to the develop branch into the 1.10 branch: mainly the external file prefix and VDS prefix.
2019-07-29 14:42:06 -05:00
Songyu Lu
64c17fd18b Updated the command for external_env and vds_env to the most recent changes. 2019-07-29 12:00:53 -05:00
Songyu Lu
f7cc189609 1. Updated the commands for compiling two new tests (external_env.c and vds_env.c).
2. Changed the data file names for external.c and external_env.c to avoid potential name conflict.
2019-07-29 11:22:20 -05:00
Allen Byrne
e5c5e758d9 Minor code fixes 2019-07-27 12:53:15 -05:00
Songyu Lu
59d7db40a7 HDFFV-10658: setting and getting properties in API context. Porting the changes to the develop branch into the 1.10 branch: mainly the external file prefix and VDS prefix. 2019-07-26 15:01:40 -05:00
Allen Byrne
e004576a01 Revert unintended whitespace 2019-07-26 11:41:04 -05:00
Allen Byrne
ba953e018c Minor comment fix 2019-07-25 11:31:42 -05:00
Allen Byrne
34adba4a0c HDFFV-10845, 10529 and CMake changes from develop 2019-07-24 11:08:47 -05:00
Allen Byrne
ab0b1a00af Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit '308393a020bd7a812c231eee8130c9365d192e18':
  Change "bad" hid_t_value to H5I_INVALID_HID in test_libver_bounds_copy() test.
  Bring pull request #1729 from develop to 1.10: Fix for HDFFV-10800 H5Ocopy failure:     The value for the H5F_LIBVER_V18 index in H5O_fill_ver_bounds[], the format     version bounds array for fill value message, should be version 3 not 2.
2019-07-23 16:22:45 -05:00
Vailin Choi
00a546ec57 Bring pull request #1772 from develop to 1.10.
Fails file creation when non-default free-space info is set in fcpl and the library version
high bound is less than v110 because free-space info message is introduced in library release v110.

Merge pull request #1772 in HDFFV/hdf5 from ~VCHOI/my_third_fork:bugfix/HDFFV-10808-h5pset_file_space_strategy-succeeds to develop

* commit '3768566139df18928aa29ece0eff3010b224633b':
  Add release notes.
  Correct hid_t error value to H5I_INVALID_HID in tests related to libver_bounds.
  Fix for HDFFV-10808 H5Pset_file_space_strategy succeeds when using H5Pset_libver_bounds v18,v18. Fails file creation when non-default free-space info is set in fcpl and the library version high bound is less than v110 because free-space info message is introduced in library release v110.

Conflicts:
	test/tfile.c
2019-07-22 14:52:43 -05:00
Vailin Choi
f4e2304bad Merge pull request #14 in ~VCHOI/my_third_fork from hdf5_1_10 to bugfix/110_HDFFV-10808-h5pset_file_space_strategy
* commit '308393a020bd7a812c231eee8130c9365d192e18':
  Change "bad" hid_t_value to H5I_INVALID_HID in test_libver_bounds_copy() test.
  Bring pull request #1729 from develop to 1.10: Fix for HDFFV-10800 H5Ocopy failure:     The value for the H5F_LIBVER_V18 index in H5O_fill_ver_bounds[], the format     version bounds array for fill value message, should be version 3 not 2.
2019-07-18 13:59:12 -05:00
Vailin Choi
308393a020 Merge pull request #1806 in HDFFV/hdf5 from ~VCHOI/my_third_fork:bugfix/110_HDFFV-10800-h5ocopy-failure to hdf5_1_10
* commit '378ed8bebfe709156b24aacbf8013de1a776c04e':
  Change "bad" hid_t_value to H5I_INVALID_HID in test_libver_bounds_copy() test.
  Bring pull request #1729 from develop to 1.10: Fix for HDFFV-10800 H5Ocopy failure:     The value for the H5F_LIBVER_V18 index in H5O_fill_ver_bounds[], the format     version bounds array for fill value message, should be version 3 not 2.
2019-07-18 11:01:09 -05:00
Vailin Choi
378ed8bebf Change "bad" hid_t_value to H5I_INVALID_HID in test_libver_bounds_copy() test. 2019-07-18 10:20:56 -05:00
Vailin Choi
4af15717e2 Bring pull request #1729 from develop to 1.10:
Fix for HDFFV-10800 H5Ocopy failure:
    The value for the H5F_LIBVER_V18 index in H5O_fill_ver_bounds[], the format
    version bounds array for fill value message, should be version 3 not 2.
2019-07-17 14:21:33 -05:00
Vailin Choi
67dff8dd8c Merge pull request #13 in ~VCHOI/my_third_fork from hdf5_1_10 to bugfix/110_HDFFV-10800-h5ocopy-failure
* commit '346fe1a0bcb2da5e3b1de04f24195ce9781e846a':
  Fix CMake module include and note text
  HDFFV-10581 Correct PDB files and debug naming.
  Fixed name for 'Build HDF Tests' in CMake's libhdf5 settings
  Merge parallel static fix from develop
  Fixed options for CMake to correct names
  Added Tests/Tools to libhdf5.settings in cmake equivalent
  Minor fix in libhdf5.settings.in
  Squash commit of options to build tools and tests
2019-07-17 12:21:11 -05:00
Allen Byrne
c04ed97d4c Merge from develop, mostly HDFFV-10845 2019-07-12 10:56:55 -05:00
Allen Byrne
346fe1a0bc Merge pull request #1795 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '4c8e3573a7387db8cb8292c9207d528b9497a4c7':
  Fix CMake module include and note text
  HDFFV-10581 Correct PDB files and debug naming.
2019-07-11 15:38:41 -05:00
Allen Byrne
4c8e3573a7 Fix CMake module include and note text 2019-07-10 10:33:40 -05:00
Allen Byrne
c43323a06d HDFFV-10581 Correct PDB files and debug naming. 2019-07-09 16:31:17 -05:00
Dhvanil Popat
89b2d1c8ce Merge pull request #1786 in HDFFV/hdf5 from ~DPOPAT/hdf5:bugfix/HDFFV-10832_merge to hdf5_1_10
* commit 'c56b9846c5277271dd07900b884da1abf1c9c21f':
  Fixed name for 'Build HDF Tests' in CMake's libhdf5 settings
  Fixed options for CMake to correct names
  Added Tests/Tools to libhdf5.settings in cmake equivalent
  Minor fix in libhdf5.settings.in
  Squash commit of options to build tools and tests
2019-07-05 13:31:46 -05:00
Dhvanil Popat
c56b9846c5 Fixed name for 'Build HDF Tests' in CMake's libhdf5 settings 2019-07-03 14:23:22 -05:00
Allen Byrne
b43c2520bf Merge pull request #1780 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit 'f8a4c39577b85ac839b29afdee74fe0c9e241ce2':
  Merge parallel static fix from develop
2019-07-01 10:14:32 -05:00
Allen Byrne
f8a4c39577 Merge parallel static fix from develop 2019-06-27 12:43:23 -05:00
Allen Byrne
39537399a1 Merge pull request #1773 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '6d1c05b8d248a3e9ae8797e20744fdf5b2319af5':
  HDFFV-9407 Merge test addition from develop
2019-06-25 12:36:34 -05:00
Allen Byrne
6d1c05b8d2 HDFFV-9407 Merge test addition from develop 2019-06-25 10:22:47 -05:00
Dhvanil Popat
ef683f7666 Fixed options for CMake to correct names 2019-06-25 07:17:32 +00:00
Dhvanil Popat
194c3faf95 Added Tests/Tools to libhdf5.settings in cmake equivalent 2019-06-25 05:41:13 +00:00
Dhvanil Popat
a4618f9649 Minor fix in libhdf5.settings.in 2019-06-25 02:12:27 +00:00
Dhvanil Popat
5d954a0214 Squash commit of options to build tools and tests 2019-06-25 01:40:07 +00:00
Allen Byrne
d42e543f17 Merge pull request #1766 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '7003d4928776d10317688033e5bab236124f470f':
  Fix fortran test and test library linking
2019-06-24 07:26:44 -05:00
Allen Byrne
7003d49287 Fix fortran test and test library linking 2019-06-23 13:54:17 -05:00
Allen Byrne
4ad465827a Merge pull request #1762 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '00491923f11bf7b44390d41bc4ff3b5455a66b16':
  Add lib dir for testing plugins
2019-06-22 10:06:45 -05:00
Allen Byrne
00491923f1 Add lib dir for testing plugins 2019-06-21 16:24:53 -05:00
Allen Byrne
ab654ee7da Merge pull request #1758 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '5a52a6fa1540eb59acbf812d85f8ca0d2215e9d6':
  remove duplicated function
2019-06-21 16:11:45 -05:00
Allen Byrne
5a52a6fa15 remove duplicated function 2019-06-21 10:33:18 -05:00
Allen Byrne
d46ca49e16 Merge pull request #1755 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '8ab0727d54cd147930aea5fdb025f3aeeb4f82c1':
  Correct sentence structure.
  Add H5_DLL prefix to fix link
  HDFFV-10805 Merge SHARED ONLY option from develop
2019-06-21 09:51:53 -05:00
Allen Byrne
8ab0727d54 Correct sentence structure. 2019-06-21 09:51:32 -05:00
Allen Byrne
380200f0ed Add H5_DLL prefix to fix link 2019-06-20 08:30:16 -05:00
Allen Byrne
7ee92d5805 HDFFV-10805 Merge SHARED ONLY option from develop 2019-06-20 06:55:05 -05:00
Allen Byrne
c2a7449951 Merge pull request #1723 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '1a2df2a6c3dcfc4c1030e6ba4d3da351f46a9d4f':
  Updates from develop
2019-06-12 13:12:59 -05:00
Allen Byrne
1a2df2a6c3 Updates from develop 2019-06-10 13:16:11 -05:00
Allen Byrne
b5a4fd517b Merge pull request #1716 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit 'c59817f3436cdd30059520df7d12eea0512e59b4':
  Update cmake macros and java arg format
2019-06-05 15:07:05 -05:00
Allen Byrne
c59817f343 Update cmake macros and java arg format 2019-05-31 12:34:37 -05:00
Allen Byrne
86add4853d Merge pull request #1712 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit 'd628d1d8c897917c7a07affd565c7744d4ae6057':
  Fix message command syntax
2019-05-19 10:59:30 -05:00
Allen Byrne
d628d1d8c8 Fix message command syntax 2019-05-17 15:49:00 -05:00
Vailin Choi
ab3591b9ec Merge pull request #1707 in HDFFV/hdf5 from ~VCHOI/my_third_fork:hdf5_1_10 to hdf5_1_10
* commit '519685d05cdb53e6e641587863c45773cca571db':
  Address daily test failure for hdf5_1_10: Fix the testhdf5 failing test in the selection code which segfaults.
2019-05-16 16:46:35 -05:00
Vailin Choi
519685d05c Address daily test failure for hdf5_1_10:
Fix the testhdf5 failing test in the selection code which segfaults.
2019-05-16 13:19:56 -05:00
Vailin Choi
7f616e0b8a Merge pull request #1671 in HDFFV/hdf5 from ~VCHOI/my_third_fork:bugfix/v110_HDFFV-10365-h5sencode-decode-bug-when-num to hdf5_1_10
* commit '1d87374f68a28a215878a47e1203711dc95ac716':
  Make corresponding changes for H5Sencode based on PR #1645 to develop branch. The core changes are to revert previous modifications now that we use API context for fapl.
2019-05-13 11:40:59 -05:00
Vailin Choi
1d87374f68 Merge pull request #4 in ~VCHOI/my_third_fork from hdf5_1_10 to bugfix/v110_HDFFV-10365-h5sencode-decode-bug-when-num
* commit '4dfcc225ba98a5ad1bc4283b8eacde0bb6f7484c':
  Fix Java JUnit-TestH5P failure on 32-bit arch
  Added new C++ wrappers - HDFFV-10622
  Make the corresponding fix for HDFFV-10579 H5Arename fails when creation order of attributes is tracked.
2019-05-13 11:34:51 -05:00
Allen Byrne
4dfcc225ba Merge pull request #1684 in HDFFV/hdf5 from ~JHENDERSON/hdf5:hdf5_1_10 to hdf5_1_10
* commit 'eb2476bc41d30e856a453990a0b0fdc89e3f5ad5':
  Fix Java JUnit-TestH5P failure on 32-bit arch
2019-04-30 15:38:50 -05:00
Jordan Henderson
eb2476bc41 Fix Java JUnit-TestH5P failure on 32-bit arch 2019-04-30 15:35:09 -05:00
Binh-Minh Ribler
2de6faf82b Merge pull request #1673 in HDFFV/hdf5 from ~BMRIBLER/hdf5-bmr:hdf5_1_10 to hdf5_1_10
Added C++ wrappers for H5Pset/get_create_intermediate_group

* commit '4867de9631d9ffd8f4186df27b3c69283ca0fee5':
  Added new C++ wrappers - HDFFV-10622
2019-04-25 23:12:08 -05:00
Binh-Minh Ribler
4867de9631 Added new C++ wrappers - HDFFV-10622
Description:
    Added wrappers for H5Pset/get_create_intermediate_group:
        // Specifies in property list whether to create missing
        // intermediate groups
        void setCreateIntermediateGroup(bool crt_intmd_group) const;

        // Determines whether property is set to enable creating missing
        // intermediate groups
        bool getCreateIntermediateGroup() const;
Platforms tested:
    Linux/64 (jelly)
    Linux/64 (platypus)
    Darwin (osx1011test)
2019-04-24 09:37:41 -05:00
Vailin Choi
1f934ae2c6 Make corresponding changes for H5Sencode based on PR #1645 to develop branch.
The core changes are to revert previous modifications now that we use API context for fapl.
2019-04-23 15:04:50 -05:00
Vailin Choi
19ef25909e Merge pull request #1664 in HDFFV/hdf5 from ~VCHOI/my_third_fork:bugfix/v110_HDFFV-10579-h5arename-function-fails-when to hdf5_1_10
* commit '36149c8a669146eb73750f03b8dd85a1f1c02c2e':
  Make the corresponding fix for HDFFV-10579 H5Arename fails when creation order of attributes is tracked.
2019-04-22 15:58:48 -05:00
Vailin Choi
36149c8a66 Make the corresponding fix for HDFFV-10579 H5Arename fails when creation order of attributes is tracked. 2019-04-18 18:14:17 -05:00
Vailin Choi
6084b4d003 Merge pull request #1650 in HDFFV/hdf5 from ~VCHOI/my_third_fork:bugfix/v110_HDFFV-10271-version-2-hyperslab-encoding to hdf5_1_10
* commit '3e30d019214eaee6f345f45eae478e7f464df8ad':
  Make corresponding changes for hyperslab encoding incorrect length (HDFFV-10271). This is based on PR #1644 merged to develop branch. The fix for the incorrect length was already checked in to 1.10 on Dec 2017.
2019-04-18 15:05:10 -05:00
Vailin Choi
a07ce44bee Merge pull request #1648 in HDFFV/hdf5 from ~VCHOI/my_third_fork:bugfix/v110_move_selection_specific to hdf5_1_10
* commit '670c6c1389c1c66598a365a9bfe2b19237d9e93a':
  Make corresponding changes for moving dataspace selection-specific coding to the callbacks. This is based on the PR #1642 merged to the develop branch.
2019-04-18 15:04:21 -05:00
Vailin Choi
6fa80c0147 Merge pull request #1647 in HDFFV/hdf5 from ~VCHOI/my_third_fork:bugfix/v110_context_fapl to hdf5_1_10
* commit '76b4748e78b2de806114100f7b82133b6983c60c':
  Make corresponding changes for setting API context for fapl and libver_bounds to be used later in dataspace selection. This is based on PR #1640 merged to develop branch.
2019-04-18 15:03:39 -05:00
Vailin Choi
2e7811922f Merge pull request #1646 in HDFFV/hdf5 from ~VCHOI/my_third_fork:bugfix/v110_ver_bounds to hdf5_1_10
* commit '4feb2100591c802ea450dc26dae4e0546479fa96':
  Make corresponding changes for version bounds in V110. This is based on PR#1639 merged to develop branch.
2019-04-18 15:03:12 -05:00
Vailin Choi
3e30d01921 Make corresponding changes for hyperslab encoding incorrect length (HDFFV-10271).
This is based on PR #1644 merged to develop branch.
The fix for the incorrect length was already checked in to 1.10 on Dec 2017.
2019-04-10 17:22:06 -05:00
Vailin Choi
670c6c1389 Make corresponding changes for moving dataspace selection-specific coding to the callbacks.
This is based on the PR #1642 merged to the develop branch.
2019-04-10 14:24:53 -05:00
Vailin Choi
76b4748e78 Make corresponding changes for setting API context for fapl and libver_bounds to be used later in dataspace selection.
This is based on PR #1640 merged to develop branch.
2019-04-10 11:36:10 -05:00
Vailin Choi
4feb210059 Make corresponding changes for version bounds in V110.
This is based on PR#1639 merged to develop branch.
2019-04-10 10:58:59 -05:00
Allen Byrne
1fb34f7e8c Merge pull request #1638 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit 'ca1165f3ab5121e433eb8ffa4de74e061c8b3cd1':
  Update java m4 scripts
  CMake fixes
  Update namespace handling
  Allow option to select NAMESPACE
2019-04-06 10:33:23 -05:00
Allen Byrne
ca1165f3ab Update java m4 scripts 2019-04-04 13:26:14 -05:00
Allen Byrne
7dfec79e31 CMake fixes 2019-04-04 11:55:01 -05:00
Allen Byrne
f3546fb4b0 Update namespace handling 2019-04-04 10:48:37 -05:00
Allen Byrne
c6efe52cc9 Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit 'af7dc057890c8ddb9327e8bb7e93f78195152320':
  Snapshot version 1.10 release 6 (snap0)\nUpdate version to 1.10.6-snap1)
2019-04-03 08:48:30 -05:00
Larry Knox
af7dc05789 Merge pull request #1631 in HDFFV/hdf5 from ~HDFTEST/hdf5_hft:hdf5_1_10 to hdf5_1_10
* commit '5894e19ad5432f599dd5deba2f4cc0e224c92bc3':
  Snapshot version 1.10 release 6 (snap0)\nUpdate version to 1.10.6-snap1)
2019-04-02 12:24:49 -05:00
hdftest
5894e19ad5 Snapshot version 1.10 release 6 (snap0)\nUpdate version to 1.10.6-snap1) 2019-04-01 17:02:17 -05:00
Allen Byrne
8c34530608 Allow option to select NAMESPACE 2019-03-28 16:41:30 -05:00
Allen Byrne
228ec80c9c Merge pull request #1623 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit 'ad3a510e61017fa6da64b46e45120172d27376c2':
  Correct Examples for packaging
2019-03-28 16:38:04 -05:00
Allen Byrne
ad3a510e61 Correct Examples for packaging 2019-03-28 13:43:04 -05:00
Scot Breitenfeld
7ef7506ad4 Merge pull request #1622 in HDFFV/hdf5 from ~BRTNFLD/hdf5_msb:hdf5_1_10 to hdf5_1_10
* commit 'cc0a892704bcd5a15d919d346202a066d551b183':
  HDFFV-10738 Wrong INTENT for H5LTread_dataset_double_f
2019-03-27 09:56:48 -05:00
M. Scot Breitenfeld
cc0a892704 HDFFV-10738 Wrong INTENT for H5LTread_dataset_double_f
Fixed.

Also fixed INTENT issues for H5DS, H5IM and H5TB when reading or getting.
2019-03-27 09:34:57 -05:00
Neil Fortner
df98700e02 Merge pull request #1609 in HDFFV/hdf5 from ~NFORTNE2/hdf5_naf:hdf5_1_10 to hdf5_1_10
* commit 'a8443acaa76b79ebe74624af363008f0163a44f8':
  Fix issue with direct chunk write not updating the "last chunk" index cache.  Fix issues involving datasets being "no allocated" when they contain cached raw data.
2019-03-19 15:38:53 -05:00
Neil Fortner
a8443acaa7 Fix issue with direct chunk write not updating the "last chunk" index
cache.  Fix issues involving datasets being "no allocated" when they
contain cached raw data.
2019-03-19 15:36:43 -05:00
Ray Lu
285bb9713c Merge pull request #1591 in HDFFV/hdf5 from ~SONGYULU/hdf5_ray:HDFFV-10705-for-1-10-branch to hdf5_1_10
* commit '2f3c34c649b8ec04d399296fa6203f68615e55a0':
  Revised the entry of bug fix for HDFFV-10705.
  Minor change: revised the note from the previous commit about HDFFV-10705.
  HDFFV-10705: added a release note.
  HDFFV-10705: Fixed memory leak in scale offset filter.
2019-03-08 10:46:12 -06:00
Songyu Lu
2f3c34c649 Revised the entry of bug fix for HDFFV-10705. 2019-03-08 09:56:09 -06:00
Songyu Lu
1848184afe Minor change: revised the note from the previous commit about HDFFV-10705. 2019-03-07 10:10:11 -06:00
Songyu Lu
35b6085c60 HDFFV-10705: added a release note. 2019-03-04 16:09:26 -06:00
Songyu Lu
8a864f91eb HDFFV-10705: Fixed memory leak in scale offset filter. 2019-03-04 10:22:51 -06:00
Larry Knox
646fc29407 Merge pull request #1590 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:1.10/master to 1.10/master
* commit '6819c11508b0610f222fe3bfe8a19f637bf4319c': (154 commits)
  CMake needs a tar.gz examples file for windows, too.
  Correct file permissions on README.txt.
  Address merge anomalies and incorrect file permissions.
  Update release date in README.txt and RELEASE.txt.
  Revisions to Platforms tested.
  Updated LT_VERS_AGE in config/lt_vers.am due to reinstatement of previously removed symbols, then ran autogen.sh to propagate so number changes and H5E_LOGFAIL_g addition to files checked in on release branch.
  Updated H5err.txt to replace a global variable that was removed during the metadata cache logging changes (to maintain binary compatibility).
  HDFFV-10552,10686 restore H5O_*1 functions
  Minor fix in h5str_sprintf for NULL region references
  Add new files to MANIFEST.
  Update so version numbers. fix 2 typos.
  Update RELEASE.txt for TRILABS-34 and remove unused sections.
  Add script for building HDF5 with CMake on HPC machines that use sbatch. Add README file for inclusion in CMake-hdf5-<version>.tar.gz file. Add updated README_HPC file with cross compile instructions.
  set version to 1.10.5-pre1. Change default build mode to production.
  Merge pull request #1560 in HDFFV/hdf5 from hdf5-1-10-documentation-only to hdf5_1_10_5
  Update HISTORY-1_10.txt and RELEASE.txt files.
  Modify RELEASE.txt in response to PR comments
  Check in files generated by autogen.sh for hdf5_1_10_5 release branch.
  Check in files generated by autogen.sh for hdf5_1_10_5 release branch. 2019/02/16.
  Code improvement
  ...
2019-02-28 15:24:02 -06:00
Larry Knox
6819c11508 CMake needs a tar.gz examples file for windows, too. 2019-02-28 15:11:48 -06:00
Larry Knox
8c0852a783 Correct file permissions on README.txt. 2019-02-28 14:50:55 -06:00
Larry Knox
038a560da9 Address merge anomalies and incorrect file permissions. 2019-02-28 14:46:48 -06:00
Larry Knox
7f797174c7 Merge branch 'hdf5_1_10_5' into 1.10/master 2019-02-28 14:29:04 -06:00
Larry Knox
7eb65dbad4 Merge branch 'hdf5_1_10_5' of https://bitbucket.hdfgroup.org/scm/~lrknox/hdf5_lrk into hdf5_1_10_5 2019-02-28 12:04:31 -06:00
Larry Knox
70590fc3e8 Update release date in README.txt and RELEASE.txt. 2019-02-28 12:00:49 -06:00
Allen Byrne
970dccd54b Merge pull request #1583 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '81f446d31169e464f87148b061c9816a4197e622':
  Correct CMake examples for a binary install
  Fix typos
2019-02-27 13:34:33 -06:00
Allen Byrne
81f446d311 Correct CMake examples for a binary install 2019-02-27 11:15:58 -06:00
Allen Byrne
a372f76ea6 Fix typos 2019-02-26 10:44:57 -06:00
Larry Knox
0098f70c72 Merge pull request #1581 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_5 to hdf5_1_10_5
* commit '3988e6016ac0b4ad09a72dfe3daa277f867e01b4':
  Revisions to Platforms tested.
2019-02-25 22:24:49 -06:00
Larry Knox
3988e6016a Revisions to Platforms tested. 2019-02-25 21:38:40 -06:00
Larry Knox
2420315078 Merge pull request #1579 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_5 to hdf5_1_10_5
* commit '2418415fb9f67e8a15f62f1972a9394e48a9c97d':
  Updated LT_VERS_AGE in config/lt_vers.am due to reinstatement of previously removed symbols, then ran autogen.sh to propagate so number changes and H5E_LOGFAIL_g addition to files checked in on release branch.
2019-02-23 21:15:36 -06:00
Larry Knox
2418415fb9 Updated LT_VERS_AGE in config/lt_vers.am due to reinstatement of
previously removed symbols, then ran autogen.sh to propagate so number
changes and H5E_LOGFAIL_g addition to files checked in on release
branch.
2019-02-23 14:41:04 -06:00
Allen Byrne
b953b499db Merge pull request #1576 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10_5 to hdf5_1_10_5
* commit '6d8d323a9fed3e8a80d58e3e771b0b50d2831100':
  HDFFV-10552,10686 restore H5O_*1 functions
2019-02-22 18:19:47 -06:00
Allen Byrne
4a0a1784db Merge pull request #1575 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '675be2a4a48253ed2622b9c45f8beabaa872c18d':
  HDFFV-10552 Change to use H5G_loc_info
  HDFFV-10552 Revert H5O_*1 functions for compatibility
2019-02-22 18:14:55 -06:00
Dana Robinson
68ed170fbc Merge pull request #1577 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:hdf5_1_10 to hdf5_1_10
* commit 'd628025b500a9480ce08ced10d566a700d82f8e3':
  Updated H5err.txt to replace a global variable that was removed during the metadata cache logging changes (to maintain binary compatibility).
2019-02-22 17:08:12 -06:00
Dana Robinson
9fac01bd5f Merge pull request #1578 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:hdf5_1_10_5 to hdf5_1_10_5
* commit 'c50008c7663c96c4452c4f0d4cf7de9d0118dec9':
  Updated H5err.txt to replace a global variable that was removed during the metadata cache logging changes (to maintain binary compatibility).
2019-02-22 17:08:00 -06:00
Dana Robinson
c50008c766 Updated H5err.txt to replace a global variable that was removed
during the metadata cache logging changes (to maintain binary
compatibility).

NOTE: I did not re-generate the autotools files.
2019-02-22 14:26:06 -08:00
Dana Robinson
d628025b50 Updated H5err.txt to replace a global variable that was removed
during the metadata cache logging changes (to maintain binary
compatibility).
2019-02-22 14:11:26 -08:00
Allen Byrne
6d8d323a9f HDFFV-10552,10686 restore H5O_*1 functions 2019-02-22 15:55:00 -06:00
Allen Byrne
675be2a4a4 HDFFV-10552 Change to use H5G_loc_info 2019-02-22 13:13:42 -06:00
Allen Byrne
62dce9ab87 HDFFV-10552 Revert H5O_*1 functions for compatibility 2019-02-22 12:46:43 -06:00
Jordan Henderson
6f103565f9 Merge pull request #1572 in HDFFV/hdf5 from ~JHENDERSON/hdf5:hdf5_1_10 to hdf5_1_10
* commit '2cb70b01eadbed1363ea4418fa1d36e636d9998d':
  Minor fix in h5str_sprintf for NULL region references
2019-02-22 10:11:59 -06:00
Jordan Henderson
bb4adda855 Merge pull request #1573 in HDFFV/hdf5 from ~JHENDERSON/hdf5:hdf5_1_10_5 to hdf5_1_10_5
* commit '74198be06a878b4911442c40ff029e32b17a93a8':
  Minor fix in h5str_sprintf for NULL region references
2019-02-22 10:11:47 -06:00
Jordan Henderson
74198be06a Minor fix in h5str_sprintf for NULL region references 2019-02-22 08:43:54 -06:00
Jordan Henderson
2cb70b01ea Minor fix in h5str_sprintf for NULL region references 2019-02-22 08:42:37 -06:00
Allen Byrne
b78b3ea95e Merge pull request #1570 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit 'b7d6f11182f148c0d0fff8d077d7fa342080d98c':
  HDFFV-10703 - Update CMake variable handling
2019-02-21 14:18:54 -06:00
Allen Byrne
b7d6f11182 HDFFV-10703 - Update CMake variable handling 2019-02-21 13:23:59 -06:00
Larry Knox
0c6110e586 Merge pull request #1567 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit '1353f9552eaabf9f17b9043ed1d9a3d97fb5ba87':
  Add new files to MANIFEST.
  Update so version numbers. fix 2 typos.
2019-02-20 14:10:48 -06:00
Larry Knox
1353f9552e Add new files to MANIFEST. 2019-02-20 13:58:52 -06:00
Larry Knox
cd1838e063 Update so version numbers.
fix 2 typos.
2019-02-20 13:27:12 -06:00
Larry Knox
8d3cdb9e9c Merge pull request #1566 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_5 to hdf5_1_10_5
* commit '6f2831ceccfe2edd166252eaf91caa1779ac7628':
  Add new files to MANIFEST.
  Update so version numbers. fix 2 typos.
  Update RELEASE.txt for TRILABS-34 and remove unused sections.
  Add script for building HDF5 with CMake on HPC machines that use sbatch. Add README file for inclusion in CMake-hdf5-<version>.tar.gz file. Add updated README_HPC file with cross compile instructions.
2019-02-19 15:43:22 -06:00
Larry Knox
6f2831cecc Add new files to MANIFEST. 2019-02-19 14:12:38 -06:00
Larry Knox
f3b5fa6332 Update so version numbers.
fix 2 typos.
2019-02-19 14:08:54 -06:00
Larry Knox
4be5352c1d Update RELEASE.txt for TRILABS-34 and remove unused sections. 2019-02-19 11:32:00 -06:00
Larry Knox
926736c2ff Add script for building HDF5 with CMake on HPC machines that use sbatch.
Add README file for inclusion in CMake-hdf5-<version>.tar.gz file.
Add updated README_HPC file with cross compile instructions.
2019-02-19 10:46:26 -06:00
Larry Knox
c31f7e2102 Merge pull request #1565 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_5 to hdf5_1_10_5
* commit 'b3c49d88d0a209cda99d8c667f37b5c8da092d38':
  set version to 1.10.5-pre1. Change default build mode to production.
2019-02-18 16:34:05 -06:00
Larry Knox
ae0a8a197b Merge pull request #1564 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit 'afc010179ce9bed6b9a432fe7531070e5fa589f1':
  Update version on hdf5_1_10 branch to 1.10.6-snap0.
2019-02-18 16:33:51 -06:00
Larry Knox
b3c49d88d0 set version to 1.10.5-pre1.
Change default build mode to production.
2019-02-18 16:30:53 -06:00
Larry Knox
afc010179c Update version on hdf5_1_10 branch to 1.10.6-snap0. 2019-02-18 15:14:43 -06:00
Larry Knox
0012c2f3dd Merge pull request #1563 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_5 to hdf5_1_10_5
* commit '49766a8ffb43e640c1a28ea853d2bfc40f7236ba':
  Merge pull request #1560 in HDFFV/hdf5 from hdf5-1-10-documentation-only to hdf5_1_10_5
  Update HISTORY-1_10.txt and RELEASE.txt files.
2019-02-18 15:04:55 -06:00
Larry Knox
49766a8ffb Merge pull request #1 in ~LRKNOX/hdf5_lrk from hdf5_1_10 to hdf5_1_10_5
* commit '247cb2989f4cc0e730be27bc57baae23e8814178':
  Merge pull request #1560 in HDFFV/hdf5 from hdf5-1-10-documentation-only to hdf5_1_10_5
  Update HISTORY-1_10.txt and RELEASE.txt files.
2019-02-18 14:57:49 -06:00
Larry Knox
247cb2989f Merge pull request #1562 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit '0712f746e900a461513d8f31ddec74d684bd30c8':
  Merge pull request #1560 in HDFFV/hdf5 from hdf5-1-10-documentation-only to hdf5_1_10_5
2019-02-18 14:53:55 -06:00
Richard Warren
0712f746e9 Merge pull request #1560 in HDFFV/hdf5 from hdf5-1-10-documentation-only to hdf5_1_10_5
* commit '5dd2fda18fbbeab95ba44200e48c8202dae65206':
  Modify RELEASE.txt in response to PR comments
  Updated RELEASE.txt with updates regarding HDFFV-10540
2019-02-18 14:35:01 -06:00
Larry Knox
a4b254a92f Merge pull request #1561 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit '51c5f6b4b962062b6eb8f4f8b6425c8930e73118':
  Update HISTORY-1_10.txt and RELEASE.txt files.
2019-02-18 14:16:34 -06:00
Richard Warren
e5a0893384 Merge pull request #1560 in HDFFV/hdf5 from hdf5-1-10-documentation-only to hdf5_1_10_5
* commit '5dd2fda18fbbeab95ba44200e48c8202dae65206':
  Modify RELEASE.txt in response to PR comments
  Updated RELEASE.txt with updates regarding HDFFV-10540
2019-02-18 13:49:35 -06:00
Larry Knox
51c5f6b4b9 Update HISTORY-1_10.txt and RELEASE.txt files. 2019-02-18 12:06:14 -06:00
Richard Warren
5dd2fda18f Modify RELEASE.txt in response to PR comments 2019-02-18 09:44:42 -05:00
Richard Warren
0957f8b677 Merge branch 'hdf5_1_10_5' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into hdf5-1-10-documentation-only 2019-02-18 09:24:36 -05:00
Larry Knox
3c2d20b658 Merge pull request #1557 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_5 to hdf5_1_10_5
* commit 'ce85a157bf8f212d7a2158de2d5bd60ef9ac5d49':
  Check in files generated by autogen.sh for hdf5_1_10_5 release branch.
  Check in files generated by autogen.sh for hdf5_1_10_5 release branch. 2019/02/16.
2019-02-16 17:20:12 -06:00
Larry Knox
ce85a157bf Check in files generated by autogen.sh for hdf5_1_10_5 release branch. 2019-02-16 17:16:20 -06:00
Larry Knox
a27e33e74b Check in files generated by autogen.sh for hdf5_1_10_5 release branch.
2019/02/16.
2019-02-16 16:54:53 -06:00
Binh-Minh Ribler
118cb6a3e2 Merge pull request #1553 in HDFFV/hdf5 from ~BMRIBLER/hdf5_1_10_bmr:hdf5_1_10 to hdf5_1_10
Added C++ wrapper for H5Ovisit2

* commit '2a4e26146dfc2f51edb7b9bb8317d3816172f86d':
  Code improvement
  Adding a C++ wrapper
  Fixing typo in documentation
2019-02-16 07:58:04 -06:00
Larry Knox
7dc26ef073 Merge pull request #1556 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:hdf5_1_10 to hdf5_1_10
* commit '10317c7b5b5c3e39367a6538b9dbc72cf984d07f':
  Updated MANIFEST
2019-02-16 07:44:46 -06:00
Larry Knox
498001342d Merge pull request #1555 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit 'b705528a4e4d5b81d2c1582a378a64315d661163':
  Add release function to create HPC-CMake tar.gz file.
2019-02-16 07:42:49 -06:00
Binh-Minh Ribler
2a4e26146d Code improvement
Description:
    Removed dead code and accidentally leftover code
Platforms tested:
    Linux/64 (jelly) - very minor
2019-02-16 00:37:32 -06:00
Dana Robinson
10317c7b5b Updated MANIFEST 2019-02-15 12:55:30 -08:00
Larry Knox
b705528a4e Merge branch 'hdf5_1_10' of https://bitbucket.hdfgroup.org/scm/~lrknox/hdf5_lrk into hdf5_1_10 2019-02-15 14:17:18 -06:00
Larry Knox
be7382c2e2 Add release function to create HPC-CMake tar.gz file. 2019-02-15 14:13:50 -06:00
Allen Byrne
4a04b01299 Merge pull request #1554 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit '47f58dfb2315abe96dadc7107e564bf1c61d4506':
  raybsub is an executable script.
2019-02-15 11:57:08 -06:00
Larry Knox
47f58dfb23 raybsub is an executable script. 2019-02-15 11:17:41 -06:00
Binh-Minh Ribler
f2f5d29ad5 Adding a C++ wrapper
Description:
    - Added a wrapper for H5Ovisit2 to class H5Object
        // Recursively visit elements reachable from this object.
        void visit(H5_index_t idx_type, H5_iter_order_t order, visit_operator_t user_op, void *op_data, unsigned int fields);
    - Fixed various typos in documentation
    - Removed a pair of [] in a delete statement for a non-array pointer.
Platforms tested:
    Linux/64 (jelly)
    Linux/64 (platypus)
    Darwin (osx1011test)
2019-02-15 09:19:10 -06:00
Richard Warren
d264d07395 Updated RELEASE.txt with updates regarding HDFFV-10540 2019-02-15 08:49:08 -05:00
Larry Knox
bb9aa4376a Merge pull request #1549 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit 'eadc7752609b383f8444bd3b20b31a2b3416e428':
  TRILABS-111 Add missing batch scripts
2019-02-15 06:34:33 -06:00
Binh-Minh Ribler
c3e0799071 Fixing typo in documentation 2019-02-14 19:22:09 -06:00
Allen Byrne
eadc775260 TRILABS-111 Add missing batch scripts 2019-02-14 19:11:20 -06:00
Allen Byrne
d6036ce89f Merge pull request #1543 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit 'f4f8be19125002764715f6cd25372477c729f809':
  Script changes from develop
  Added TRILABS-111 note
  Add HDFFV-10628 known problem
  TRILAB-111 Update MPI CMake
2019-02-14 16:38:25 -06:00
Allen Byrne
f4f8be1912 Script changes from develop 2019-02-14 15:34:20 -06:00
Larry Knox
e32b2b08c9 Merge pull request #1545 in HDFFV/hdf5 from ~JHENDERSON/hdf5:hdf5_1_10 to hdf5_1_10
* commit '35f48aac5b2e10d6c3e2b3176bbde6aad209c758':
  Re-write of Java JNI error handling
2019-02-14 14:42:15 -06:00
Jordan Henderson
35f48aac5b Re-write of Java JNI error handling 2019-02-14 11:53:36 -06:00
Allen Byrne
698dec56d1 Added TRILABS-111 note 2019-02-14 10:35:53 -06:00
Allen Byrne
94993e41ed Add HDFFV-10628 known problem 2019-02-14 10:32:18 -06:00
Allen Byrne
0d1b43c79c TRILAB-111 Update MPI CMake 2019-02-13 17:05:08 -06:00
Ray Lu
0527ced1c7 Merge pull request #1541 in HDFFV/hdf5 from ~SONGYULU/hdf5_ray:1_10/HDFFV-10601-issues-with-chunk-cache-hash to hdf5_1_10
* commit 'dfedd864335fab2a676357c6647bd09aeb26575d':
  Changing functions H5Dcreate and H5Dopen to H5Dcreate2 and H5Dopen2 for backward compatibility.
2019-02-13 16:06:38 -06:00
Songyu Lu
dfedd86433 Changing functions H5Dcreate and H5Dopen to H5Dcreate2 and H5Dopen2 for backward compatibility. 2019-02-13 11:25:07 -06:00
Jordan Henderson
6721c0f131 Merge pull request #1536 in HDFFV/hdf5 from ~JHENDERSON/hdf5:hdf5_1_10 to hdf5_1_10
* commit '2e44998a70924b77f186f6cb60924035fd24441d':
  Add RELEASE.txt note for collective metadata read fixes
  Fix some collective metadata read issues
2019-02-12 16:50:48 -06:00
Ray Lu
c7c3147587 Merge pull request #1535 in HDFFV/hdf5 from ~SONGYULU/hdf5_ray:1_10/HDFFV-10601-issues-with-chunk-cache-hash to hdf5_1_10
* commit '4e31361dad4add06792b652dbe5b97e501f9031d':
  I'm bringing the fixes for the following Jira issues from the develop branch to 1.10 branch: HDFFV-10571: Divided by Zero vulnerability. HDFFV-10601: Issues with chunk cache hash value calcuation. HDFFV-10607: Patches for warnings in the core libraries. HDFFV-10635: HDF5 library segmentation fault with H5Sselect_element.
2019-02-12 16:42:05 -06:00
Jordan Henderson
2e44998a70 Add RELEASE.txt note for collective metadata read fixes 2019-02-12 14:38:29 -06:00
Jordan Henderson
a4cfd0bfd7 Fix some collective metadata read issues 2019-02-12 14:38:02 -06:00
Songyu Lu
4e31361dad I'm bringing the fixes for the following Jira issues from the develop branch to 1.10 branch:
HDFFV-10571: Divided by Zero vulnerability.
HDFFV-10601: Issues with chunk cache hash value calcuation.
HDFFV-10607: Patches for warnings in the core libraries.
HDFFV-10635: HDF5 library segmentation fault with H5Sselect_element.
2019-02-12 13:48:49 -06:00
Jordan Henderson
9f9485a17a Merge pull request #1529 in HDFFV/hdf5 from ~JHENDERSON/hdf5_merge:hdf5_1_10 to hdf5_1_10
* commit '530fab929b1a77490574cb7114b4b3a1b445ed6f':
  Fix test issue in testpar/t_dset.c with MPI-2 implementations
2019-02-07 15:12:31 -06:00
Jordan Henderson
530fab929b Fix test issue in testpar/t_dset.c with MPI-2 implementations 2019-02-07 14:50:54 -06:00
Allen Byrne
e65cf4914a Merge pull request #1526 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '50138c3153a0cd923b298aca99f6a353681637db':
  Add missing assignments
  Refactor TIMEOUT values
  Correct name of variable
  Cleanup F2003 option for CMake
  Remove obsolete reference
  Remove obsolete file
  Update Examples version and references
  HDFFV-10697 Disable compression option if source unavailable
2019-02-07 13:30:31 -06:00
Allen Byrne
50138c3153 Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit 'e594811caf10c66c12cad7c554854deea262d9cb':
  Merge pull request #1522 in HDFFV/hdf5 from ~VCHOI/my_hdf5_fork:develop to develop
2019-02-07 12:10:02 -06:00
Allen Byrne
199327b417 Add missing assignments 2019-02-06 17:03:20 -06:00
Allen Byrne
2a9bd0c431 Refactor TIMEOUT values 2019-02-06 16:44:56 -06:00
Vailin Choi
e594811caf Merge pull request #1525 in HDFFV/hdf5 from ~VCHOI/my_hdf5_fork:hdf5_1_10 to hdf5_1_10
* commit '29fc6bcd77b0e975d807ecedf16b998493f88bb0':
  Merge pull request #1522 in HDFFV/hdf5 from ~VCHOI/my_hdf5_fork:develop to develop
2019-02-06 13:21:15 -06:00
Vailin Choi
29fc6bcd77 Merge pull request #1522 in HDFFV/hdf5 from ~VCHOI/my_hdf5_fork:develop to develop
* commit '7f5741825db0737db5ac46c43009681508a73002':
  Add release notes information.
  Modification based on feedback from pull request.
  Modification based on feedback from pull request.
  There is performance issue when closing an object.  The slow down is due to the search of the "tag_list" to find out the "corked" status of an object. The fix: (1)  Add a counter "num_objs_corked" in the cache structure to track the number of "corked" objects. (2) Skip the search of "tag_list" if the counter is zero i.e. no "corked" objects.

Conflicts:
	release_docs/RELEASE.txt
2019-02-06 12:02:36 -06:00
Allen Byrne
c52df2f5a5 Correct name of variable 2019-02-06 11:01:35 -06:00
Allen Byrne
fef7d6b0fc Cleanup F2003 option for CMake 2019-02-06 10:47:11 -06:00
Allen Byrne
e9541010ee Remove obsolete reference 2019-02-06 08:47:02 -06:00
Allen Byrne
a01981ee98 Remove obsolete file 2019-02-06 08:44:05 -06:00
Allen Byrne
12a0998b04 Update Examples version and references 2019-02-06 08:43:10 -06:00
Allen Byrne
fb4e5c0570 HDFFV-10697 Disable compression option if source unavailable 2019-02-05 16:21:29 -06:00
Dana Robinson
9063babaaa Merge pull request #1521 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:hdf5_1_10 to hdf5_1_10
* commit 'f8c838726150d953fb06fc93029139b32a20291f':
  Added a line for the CMake pread/write option to INSTALL_CMake.txt.
2019-02-04 14:06:53 -06:00
Dana Robinson
f8c8387261 Added a line for the CMake pread/write option to INSTALL_CMake.txt. 2019-02-04 11:23:08 -08:00
Dana Robinson
5d024102ad Merge pull request #1519 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:hdf5_1_10 to hdf5_1_10
* commit '12fc6bf95507244b2f18a56f8ff76cc0ea922fea':
  Merge of changes from develop for 1.10.5. Added RELEASE.txt entries for new features.
2019-02-04 11:09:55 -06:00
Dana Robinson
12fc6bf955 Merge of changes from develop for 1.10.5.
Added RELEASE.txt entries for new features.
2019-02-03 23:47:51 -08:00
Binh-Minh Ribler
ae94128b32 Merge pull request #1514 in HDFFV/hdf5 from ~BMRIBLER/hdf5_1_10_bmr:hdf5_1_10 to hdf5_1_10
HDFFV-10586, HDFFV-10588, HDFFV-10684

* commit '7fb50a9700cddfb4aba6d69127590c8460031413':
  Renamed data file
  Fixed HDFFV-10586, HDFFV-10588, and HDFFV-10684
2019-02-01 09:51:51 -06:00
Binh-Minh Ribler
7fb50a9700 Renamed data file
Description:
    Renamed data file with long name to a shorter name.
    Revised an entry in RELEASE.txt
Platforms tested:
    Linux/64 (jelly)
    Darwin (osx1010test)
2019-02-01 08:33:53 -06:00
Binh-Minh Ribler
38c89fa5c0 Merge branch 'hdf5_1_10' of https://bitbucket.hdfgroup.org/scm/~bmribler/hdf5_1_10_bmr into hdf5_1_10 2019-01-30 20:05:04 -06:00
Binh-Minh Ribler
02d03b4624 Fixed HDFFV-10586, HDFFV-10588, and HDFFV-10684
Description:
    HDFFV-10586 CVE-2018-17434 Divide by zero in h5repack_filters
        Added a check for zero value
    HDFFV-10588 CVE-2018-17437 Memory leak in H5O_dtype_decode_helper
        This is actually an Invalid read issue.  It was found that the
        attribute name length in an attribute message was corrupted,
        which caused the buffer pointer to be advanced too far and later
        caused an invalid read.
        Added a check to detect attribute name and its length mismatch.  The
        fix does not cover all cases, but it'll reduce the chance of this issue
        when a name length is corrupted or the attribute name is corrupted.
    HDFFV-10684 H5Ewalk does not stop until all errors in the stack are visited
        The test for HDFFV-10588 has revealed a bug in H5Ewalk.
        H5Ewalk did not stop midway even when the call back function returns
        H5_ITER_STOP. This is because a condition is missing from the for
        loops in H5E__walk causing the callback functions unable to stop until
        all the errors in the stack are iterated. Quincey advised on the final
        fix.  In this fix, "status" is switched to "ret_value" and HGOTO_ERROR
        to HERROR, and the for loops won't continue when "ret_value" is not 0.
Platforms tested:
    Linux/64 (jelly)
    Linux/64 (platypus)
    Darwin (osx1011test)
2019-01-30 20:04:30 -06:00
Neil Fortner
d99c9670e5 Merge pull request #1512 in HDFFV/hdf5 from ~NFORTNE2/hdf5_naf:hdf5_1_10 to hdf5_1_10
* commit 'ec42c4e3e141ba4df343be8e519cb704676a5424':
  Add RELEASE.txt note for unknown message fix (pull request 1448)
2019-01-29 10:23:59 -06:00
Neil Fortner
ec42c4e3e1 Add RELEASE.txt note for unknown message fix (pull request 1448) 2019-01-29 10:22:18 -06:00
Dana Robinson
34473a5348 Merge pull request #1510 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:hdf5_1_10 to hdf5_1_10
* commit 'a09bcbcb07609ee38a1ccbcfafd4fd5a9dbe27f5':
  Fixed a bug identified by valgrind in the cork test.
2019-01-29 09:15:26 -06:00
Dana Robinson
a09bcbcb07 Fixed a bug identified by valgrind in the cork test. 2019-01-29 06:25:48 -08:00
Allen Byrne
49cf6b370f Merge pull request #1505 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit 'cfebcaa2a307192ae02d2afe859e8aa42ce76e1a':
  HDFFV-10686 Remove version 1 reference names
  Remove Not_yet_versioned files
  Revert CMake and fix H5Oget_info - H5Ovisit versions
2019-01-28 10:50:48 -06:00
Allen Byrne
cfebcaa2a3 HDFFV-10686 Remove version 1 reference names 2019-01-28 09:39:58 -06:00
Allen Byrne
caa7875ee4 Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit '611ecb5db4051cbf762cc24944ee75ea5284c5d2':
  Fixed HDFFV-10578
2019-01-28 08:30:14 -06:00
Allen Byrne
fec7c48a4b Remove Not_yet_versioned files 2019-01-28 08:22:28 -06:00
Binh-Minh Ribler
611ecb5db4 Merge pull request #1480 in HDFFV/hdf5 from ~BMRIBLER/hdf5_1_10_bmr:hdf5_1_10 to hdf5_1_10
* commit '2880ef43eb03526e7d75551720547b85e66a3086':
  Fixed HDFFV-10578
2019-01-28 00:23:27 -06:00
Allen Byrne
0e2d46de76 Revert CMake and fix H5Oget_info - H5Ovisit versions 2019-01-27 17:04:33 -06:00
Allen Byrne
01baff97f6 Merge pull request #1501 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit 'd0abe6502af9846f77a647fddb0fda1da11a0a75':
  CMake fix, makefile fix, direct_chunk valgrind fix
2019-01-26 09:49:09 -06:00
Allen Byrne
d0abe6502a CMake fix, makefile fix, direct_chunk valgrind fix 2019-01-25 12:13:20 -06:00
Allen Byrne
9e55ff1ace Merge pull request #1493 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '217d57d30d2d62f987affcc8859df982dc86d2b3':
  CMake fix
  Java html fix and cmake update
  HDFFV-10686 add note
  HDFFV-10686 revert H5Oget_info1 to H5Oget_info(H5Ovisit)
2019-01-24 17:33:24 -06:00
Allen Byrne
217d57d30d CMake fix 2019-01-24 16:37:04 -06:00
Allen Byrne
3ba3c59a7d Java html fix and cmake update 2019-01-24 15:57:05 -06:00
Jordan Henderson
f439608c0e Merge pull request #1490 in HDFFV/hdf5 from ~JHENDERSON/hdf5:hdf5_1_10 to hdf5_1_10
* commit 'e90d59a69f2750ac55ef5da20df5e8cba7693134':
  Add RELEASE.txt note for parallel filters test fix
  Updates to t_filters_parallel for missing filters
2019-01-24 15:08:55 -06:00
Jordan Henderson
e90d59a69f Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit 'd26963b180a052ac063907f95596a7ecad08ef8e':
  Add clear objects to ignore tests
  Add new clear tests to ignore list
  Cleanup variable names
  HDFFV-10685 Always set version flags on OSX
2019-01-24 15:08:17 -06:00
Allen Byrne
0658286687 HDFFV-10686 add note 2019-01-24 09:04:07 -06:00
Allen Byrne
5398c881d2 HDFFV-10686 revert H5Oget_info1 to H5Oget_info(H5Ovisit) 2019-01-24 08:52:20 -06:00
Allen Byrne
d26963b180 Merge pull request #1492 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '7367fc0c1b916cffe50d1b8d729ccccfd6a9ec77':
  Add clear objects to ignore tests
  Add new clear tests to ignore list
  Cleanup variable names
  HDFFV-10685 Always set version flags on OSX
2019-01-22 17:00:12 -06:00
Allen Byrne
7367fc0c1b Add clear objects to ignore tests 2019-01-22 16:30:22 -06:00
Allen Byrne
5c1d48bdcc Add new clear tests to ignore list 2019-01-22 16:19:15 -06:00
Allen Byrne
29064dcb10 Cleanup variable names 2019-01-22 15:39:31 -06:00
Jordan Henderson
8eb86b5a24 Add RELEASE.txt note for parallel filters test fix 2019-01-22 13:53:07 -06:00
Allen Byrne
5b50796529 HDFFV-10685 Always set version flags on OSX 2019-01-22 13:30:11 -06:00
Jordan Henderson
b910ec2763 Updates to t_filters_parallel for missing filters 2019-01-22 12:59:46 -06:00
Larry Knox
cdf9d5984b Merge pull request #1488 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit 'c817bcdf0d345c8dbd2943be44b55db290cfd09f':
  MPI vars need passed in, change to grepTest
  Add parallel runtest for examples
2019-01-20 22:37:22 -06:00
Allen Byrne
c817bcdf0d MPI vars need passed in, change to grepTest 2019-01-20 16:49:06 -06:00
Larry Knox
399edb7314 Merge pull request #1486 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit '7880089c0be7eb6625cc9982775b522aee523b65':
  Merge pull request #1450 in HDFFV/hdf5 from ~SONGYULU/hdf5_ray:TRILAB-98-dt_arith-and-cpp_testhdf5-tests to develop
2019-01-19 18:37:48 -06:00
Larry Knox
7880089c0b Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit '89b5b64b5c2db40e89e3304fa138de7c2ad1483f':
  Fix CMake policy 54 warnings
2019-01-19 07:15:51 -06:00
Allen Byrne
68ec03a098 Add parallel runtest for examples 2019-01-18 21:50:12 -06:00
Allen Byrne
89b5b64b5c Merge pull request #1487 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '9f61f559d1541066b07c02609579bf053099ab90':
  Fix CMake policy 54 warnings
2019-01-18 21:49:18 -06:00
Ray Lu
2bd5c6d529 Merge pull request #1450 in HDFFV/hdf5 from ~SONGYULU/hdf5_ray:TRILAB-98-dt_arith-and-cpp_testhdf5-tests to develop
* commit 'b02de315b93ac29d2483a91d526b110a25073505':
  NNSA Tri-LabsTRILAB-98: Another two test cases out.
  NNSA Tri-Labs TRILAB-98: Taking out a few more test cases.
  NNSA Tri-Labs TRILAB-98 dt_arith and cpp_testhdf5 tests fail on sierra.llnl.gov: According to the group decision, simply provide a macro to disable some failing test cases on sierra (IBM power9 cpu).  All failing cases involve long double data type.
2019-01-18 16:30:25 -06:00
Allen Byrne
9f61f559d1 Fix CMake policy 54 warnings 2019-01-18 16:02:09 -06:00
Binh-Minh Ribler
2880ef43eb Merge branch 'hdf5_1_10' of https://bitbucket.hdfgroup.org/scm/~bmribler/hdf5_1_10_bmr into hdf5_1_10 2019-01-15 13:15:31 -06:00
Binh-Minh Ribler
f4138013db Fixed HDFFV-10578
Description:
    - HDFFV-10578 - CVE-2018-17234  Memory leak in H5O__chunk_deserialize()
        Actually, the leak was in h5tools_util.  Applied Neil's fix.
    - Changed an assert to if/HGOTO_ERROR to fail gracefully.
Platforms tested:
    Linux/64 (jelly)
    Linux/64 (platypus)
    Darwin (osx1010test)
2019-01-15 13:07:22 -06:00
Larry Knox
d5c0a54878 Merge pull request #1478 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit '0250b3650fbcec1f592f4a7371158d6b81db01c0':
  Add check for existing links in hl/fortran/src/Makefile.am.
2019-01-15 11:49:29 -06:00
Larry Knox
0250b3650f Merge branch 'hdf5_1_10' of https://bitbucket.hdfgroup.org/scm/~lrknox/hdf5_lrk into hdf5_1_10 2019-01-15 10:05:20 -06:00
Larry Knox
0bf3398a0d Add check for existing links in hl/fortran/src/Makefile.am. 2019-01-15 10:04:37 -06:00
Allen Byrne
b4fcb6df55 Merge pull request #1477 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '1b2fc19a8f46bff2d1ac8e25dbb40322d377eef3':
  Correct fix for new policy
  Fix for new policy
2019-01-14 13:54:51 -06:00
Allen Byrne
1b2fc19a8f Correct fix for new policy 2019-01-14 13:11:56 -06:00
Allen Byrne
4d676248df Fix for new policy 2019-01-14 12:14:13 -06:00
Allen Byrne
f31c6a513c Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit '3476c7d13d4124f7e0752f251a667bef6b4fbf68':
  Merge pull request #1429 in HDFFV/hdf5 from HDFFV-10596-fortran-library-names-differ to develop
  Work around compiler fussiness on platypus.
  Fix for debug assert in H5FDmpio.c
2019-01-14 10:28:42 -06:00
Larry Knox
3476c7d13d Merge pull request #1475 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit 'e61b3a7de95c23f4f24282bad41c5154643741a5':
  Merge pull request #1429 in HDFFV/hdf5 from HDFFV-10596-fortran-library-names-differ to develop
2019-01-14 09:49:26 -06:00
Larry Knox
e61b3a7de9 Merge pull request #1429 in HDFFV/hdf5 from HDFFV-10596-fortran-library-names-differ to develop
* commit 'f4c9ec5d41aa53829617274d3286f1e9a45ae57e':
  Add RELEASE.txt entry for HDFFV-10596.
  Uninstall should remove the libhdf5_hl_fortran links.
  Add symlinks named libhdf5_hl_fortran* to libhdf5hl_fortran in Makefile.am to match cmake install and the name pattern for other hl lib files.
2019-01-14 08:03:42 -06:00
Larry Knox
de3ba98868 Merge pull request #1474 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit '1ba63f95d3d600be43f2d3e00f204d36d6e9a1a4':
  Work around compiler fussiness on platypus.
2019-01-13 23:45:32 -06:00
Quincey Koziol
1ba63f95d3 Work around compiler fussiness on platypus. 2019-01-13 22:26:03 -06:00
Dana Robinson
bda9855f13 Merge pull request #1473 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:hdf5_1_10 to hdf5_1_10
* commit '110eabd3e559a1e6002e96633a9ac892c21c1211':
  Fix for debug assert in H5FDmpio.c
2019-01-13 22:06:22 -06:00
Dana Robinson
110eabd3e5 Fix for debug assert in H5FDmpio.c 2019-01-13 17:54:37 -08:00
Allen Byrne
1925af114e Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit 'dadf2b5fd8689e15ee5d28c74a5956391e914809':
  Fix for parallel filters tests with new read-proc0-broadcast feature
  misc. merge clean-up
  misc. merge clean-up
  Fix for Fortran failures.
  merged:
2019-01-11 14:13:46 -06:00
Scot Breitenfeld
dadf2b5fd8 Merge pull request #1470 in HDFFV/hdf5 from hdf5_10_0_squash to hdf5_1_10
* commit 'c9cf24506b4fb1c50ea553d3ab962c37ac86760a':
  Fix for parallel filters tests with new read-proc0-broadcast feature
  misc. merge clean-up
  misc. merge clean-up
  merged:
2019-01-11 11:14:51 -06:00
Jordan Henderson
c9cf24506b Fix for parallel filters tests with new read-proc0-broadcast feature 2019-01-11 11:09:51 -06:00
M. Scot Breitenfeld
4bb965d9ec misc. merge clean-up 2019-01-11 10:59:48 -06:00
Dana Robinson
31a4fe779a Merge pull request #1469 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:hdf5_1_10 to hdf5_1_10
* commit 'b52def6b9a38e6b24848d69e5eb37da0be97a94c':
  Fix for Fortran failures.
2019-01-11 10:30:44 -06:00
M. Scot Breitenfeld
534e535823 misc. merge clean-up 2019-01-11 09:27:17 -06:00
Dana Robinson
b52def6b9a Fix for Fortran failures. 2019-01-10 22:08:54 -08:00
M. Scot Breitenfeld
6e489435e9 merged:
HDFFV-10652
HDFFV-10443
2019-01-10 17:10:05 -06:00
Allen Byrne
4027b47396 Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit 'a043211d9edf2df3ea8049bda4be6bdcbf0970e9':
  Delay checking if decoded message's "shareable" flag is appropriate for the message type until we've verified we understand the message type. Reduce size of H5O_msg_class_g to *not* include space for H5O_BOGUS_INVALID.  Make bogus messages shareable.  Add new bogus message test with shareable messages to cover the formerly problematic code.  Re-run gen_bogus.c to add this test case and also to fix the bogus_invalid messages that were no longer H5O_BOGUS_INVLAID due to a new message class being added in a previous commit.  Added comment to remind developers to run gen_bogus.c when adding a new message class.
  Remove H5O_BOGUS_INVALID_ID from H5O_msg_class_g initialization, since space for it was removed.
  Fortran wrappers for dataset obj header minimization API calls.
2019-01-09 13:19:08 -06:00
Allen Byrne
a043211d9e Merge pull request #1457 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '46f63b0faafe574ca2a32380ea85cac8206b1028':
  Fix deprecated H5Pget_version
  Fix java regex
  Merge CMake changes from develop
2019-01-09 13:18:52 -06:00
Allen Byrne
46f63b0faa Fix deprecated H5Pget_version 2019-01-09 13:07:03 -06:00
Dana Robinson
f12d2263d9 Merge pull request #1459 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:hdf5_1_10 to hdf5_1_10
* commit '688074781ac7be2b7e799e8804378ba1f1563db1':
  Fortran wrappers for dataset obj header minimization API calls.
2019-01-09 13:00:00 -06:00
Neil Fortner
002ad193f3 Merge pull request #1463 in HDFFV/hdf5 from ~NFORTNE2/hdf5_naf:hdf5_1_10 to hdf5_1_10
* commit '55806ff1be0d559a204e84e595403b309239085f':
  Delay checking if decoded message's "shareable" flag is appropriate for the message type until we've verified we understand the message type. Reduce size of H5O_msg_class_g to *not* include space for H5O_BOGUS_INVALID.  Make bogus messages shareable.  Add new bogus message test with shareable messages to cover the formerly problematic code.  Re-run gen_bogus.c to add this test case and also to fix the bogus_invalid messages that were no longer H5O_BOGUS_INVLAID due to a new message class being added in a previous commit.  Added comment to remind developers to run gen_bogus.c when adding a new message class.
  Remove H5O_BOGUS_INVALID_ID from H5O_msg_class_g initialization, since space for it was removed.
2019-01-09 12:22:52 -06:00
Neil Fortner
55806ff1be Delay checking if decoded message's "shareable" flag is appropriate for
the message type until we've verified we understand the message type.
Reduce size of H5O_msg_class_g to *not* include space for
H5O_BOGUS_INVALID.  Make bogus messages shareable.  Add new bogus
message test with shareable messages to cover the formerly problematic
code.  Re-run gen_bogus.c to add this test case and also to fix the
bogus_invalid messages that were no longer H5O_BOGUS_INVLAID due to a
new message class being added in a previous commit.  Added comment to
remind developers to run gen_bogus.c when adding a new message class.

Remove H5O_BOGUS_INVALID_ID from H5O_msg_class_g initialization, since
space for it was removed.
2019-01-09 12:18:20 -06:00
Allen Byrne
13f64f251c Fix java regex 2019-01-09 12:08:49 -06:00
Neil Fortner
9deed08185 Remove H5O_BOGUS_INVALID_ID from H5O_msg_class_g initialization, since
space for it was removed.
2019-01-09 11:43:10 -06:00
Dana Robinson
688074781a Fortran wrappers for dataset obj header minimization API calls. 2019-01-09 06:31:02 -08:00
Allen Byrne
b06fb9c536 Merge CMake changes from develop 2019-01-08 15:53:56 -06:00
Larry Knox
91ec0f5276 Merge pull request #1449 in HDFFV/hdf5 from ~JAKE.SMITH/hdf5:dset_ohdr_minimize_110 to hdf5_1_10
* commit '00f835f6403728c3caf298636522e526996010a2':
  Fix fapl passed into h5_fixname() calls in minimized tests. Fix creation of duplicate, unclosed FAPL. Fix wrong statement-string after TEST_ERROR macro (refactoring mistake).
2019-01-07 19:19:09 -06:00
Vailin Choi
98b2d7d8bb Merge pull request #1442 in HDFFV/hdf5 from ~VCHOI/my_hdf5_fork:hdf5_1_10 to hdf5_1_10
* commit '1a50622733c14d89b3fd8c6bab684af9205a3b96':
  Fix for daily test failure: too many arguments to function 'H5Gopen1'.
  Fix the git merge leftover in RELEASE.txt.
  Fix the git merge leftovers in RELEASE.txt.
  Fix for HDFFV-10659: The library aborts with "infinite loop closing library" after deleting attributes in densed storage. The fix: When deleting attribute nodes from the name index v2 B-tree, if an attribute is found in the intermediate B-tree nodes, which may be merged/redistributed in the process, we need to free the dynamically allocated spaces for the intermediate decoded attribute.
2019-01-07 17:13:37 -06:00
Jacob Smith
00f835f640 Fix fapl passed into h5_fixname() calls in minimized tests.
Fix creation of duplicate, unclosed FAPL.
Fix wrong statement-string after TEST_ERROR macro (refactoring mistake).
2019-01-07 17:04:50 -06:00
vchoi
1a50622733 Fix for daily test failure: too many arguments to function 'H5Gopen1'. 2019-01-07 16:20:34 -06:00
Allen Byrne
d378fad6ea Merge pull request #1447 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit 'f7d530dd275e176e59b26c1b7363ba16b3ab6c9c':
  HDFFV-10674, 10664, 10674
2019-01-07 15:45:25 -06:00
Dana Robinson
46af130aae Merge pull request #1446 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:hdf5_1_10 to hdf5_1_10
* commit '257e05e1b2465a6876eec6995419b8f358e0ec84':
  Merged the rest of the parallel flush test code.
2019-01-07 15:09:29 -06:00
Dana Robinson
257e05e1b2 Merged the rest of the parallel flush test code. 2019-01-07 11:16:39 -08:00
Allen Byrne
f7d530dd27 HDFFV-10674, 10664, 10674 2019-01-07 11:07:52 -06:00
Vailin Choi
a21b778517 Fix the git merge leftover in RELEASE.txt. 2019-01-06 14:27:03 -06:00
Vailin Choi
10e504fd4f Fix the git merge leftovers in RELEASE.txt. 2019-01-06 13:35:31 -06:00
Vailin Choi
489f6fb697 Fix for HDFFV-10659: The library aborts with "infinite loop closing library"
after deleting attributes in densed storage.
The fix: When deleting attribute nodes from the name index v2 B-tree,
if an attribute is found in the intermediate B-tree nodes, which may be
merged/redistributed in the process, we need to free the dynamically
allocated spaces for the intermediate decoded attribute.
2019-01-06 09:25:48 -06:00
Dana Robinson
906479d397 Merge pull request #1437 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:hdf5_1_10 to hdf5_1_10
* commit 'd617b56aacd403b6b99b5a661461b5d84a03e185':
  Cherry pick of CMake parallel flush fixes.
2019-01-06 00:47:07 -06:00
Dana Robinson
d617b56aac Cherry pick of CMake parallel flush fixes. 2019-01-05 11:34:30 -08:00
Binh-Minh Ribler
cc8cc7f086 Merge pull request #1431 in HDFFV/hdf5 from ~BMRIBLER/hdf5_1_10_bmr:hdf5_1_10 to hdf5_1_10
* commit '82dd54c26b11245c36f65a044e9b717dc2c337e0':
  Revised text
  Fixed CVE division-by-zero issues Description:     Fixed HDFFV-10577 and similar issues found in H5Dchunk.c.  All     the occurrences are in:         H5D__create_chunk_map_single         H5D__create_chunk_file_map_hyper         H5D__chunk_allocate         H5D__chunk_update_old_edge_chunks         H5D__chunk_prune_by_extent         H5D__chunk_copy_cb         H5D__chunk_collective_fill     Also updated RELEASE.txt for the chunk query functions and removed     some blank lines in chunk_info.c. Platforms tested:     Linux/64 (jelly)     Linux/64 (platypus)     Darwin (osx1010test)
2019-01-05 00:40:18 -06:00
jake.smith
fcd34deec2 Merge pull request #1432 in HDFFV/hdf5 from ~JAKE.SMITH/hdf5:dset_ohdr_minimize_110 to hdf5_1_10
* commit '150b73bb1af971dfff45d5f232b979622078d5bd':
  Tweak minimized datset header release info.
  Add dataset header minimization release info.
2019-01-04 19:26:31 -06:00
Binh-Minh Ribler
82dd54c26b Revised text 2019-01-04 16:05:11 -06:00
Jacob Smith
150b73bb1a Tweak minimized datset header release info. 2019-01-04 14:00:01 -06:00
Jacob Smith
bd0481ffeb Add dataset header minimization release info. 2019-01-04 12:17:44 -06:00
Binh-Minh Ribler
1379878b7a Merge branch 'hdf5_1_10' of https://bitbucket.hdfgroup.org/scm/~bmribler/hdf5_1_10_bmr into hdf5_1_10 2019-01-04 11:48:15 -06:00
Binh-Minh Ribler
f891c38c6e Fixed CVE division-by-zero issues
Description:
    Fixed HDFFV-10577 and similar issues found in H5Dchunk.c.  All
    the occurrences are in:
        H5D__create_chunk_map_single
        H5D__create_chunk_file_map_hyper
        H5D__chunk_allocate
        H5D__chunk_update_old_edge_chunks
        H5D__chunk_prune_by_extent
        H5D__chunk_copy_cb
        H5D__chunk_collective_fill
    Also updated RELEASE.txt for the chunk query functions and removed
    some blank lines in chunk_info.c.
Platforms tested:
    Linux/64 (jelly)
    Linux/64 (platypus)
    Darwin (osx1010test)
2019-01-04 11:46:29 -06:00
jake.smith
44895c80ac Merge pull request #1419 in HDFFV/hdf5 from ~JAKE.SMITH/hdf5:dset_ohdr_minimize_110 to hdf5_1_10
Minimized dataset object headers

* commit 'e1d865a11d7864f4c0733aa22a8c96f0f015ef75':
  Remove "bad" statements from end of TEST_ERROR.     Formerly arguments to FAIL_PUTS_ERROR.
  Add semicolon at end of TEST_ERROR() invocation for consistency.
  Change FAIL_PUTS_ERROR to TEST_ERROR. Remove VOL-related merge cruft.
  Change H5Dcreate() to H5Dcreate2(). Fix return value (int -> void).
  Change H5Acreate to H5Acreate2
  Remove unnecessary s
  Incoporate minimized dataset headers code and tests.
2019-01-04 11:41:33 -06:00
Jacob Smith
e1d865a11d Remove "bad" statements from end of TEST_ERROR.
Formerly arguments to FAIL_PUTS_ERROR.
2019-01-04 11:35:50 -06:00
Jacob Smith
5b32111a26 Add semicolon at end of TEST_ERROR() invocation for consistency. 2019-01-04 09:06:38 -06:00
Jacob Smith
794f759de6 Merge branch 'hdf5_1_10' of https://bitbucket.hdfgroup.org/scm/~jake.smith/hdf5 into dset_ohdr_minimize_110 2019-01-04 09:05:26 -06:00
Jacob Smith
8e5bdd64d9 Change FAIL_PUTS_ERROR to TEST_ERROR.
Remove VOL-related merge cruft.
2019-01-03 23:09:27 -06:00
Jacob Smith
70d23fb54b Change H5Dcreate() to H5Dcreate2().
Fix return value (int -> void).
2019-01-03 14:39:46 -06:00
Binh-Minh Ribler
2713fb12b1 Merge pull request #1380 in HDFFV/hdf5 from ~BMRIBLER/hdf5_1_10_bmr:hdf5_1_10 to hdf5_1_10
This is merged now so it can be tested.

* commit '74a3710a996fca5ed7fcb4dd8919a7a8521de1de':
  Revised per review. Description:     Changed H5EA_iterate and H5FA_iterate as suggested. Platforms tested:     Linux/64 (jelly)     Linux/64 (platypus)     Darwin (osx1010test)
  Addressed HDFFV-10661 Description:     - Fixed a bug triggered by tests in chunk_info.c.  The returned value       from a callback function was not checked in H5EA_iterate(), H5FA_iterate(),       and H5D__none_idx_iterate().  This oversight caused a callback function       to continue iterating even though it's supposed to stop.  Vailin confirmed.     - Addressed review comments and made various improvements on the tests. Platforms tested:     Linux/64 (jelly)     Linux/64 (platypus)     Darwin (osx1010test)
2019-01-02 14:28:40 -06:00
Jacob Smith
19e9cce732 Change H5Acreate to H5Acreate2 2019-01-02 13:31:12 -06:00
Allen Byrne
600d44292b Merge pull request #1424 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '277757fe9f0e68decba8035c22df260c8ee9f147':
  Remove files that do not exist in branch
2019-01-02 12:48:20 -06:00
Jacob Smith
734744df94 Remove unnecessary s 2019-01-02 12:40:30 -06:00
Allen Byrne
277757fe9f Remove files that do not exist in branch 2019-01-02 11:50:06 -06:00
Larry Knox
da26a1802f Merge pull request #1418 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit 'e46a974f78325b3a5d235fa51dd3ee61ec9c2f55':
  Actual stack count updated
2018-12-31 16:52:19 -06:00
Jacob Smith
3c6944b684 Merge branch 'hdf5_1_10' of https://bitbucket.hdfgroup.org/scm/~jake.smith/hdf5 into dset_ohdr_minimize_105 2018-12-31 15:05:57 -06:00
Jacob Smith
a8dc9793cb Incoporate minimized dataset headers code and tests. 2018-12-31 15:02:16 -06:00
Allen Byrne
e46a974f78 Actual stack count updated 2018-12-31 14:15:17 -06:00
Allen Byrne
7632af7c14 Merge pull request #1417 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit 'a8437787596fb8f6ff61427e76122bc4c996009c':
  HDFFV-10669 merge from develop
2018-12-31 14:08:09 -06:00
Allen Byrne
a843778759 HDFFV-10669 merge from develop 2018-12-31 13:00:39 -06:00
Dana Robinson
17d5f51bed Merge pull request #1415 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:hdf5_1_10 to hdf5_1_10
* commit '029491e877a3c5c4f5947df3cc74785ce01be2ba':
  Merge of logging framework updates.
  Updated the H5I debug function so it's more robust and always available.
  Removed 'VOL' from some H5PL comments.
  Removed 'VOL' versions of FUNC_ENTER macros as well as empty functions orginally intended to support the full SWMR feature (from develop).
  Replaced all MPI-1 calls with MPI-2 equivalents (from develop).
2018-12-31 07:05:32 -06:00
Dana Robinson
029491e877 Merge of logging framework updates. 2018-12-30 19:11:41 -08:00
Dana Robinson
d531e1b6f7 Updated the H5I debug function so it's more robust and always
available.
2018-12-30 18:31:43 -08:00
Dana Robinson
a88e78ace7 Removed 'VOL' from some H5PL comments. 2018-12-30 17:27:23 -08:00
Dana Robinson
51edd286ac Removed 'VOL' versions of FUNC_ENTER macros as well as empty functions
orginally intended to support the full SWMR feature (from develop).
2018-12-30 16:55:10 -08:00
Dana Robinson
0ef5889862 Replaced all MPI-1 calls with MPI-2 equivalents (from develop). 2018-12-30 16:46:41 -08:00
Binh-Minh Ribler
74a3710a99 Revised per review.
Description:
    Changed H5EA_iterate and H5FA_iterate as suggested.
Platforms tested:
    Linux/64 (jelly)
    Linux/64 (platypus)
    Darwin (osx1010test)
2018-12-26 10:01:51 -06:00
Allen Byrne
43bd13837d Merge pull request #1404 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '269224c73d19a12336dc0dd12e787c359dec5665':
  Merge CMake changes from develop
2018-12-21 14:41:53 -06:00
Allen Byrne
269224c73d Merge CMake changes from develop 2018-12-20 15:36:19 -06:00
Allen Byrne
c8912e3c47 Merge pull request #1376 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit 'e2349130608e013e610a750b28fb00fc92866e0c':
  Add H5I_INVALID_HID
  Manifest fix
  Tools cleanup
  HDFFV-10660,-10594 merge from develop
  HDFFV-10632 separate stderr and stdout in tests
2018-12-16 11:36:17 -06:00
Allen Byrne
e234913060 Add H5I_INVALID_HID 2018-12-15 06:26:27 -06:00
Binh-Minh Ribler
22bc8ba7bf Addressed HDFFV-10661
Description:
    - Fixed a bug triggered by tests in chunk_info.c.  The returned value
      from a callback function was not checked in H5EA_iterate(), H5FA_iterate(),
      and H5D__none_idx_iterate().  This oversight caused a callback function
      to continue iterating even though it's supposed to stop.  Vailin confirmed.
    - Addressed review comments and made various improvements on the tests.
Platforms tested:
    Linux/64 (jelly)
    Linux/64 (platypus)
    Darwin (osx1010test)
2018-12-14 19:06:25 -06:00
Allen Byrne
5444ea3175 Manifest fix 2018-12-14 08:15:09 -06:00
Allen Byrne
e6121500d9 Tools cleanup 2018-12-13 16:12:50 -06:00
Allen Byrne
0e5ac5fe2f HDFFV-10660,-10594 merge from develop 2018-12-13 15:50:13 -06:00
Allen Byrne
bc4e1c2e54 Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit '1cffc3ff0f3454fedf6edcdb93dcde5ed1b910d6':
2018-12-13 15:16:10 -06:00
Allen Byrne
3510221209 HDFFV-10632 separate stderr and stdout in tests 2018-12-13 11:22:04 -06:00
Allen Byrne
1cffc3ff0f Merge pull request #1373 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '88e514a6e51d0e3fedd855f7b2fbff74f1b5c802':
  HDFVIEW-4 add H5A read/write functions to match H5D
2018-12-13 11:21:46 -06:00
Allen Byrne
88e514a6e5 HDFVIEW-4 add H5A read/write functions to match H5D 2018-12-13 10:33:33 -06:00
Dana Robinson
c71556168c Merge pull request #1359 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:hdf5_1_10 to hdf5_1_10
* commit '21e73fd58d64fdba5e06e73e59be30d2a4c3fd59':
  Moved fixes for incorrectly installed header files to 1.10.
2018-12-07 09:26:45 -06:00
Binh-Minh Ribler
7155b037ed Merge pull request #1361 in HDFFV/hdf5 from ~BMRIBLER/hdf5_1_10_bmr:hdf5_1_10 to hdf5_1_10
* commit '1f96bda4b77efb53c4eddb5414d50e51cdc44390':
  Fixed typos. Platforms tested:     Linux/64 (jelly)
2018-12-07 09:24:09 -06:00
Binh-Minh Ribler
1f96bda4b7 Fixed typos.
Platforms tested:
    Linux/64 (jelly)
2018-12-06 23:16:54 -06:00
Dana Robinson
21e73fd58d Moved fixes for incorrectly installed header files to 1.10. 2018-12-06 15:24:28 -08:00
Jordan Henderson
5d457dd379 Merge pull request #1354 in HDFFV/hdf5 from ~JHENDERSON/hdf5:hdf5_1_10 to hdf5_1_10
* commit '8255e0f81b65cc75b4cfa12c2f77b370006abe50':
  Fix for HDFFV-10629
2018-12-05 15:56:03 -06:00
Jordan Henderson
8255e0f81b Fix for HDFFV-10629 2018-12-05 13:50:06 -06:00
Scot Breitenfeld
eea735a011 Merge pull request #1352 in HDFFV/hdf5 from ~BRTNFLD/hdf5_msb:hdf5_1_10 to hdf5_1_10
* commit '63ba86519b41558d46dd9faf919d12b6c279afac':
  updated with HDFFV-10511
2018-12-05 09:03:32 -06:00
Scot Breitenfeld
63ba86519b Merge branch 'hdf5_1_10' of https://bitbucket.hdfgroup.org/scm/~brtnfld/hdf5_msb into hdf5_1_10 2018-12-04 12:40:39 -06:00
Scot Breitenfeld
df1e4fbda0 updated with HDFFV-10511 2018-12-04 12:33:49 -06:00
Scot Breitenfeld
125d5d4e7d Merge pull request #1350 in HDFFV/hdf5 from ~BRTNFLD/hdf5_msb:hdf5_1_10 to hdf5_1_10
* commit '456e22540f6e4366a0ef9d7744ee978a6ef6b3bb':
  Merge pull request #1325 in HDFFV/hdf5 from ~BRTNFLD/hdf5_msb:J10511 to develop
2018-12-04 11:59:47 -06:00
Scot Breitenfeld
456e22540f Merge pull request #1325 in HDFFV/hdf5 from ~BRTNFLD/hdf5_msb:J10511 to develop
* commit '9bbaca66ca1f987ede2f5c7e9c5938523a47262f':
  fixed sp.
  HDFFV-10511 -- Make fortran specific subroutines names PRIVATE
2018-12-04 11:16:32 -06:00
Dana Robinson
5fc251dc59 Merge pull request #1340 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:hdf5_1_10 to hdf5_1_10
* commit '2b616c7c183592010bcfa151060f52f729d01867':
  Renamed h5repart's -family_to_sec2 to -family_to_single.
2018-11-24 01:46:08 -06:00
Dana Robinson
2b616c7c18 Renamed h5repart's -family_to_sec2 to -family_to_single. 2018-11-23 05:04:14 -08:00
Vailin Choi
67db60c2c2 Merge pull request #1333 in HDFFV/hdf5 from ~VCHOI/my_hdf5_fork:hdf5_1_10 to hdf5_1_10
* commit 'c00b6863571f6af4b3be81185a0ca35823dad7b4':
  Merge pull request #1314 in HDFFV/hdf5 from ~VCHOI/my_hdf5_fork:develop to develop
2018-11-13 15:52:08 -06:00
Vailin Choi
c00b686357 Merge pull request #1314 in HDFFV/hdf5 from ~VCHOI/my_hdf5_fork:develop to develop
* commit '51076d40617aa6f0236809c2c919cc6921b3bbc1':
  Fixed exit() to HDexit() in use_append_chunk.c and use_append_mchunks.c
  Fixed fprintf to HDfprintf in the following routines: 1) read_uc_file() in use_common.c 2) main() of use_append_chunk.c and use_append_mchunks.c
  Fix for HDFFV-10554 use_append_chunks in swmr use case test failure Fix the timing issue of the test by moving the open/close of the test file for the writer to use_append_chunk.c and use_append_mchunks.c.
2018-11-13 10:59:42 -06:00
Scot Breitenfeld
fe15b8a0b8 Merge pull request #1330 in HDFFV/hdf5 from ~BRTNFLD/hdf5_msb:hdf5_1_10 to hdf5_1_10
* commit '7445c7d61ae06b8fefe2efbb362b51fbf57e10a7':
  HDFFV-10537: Remove installation of Fortran test mod files
2018-11-13 09:21:18 -06:00
M. Scot Breitenfeld
7445c7d61a HDFFV-10537: Remove installation of Fortran test mod files
Removed from autools install, cmake does not have this issue.
2018-11-12 13:36:57 -06:00
Allen Byrne
501de7ec91 Merge pull request #1326 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '32d4f11c9c2c92cdb70476e99a0a65adc1815f3f':
  Fix target for commands
  TRILAB copy generated files
2018-11-12 11:55:16 -06:00
Allen Byrne
32d4f11c9c Fix target for commands 2018-11-09 14:39:31 -06:00
Allen Byrne
e4c4330385 TRILAB copy generated files 2018-11-09 14:07:59 -06:00
Allen Byrne
37255e671f Merge pull request #1323 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit 'a9cb14740f0528060c1e6b6bc4753a33d65c265f':
  TRILAB-82 fix coverity high-impact issues
  TRILABS: Merge CMake changes from develop
  Correct dependency of ext-libs
2018-11-08 15:07:30 -06:00
Allen Byrne
a9cb14740f Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit '79858bfde5ccdb27cc256252ebdc51c1a9f403b0':
  Snapshot version 1.10 release 5 (snap1)
2018-11-08 11:32:11 -06:00
Allen Byrne
3b9e13a1b8 TRILAB-82 fix coverity high-impact issues 2018-11-08 11:27:22 -06:00
hdftest
79858bfde5 Merge pull request #1322 in HDFFV/hdf5 from ~HDFTEST/hdf5_hft:hdf5_1_10 to hdf5_1_10
* commit 'cd15e7eaa2d69979e668825d483c947082a54378':
  Snapshot version 1.10 release 5 (snap1)
2018-11-08 09:42:45 -06:00
Allen Byrne
0a7424c7d0 Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit 'ec72efcd4ddb17145323bf93c5cc28fc59695c55':
  Improved comments
  Removed an old comment line.
  Moved tests to another file
2018-11-08 09:23:01 -06:00
hdftest
cd15e7eaa2 Snapshot version 1.10 release 5 (snap1) 2018-11-08 07:38:06 -06:00
Larry Knox
ec72efcd4d Merge pull request #1321 in HDFFV/hdf5 from ~BMRIBLER/hdf5_1_10_bmr:hdf5_1_10 to hdf5_1_10
* commit '54261d6c92a031804d4756f6fadcc49872b0753b':
  Improved comments
  Removed an old comment line.
  Moved tests to another file
2018-11-07 20:53:12 -06:00
Binh-Minh Ribler
54261d6c92 Improved comments 2018-11-07 20:48:59 -06:00
Binh-Minh Ribler
c269ecea41 Removed an old comment line. 2018-11-07 20:40:46 -06:00
Binh-Minh Ribler
c8bf336084 Merge branch 'hdf5_1_10' of https://bitbucket.hdfgroup.org/scm/~bmribler/hdf5_1_10_bmr into hdf5_1_10 2018-11-07 16:17:48 -06:00
Binh-Minh Ribler
e79ea792df Moved tests to another file
Description:
    Moved the test function test_get_chunk_info from dsets.c to chunk_info.c
    because chunk_info.c was created for the purpose of testing chunk information.
Platforms tested:
    Linux/64 (jelly)
2018-11-07 16:15:20 -06:00
Allen Byrne
d33038cf0c TRILABS: Merge CMake changes from develop 2018-11-07 09:36:41 -06:00
Allen Byrne
25e3b32d12 Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit '91771bdf4d6c2ddcdbc127ee2f9d29525d490757':
  Updated new API functions Description:     - Addressed additional review comments     - Moved the test function test_get_chunk_info from dsets.c to chunk_info.c       because chunk_info.c was created for the purpose of testing chunk information. Platforms tested:     Linux/64 (jelly)     Linux/64 (platypus)     Darwin (osx1011test)
  Updated new API functions Description:     - Per Vailin's review, revised H5Dget_chunk_info_by_coord to handle       non-existing chunk and H5Dget_num_chunks and H5Dget_chunk_info to       handle dataset with no data.     - Addressed other review comments     - Note that additional tests will be added as we need to send users       these functions asap for feedback. Platforms tested:     Linux/64 (jelly)     Linux/64 (platypus)     Darwin (osx1011test)
  New API functions Description:     Added functions to query chunk information:
2018-11-07 09:04:02 -06:00
Binh-Minh Ribler
91771bdf4d Merge pull request #1306 in HDFFV/hdf5 from ~BMRIBLER/hdf5_1_10_bmr:hdf5_1_10 to hdf5_1_10
Merged now to create tar ball today for user asap.

* commit 'a1a79203b8027631061cb626a5efdd37268752c2':
  Updated new API functions Description:     - Addressed additional review comments     - Moved the test function test_get_chunk_info from dsets.c to chunk_info.c       because chunk_info.c was created for the purpose of testing chunk information. Platforms tested:     Linux/64 (jelly)     Linux/64 (platypus)     Darwin (osx1011test)
  Updated new API functions Description:     - Per Vailin's review, revised H5Dget_chunk_info_by_coord to handle       non-existing chunk and H5Dget_num_chunks and H5Dget_chunk_info to       handle dataset with no data.     - Addressed other review comments     - Note that additional tests will be added as we need to send users       these functions asap for feedback. Platforms tested:     Linux/64 (jelly)     Linux/64 (platypus)     Darwin (osx1011test)
  New API functions Description:     Added functions to query chunk information:
2018-11-07 06:57:25 -06:00
Binh-Minh Ribler
a1a79203b8 Updated new API functions
Description:
    - Addressed additional review comments
    - Moved the test function test_get_chunk_info from dsets.c to chunk_info.c
      because chunk_info.c was created for the purpose of testing chunk information.
Platforms tested:
    Linux/64 (jelly)
    Linux/64 (platypus)
    Darwin (osx1011test)
2018-11-06 13:55:05 -06:00
Allen Byrne
3044a61ac5 Correct dependency of ext-libs 2018-11-06 13:29:09 -06:00
Binh-Minh Ribler
471917c638 Updated new API functions
Description:
    - Per Vailin's review, revised H5Dget_chunk_info_by_coord to handle
      non-existing chunk and H5Dget_num_chunks and H5Dget_chunk_info to
      handle dataset with no data.
    - Addressed other review comments
    - Note that additional tests will be added as we need to send users
      these functions asap for feedback.
Platforms tested:
    Linux/64 (jelly)
    Linux/64 (platypus)
    Darwin (osx1011test)
2018-11-04 19:54:41 -06:00
Allen Byrne
c32dba2f99 Merge pull request #1307 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '81b2943b6fc01b52de2048d9503d524b2780112b':
  Fix typo in whitespace area
  Merge CMake changes from develop Improved cross-compiling and toolchains
2018-10-29 16:23:07 -05:00
Allen Byrne
81b2943b6f Fix typo in whitespace area 2018-10-29 15:54:09 -05:00
Allen Byrne
299a605661 Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit 'b81adf00bcf45f4bce1c6f1ef8ee6c703e40b945':
  Trial commit Description:     Just committing some typo fix to see whether my changes can be merged     successfully to this branch Platforms tested:     Linux/64 (jelly)
2018-10-29 11:10:18 -05:00
Binh-Minh Ribler
ee6862d719 Merge branch 'hdf5_1_10' of https://bitbucket.hdfgroup.org/scm/~bmribler/hdf5_1_10_bmr into hdf5_1_10 2018-10-29 09:53:29 -05:00
Binh-Minh Ribler
0b321904a3 New API functions
Description:
    Added functions to query chunk information:

        H5Dget_num_chunks(dset_id, fspace_id, *nchunks)
            Gets the number of written chunks that intersect with the given
            dataspace.  However, in this version, the intersection is not
            yet completed.  Thus, the number of all written chunks will be
            returned.

        H5Dget_chunk_info_by_coord(dset_id, *coord, *filter_mask, *addr, *size)
            Given a chunk's coordinates, returns the chunk's filter, address,
            and size.

        H5Dget_chunk_info(dset_id, fspace_id, index, *coord, *filter_mask, *addr, *size)
            Given a chunk's index, returns the chunk's coordinates, filter,
            address, and size.  The chunk belongs to a set of chunks that have
            nonempty intersection with the specified dataspace.  However, in
            this version, the intersection is not yet completed, and the index
            is of all the written chunks.

Platforms tested:
    Linux/64 (jelly)
    Linux/64 (platypus)
    Darwin (osx1011test)
2018-10-29 09:52:50 -05:00
Binh-Minh Ribler
b81adf00bc Merge pull request #1304 in HDFFV/hdf5 from ~BMRIBLER/hdf5_1_10_bmr:hdf5_1_10 to hdf5_1_10
* commit '202d7403282230e2071412237ac7ba86ccb7f3db':
  Trial commit Description:     Just committing some typo fix to see whether my changes can be merged     successfully to this branch Platforms tested:     Linux/64 (jelly)
2018-10-27 22:54:49 -05:00
Binh-Minh Ribler
202d740328 Trial commit
Description:
    Just committing some typo fix to see whether my changes can be merged
    successfully to this branch
Platforms tested:
    Linux/64 (jelly)
2018-10-26 16:24:18 -05:00
Allen Byrne
b6e61e8310 Merge CMake changes from develop
Improved cross-compiling and toolchains
2018-10-23 11:00:36 -05:00
Larry Knox
5eef94f83f Merge pull request #1296 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:1.10/master to 1.10/master
* commit 'f3f29dc7df5f3cc41a5e9462d8c415e540cda3d6': (42 commits)
  Commit version string changes for HDF5 1.10.4 release.
  Merge hdf5_1_10 changes to hdf5_1_10_4.
  Merge in changes from hdf5_1_10.
  Commit release date change.
  Update RELEASE.txt for HDF5 1.10.4 release.
  Add notes about unsupported options
  Add contents of HDF5 1.10.3 RELEASE.txt to HISTORY-1_10.txt and update RELEASE.txt for continuing development.
  Switch maintainer mode to disable, build mode to production, version to 1.10.4, and commit files generated by autogen.sh for release branch hdf5_1_10_4.
  HDFFV-10568 fix hdf5_java library dependency
  Fix Java library location for testing
  Java groups example fix
  Update system commands with HD prefix and whitespace
  Merge pull request #1224 in HDFFV/hdf5 from ~JHENDERSON/hdf5:develop to develop
  Disable failing tests because of execution issue
  Add testfiles to data copy
  Same changes needed for examples as test
  Correct name of test jar
  Only remove test jars
  Remove obsolete var
  Change prefix in example scripts to relative path to bin. This was done for 1.8, and works wherever installed without the need to replace the original prefix.
  ...
2018-10-15 12:35:32 -05:00
Larry Knox
f3f29dc7df Merge branch 'hdf5_1_10_4' into 1.10/master 2018-10-15 11:04:17 -05:00
Larry Knox
545c5fb2a9 Merge pull request #1295 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_4 to hdf5_1_10_4
* commit '05fbb446b2888c1f5ca3fb7c69684e8b6e11152e':
  Commit version string changes for HDF5 1.10.4 release.
2018-10-15 10:39:23 -05:00
Larry Knox
05fbb446b2 Merge branch 'hdf5_1_10_4' of https://bitbucket.hdfgroup.org/scm/~lrknox/hdf5_lrk into hdf5_1_10_4 2018-10-15 10:27:33 -05:00
Larry Knox
c15dea17fe Commit version string changes for HDF5 1.10.4 release. 2018-10-15 10:25:13 -05:00
Larry Knox
ca19f8412b Merge pull request #1280 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_4 to hdf5_1_10_4
* commit '1528b884cbbad8efe71ecaa44575a3a06d47214e':
  Merge hdf5_1_10 changes to hdf5_1_10_4.
  Merge in changes from hdf5_1_10.
2018-10-05 00:20:36 -05:00
Larry Knox
1528b884cb Merge hdf5_1_10 changes to hdf5_1_10_4. 2018-10-04 23:57:44 -05:00
Allen Byrne
ea2a969ce2 Merge pull request #1279 in HDFFV/hdf5 from ~BYRN/hdf5_merge_adb:hdf5_1_10 to hdf5_1_10
* commit 'a9e9cc29184b3b19d1161246264d722d731b5ec2':
  Fix typos and examples versions
  HDFFV-10575, 10332, 10531, 10594 and TRILAB-21
2018-10-04 17:01:22 -05:00
Allen Byrne
a9e9cc2918 Fix typos and examples versions 2018-10-04 17:00:00 -05:00
Allen Byrne
bc35bf6b3e HDFFV-10575, 10332, 10531, 10594 and TRILAB-21 2018-10-04 16:49:49 -05:00
Larry Knox
f54222cdb8 Merge in changes from hdf5_1_10. 2018-10-03 15:30:12 -05:00
Allen Byrne
9c29c87128 Merge pull request #1259 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '8f103a935be942a4240da9e57a0f67504588948a':
  HDFFV-10594, 10332, 10531
2018-09-27 08:32:45 -05:00
Allen Byrne
8f103a935b HDFFV-10594, 10332, 10531 2018-09-26 16:04:34 -05:00
Allen Byrne
873249b58b Merge pull request #1249 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit 'f5aafbc87a59313f07eb7611b259cb0d1f68c867':
  Fix URL
2018-09-20 10:01:21 -05:00
Allen Byrne
f5aafbc87a Fix URL 2018-09-18 12:54:51 -05:00
Larry Knox
687fdba544 Commit release date change. 2018-09-10 10:33:35 -05:00
Larry Knox
7cc82b16a2 Merge pull request #1237 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_4 to hdf5_1_10_4
* commit '1f73a6d16b540bc8b7dfcec1df3eb7bdca5810d8':
  Update RELEASE.txt for HDF5 1.10.4 release.
  Add notes about unsupported options
  Add contents of HDF5 1.10.3 RELEASE.txt to HISTORY-1_10.txt and update RELEASE.txt for continuing development.
  Switch maintainer mode to disable, build mode to production, version to 1.10.4, and commit files generated by autogen.sh for release branch hdf5_1_10_4.
2018-09-10 10:01:28 -05:00
Larry Knox
1f73a6d16b Update RELEASE.txt for HDF5 1.10.4 release. 2018-09-10 09:59:30 -05:00
Allen Byrne
c9ee881ca3 Add notes about unsupported options 2018-09-10 09:58:18 -05:00
Larry Knox
951348020e Add contents of HDF5 1.10.3 RELEASE.txt to HISTORY-1_10.txt and update
RELEASE.txt for continuing development.
2018-09-10 09:45:24 -05:00
Larry Knox
e5b9c70304 Merge pull request #1239 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit '3110fd53c0b072e6be250235061a6349921765e9':
  Add contents of HDF5 1.10.3 RELEASE.txt to HISTORY-1_10.txt and update RELEASE.txt for continuing development.
2018-09-10 09:42:24 -05:00
Allen Byrne
b708f4148a Merge pull request #1238 in HDFFV/hdf5 from ~BYRN/hdf5_merge_adb:hdf5_1_10 to hdf5_1_10
* commit '822f5f12d5548e8dcdda25e92c80e06755f6ad52':
  Add notes about unsupported options
2018-09-10 09:41:59 -05:00
Larry Knox
3110fd53c0 Add contents of HDF5 1.10.3 RELEASE.txt to HISTORY-1_10.txt and update
RELEASE.txt for continuing development.
2018-09-10 09:31:38 -05:00
Allen Byrne
822f5f12d5 Add notes about unsupported options 2018-09-10 09:29:24 -05:00
Larry Knox
7f77632ba0 Switch maintainer mode to disable, build mode to production, version to
1.10.4, and commit files generated by autogen.sh for release branch hdf5_1_10_4.
2018-09-07 17:01:49 -05:00
Larry Knox
930818ca67 Merge pull request #1234 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit '20712bef862cec627e046b712ebe5777b804c97c':
  Update version
2018-09-06 06:23:23 -05:00
Larry Knox
20712bef86 Update version 2018-09-05 15:11:44 -05:00
Allen Byrne
a033634b6a Merge pull request #1231 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit 'e1f4d0c5d2bae6eaf5b347cea17c58522d62ca92':
  HDFFV-10568 fix hdf5_java library dependency
  Fix Java library location for testing
  Java groups example fix
2018-09-01 10:01:56 -05:00
Allen Byrne
e1f4d0c5d2 HDFFV-10568 fix hdf5_java library dependency 2018-08-31 20:59:57 -05:00
Allen Byrne
d0a62ef975 Fix Java library location for testing 2018-08-31 14:58:58 -05:00
Allen Byrne
86e489b6ab Java groups example fix 2018-08-31 08:00:06 -05:00
Allen Byrne
930d67649d Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit '2ee65646c3afb31194864d36a20817c44b42e677':
  Merge pull request #1224 in HDFFV/hdf5 from ~JHENDERSON/hdf5:develop to develop
2018-08-28 16:17:28 -05:00
Allen Byrne
2ee65646c3 Merge pull request #1227 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit 'd8ec4df92880d98907b12af8fc9fff86e0631270':
  Update system commands with HD prefix and whitespace
2018-08-28 16:16:56 -05:00
Larry Knox
99e0c1043e Merge pull request #1225 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit 'f4f2e83d2233699aaf32f2e7f715504b43542d42':
  Merge pull request #1224 in HDFFV/hdf5 from ~JHENDERSON/hdf5:develop to develop
2018-08-28 13:57:38 -05:00
Allen Byrne
d8ec4df928 Update system commands with HD prefix and whitespace 2018-08-28 13:32:01 -05:00
Larry Knox
f4f2e83d22 Merge pull request #1224 in HDFFV/hdf5 from ~JHENDERSON/hdf5:develop to develop
* commit '763b95c6b0f027025a5a5bfb203b77317ffa2368':
  Update RELEASE.txt with suggested changes
  Update MANIFEST file for new t_coll_md_read.c file
  Remove now-unused local variable
  Add fix for HDFFV-10501
2018-08-28 08:25:38 -05:00
Larry Knox
ebc3d3eda5 Merge pull request #1223 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '9e466086f49e6e36b2dc71c0e6e94c01368d7d00':
  Disable failing tests because of execution issue
  Add testfiles to data copy
  Same changes needed for examples as test
  Correct name of test jar
  Only remove test jars
  Remove obsolete var
  Correct osx installer extension
  revert build install change for DT
  Merge CMake and Java OSX changes from develop
2018-08-24 13:04:51 -05:00
Allen Byrne
9e466086f4 Disable failing tests because of execution issue 2018-08-24 10:27:15 -05:00
Larry Knox
6569f208b8 Merge pull request #1220 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:1.10/master to 1.10/master
* commit '21eef8a98ee6949c69d79c6c4d87fc8e4e38dc29': (354 commits)
  Commit version with new release date.
  Add example packaging option and fix html5 issues
  Commit version with new release date.
  Commit files changed by autogen.sh.
  Merge pull request #1208 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
  Merge pull request #1207 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
  Merge pull request #1203 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
  Commit version with new release date. Commit new generated H5version.h including #defines for H5_USE_110_API.
  Correct nested c-style comment.
  Merge pull request #1197 in HDFFV/hdf5 from ~BYRN/hdf5_merge_adb:hdf5_1_10 to hdf5_1_10
  Merge pull request #1194 in HDFFV/hdf5 from ~VCHOI/my_hdf5_fork:hdf5_1_10 to hdf5_1_10
  Updated the H5Dread/write_chunk() release note.
  Added a release note for the H5Dread/write_chunk() API calls.
  Update Intel Fortran version for Windows 10.
  RELEASE.txt updates. Version change for 1.10.3 release.
  Revised entry on CVE issues
  Added notes about CVE issues
  Update version for HDF5 1.10.3 release.
  Add placeholder for performance improvement in RELEASE.txt
  updated fortran fixes
  ...
2018-08-24 09:14:56 -05:00
Allen Byrne
87fc66f41b Add testfiles to data copy 2018-08-23 17:27:34 -05:00
Allen Byrne
6e66005441 Same changes needed for examples as test 2018-08-23 16:33:20 -05:00
Allen Byrne
282272a727 Correct name of test jar 2018-08-23 14:53:44 -05:00
Larry Knox
a00d6795ce Merge pull request #1221 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit '4393a79e966a946cd7682e4177cbfeacf68e4a92':
  Change prefix in example scripts to relative path to bin. This was done for 1.8, and works wherever installed without the need to replace the original prefix.
2018-08-23 14:33:02 -05:00
Allen Byrne
4363609ef0 Only remove test jars 2018-08-23 14:22:22 -05:00
Allen Byrne
f96190845c Remove obsolete var 2018-08-23 13:21:09 -05:00
Larry Knox
4393a79e96 Change prefix in example scripts to relative path to bin. This was done
for 1.8, and works wherever installed without the need to replace the
original prefix.
2018-08-23 10:50:23 -05:00
Larry Knox
21eef8a98e squash! Commit version with new release date.
Merge branch 'hdf5_1_10_3' into 1.10/master
2018-08-23 10:39:17 -05:00
Allen Byrne
36d3515ad8 Correct osx installer extension 2018-08-23 09:43:58 -05:00
Allen Byrne
5e6baf8972 revert build install change for DT 2018-08-23 09:23:54 -05:00
Allen Byrne
731ebbb93f Merge CMake and Java OSX changes from develop 2018-08-23 08:46:34 -05:00
Larry Knox
fd886ffd07 Merge branch 'hdf5_1_10_3' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into hdf5_1_10_3 2018-08-22 17:35:40 -05:00
Larry Knox
08d77e43da Commit version with new release date. 2018-08-22 15:09:05 -05:00
Allen Byrne
ed16ca44b5 Merge pull request #1216 in HDFFV/hdf5 from ~BYRN/hdf5_merge_adb:hdf5_1_10 to hdf5_1_10
* commit '3537a81e35b64903bcafd92a411cd1ca02ce4f2b':
  HDFFV-10536 Convert iterator callbacks from global to stack var
2018-08-21 10:03:03 -05:00
Allen Byrne
3537a81e35 HDFFV-10536 Convert iterator callbacks from global to stack var 2018-08-21 08:23:12 -05:00
Allen Byrne
c9b8f6b44b Merge pull request #1215 in HDFFV/hdf5 from ~BYRN/hdf5_merge_adb:hdf5_1_10 to hdf5_1_10
* commit '0b87689625f9d9e29692d119d4eb323ece726abb':
  Adjust warning flags to match autotools, add configure status
2018-08-21 08:16:37 -05:00
Allen Byrne
93901a3d49 Merge pull request #1214 in HDFFV/hdf5 from ~BYRN/hdf5_merge_adb:hdf5_1_10_3 to hdf5_1_10_3
* commit 'a60e33f43d89f800b1f5afa8cd25e4d02b23e9b0':
  Add example packaging option and fix html5 issues
2018-08-21 08:07:46 -05:00
Allen Byrne
0b87689625 Adjust warning flags to match autotools, add configure status 2018-08-21 08:07:27 -05:00
Allen Byrne
a60e33f43d Add example packaging option and fix html5 issues 2018-08-21 07:48:11 -05:00
Allen Byrne
e7ac7c896d Merge pull request #1212 in HDFFV/hdf5 from ~BYRN/hdf5_merge_adb:hdf5_1_10 to hdf5_1_10
* commit '995d1740476629a80d75033836dac76b91086f26':
  HDFFV-10547 add option to package examples
2018-08-21 07:32:07 -05:00
Allen Byrne
995d174047 HDFFV-10547 add option to package examples 2018-08-20 18:25:11 -05:00
Larry Knox
e3a07365d7 Merge branch 'hdf5_1_10_3' of https://bitbucket.hdfgroup.org/scm/~lrknox/hdf5_lrk into hdf5_1_10_3 2018-08-17 20:06:11 -05:00
Larry Knox
bbea360439 Commit version with new release date. 2018-08-17 20:04:28 -05:00
Larry Knox
b63ed4eddc Merge pull request #1209 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_3 to hdf5_1_10_3
* commit 'ddba83b27b461fd3282e89beb3fb0975dce9b575':
  Commit files changed by autogen.sh.
  Merge pull request #1208 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
  Merge pull request #1207 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
  Merge pull request #1203 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
2018-08-17 17:17:32 -05:00
Larry Knox
ddba83b27b Commit files changed by autogen.sh. 2018-08-17 17:11:06 -05:00
Larry Knox
1afb11c59e Merge pull request #1208 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit 'bad45f2eefbaa69e28ec0954f84221d5dffe70cb':
  Update contents of COPYING file.
2018-08-17 17:05:09 -05:00
Allen Byrne
a6f56eb159 Merge pull request #1207 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit 'aab40090f0227bec4150f322aee40c1aa4dbd21e':
  HDFFV-10552 Add missing HDF5_USE_110_API_DEFAULT option
2018-08-17 17:04:56 -05:00
Allen Byrne
23c692dcd8 Merge pull request #1203 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '811abba1c7fa6301072e4ef7d7e77d289e77563f':
  Add extra option for CDash
2018-08-17 17:04:38 -05:00
Larry Knox
844e1442e0 Merge pull request #1208 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit 'bad45f2eefbaa69e28ec0954f84221d5dffe70cb':
  Update contents of COPYING file.
2018-08-17 16:48:26 -05:00
Larry Knox
bad45f2eef Update contents of COPYING file. 2018-08-17 16:39:10 -05:00
Allen Byrne
836c3bcae2 Merge pull request #1207 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit 'aab40090f0227bec4150f322aee40c1aa4dbd21e':
  HDFFV-10552 Add missing HDF5_USE_110_API_DEFAULT option
2018-08-17 15:09:18 -05:00
Allen Byrne
aab40090f0 HDFFV-10552 Add missing HDF5_USE_110_API_DEFAULT option 2018-08-17 15:01:23 -05:00
Allen Byrne
589845a3ce Merge pull request #1203 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '811abba1c7fa6301072e4ef7d7e77d289e77563f':
  Add extra option for CDash
2018-08-17 12:08:29 -05:00
Allen Byrne
811abba1c7 Add extra option for CDash 2018-08-17 11:36:42 -05:00
Larry Knox
820c51d648 Merge pull request #1202 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit '1029540525688e9dd7f487fd0c8e5cd0f8e6c098':
  Update Inel Fortran version for Windows 10.
  Merge pull request #1189 in HDFFV/hdf5 from ~BRTNFLD/hdf5_msb:hdf5_1_10_3 to hdf5_1_10_3
  Merge pull request #1190 in HDFFV/hdf5 from ~BMRIBLER/hdf5_1_10_3-bmr:hdf5_1_10_3 to hdf5_1_10_3
  Merge pull request #1195 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:hdf5_1_10_3 to hdf5_1_10_3
2018-08-17 08:00:36 -05:00
Larry Knox
0f8a649666 Commit version with new release date.
Commit new generated H5version.h including #defines for H5_USE_110_API.
2018-08-17 07:39:46 -05:00
Larry Knox
1029540525 Update Inel Fortran version for Windows 10. 2018-08-16 22:21:15 -05:00
Scot Breitenfeld
de067e27d4 Merge pull request #1189 in HDFFV/hdf5 from ~BRTNFLD/hdf5_msb:hdf5_1_10_3 to hdf5_1_10_3
* commit '6fde89013a10ebb31aa9e3c2f88a3a9a0d1517c7':
  updated fortran fixes
2018-08-16 22:16:08 -05:00
Larry Knox
3f0655a0a4 Merge pull request #1190 in HDFFV/hdf5 from ~BMRIBLER/hdf5_1_10_3-bmr:hdf5_1_10_3 to hdf5_1_10_3
* commit 'fae6c2fea419eb018414a9eed78a23e133a3660b':
  Revised entry on CVE issues
  Added notes about CVE issues
2018-08-16 22:11:21 -05:00
Dana Robinson
7a7ab1939d Merge pull request #1195 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:hdf5_1_10_3 to hdf5_1_10_3
* commit '476072a8b469206e2a2de6eb5ad9fcae36c7bdd6':
  Updated the H5Dread/write_chunk() release note.
  Added a release note for the H5Dread/write_chunk() API calls.
2018-08-16 22:08:18 -05:00
Larry Knox
58a42e0039 Merge pull request #1201 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit 'b14dc67e198ea73fd19312ad048a89eba90a9d6e':
  Correct nested c-style comments.
2018-08-16 18:09:31 -05:00
Larry Knox
6083b373e9 Merge pull request #1200 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_3 to hdf5_1_10_3
* commit '36fa2edfd2bfe4ebcea9e28a6b78d3d81ad6e0bc':
  Correct nested c-style comment.
2018-08-16 18:08:48 -05:00
Larry Knox
b14dc67e19 Correct nested c-style comments. 2018-08-16 18:06:56 -05:00
Larry Knox
36fa2edfd2 Merge branch 'hdf5_1_10_3' of https://bitbucket.hdfgroup.org/scm/~lrknox/hdf5_lrk into hdf5_1_10_3 2018-08-16 18:04:26 -05:00
Larry Knox
2d111183ed Correct nested c-style comment. 2018-08-16 18:03:21 -05:00
Larry Knox
278209d724 Merge pull request #1199 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_3 to hdf5_1_10_3
* commit 'a246d73aca19f9934bb2b2883742a66ac355be59':
  Merge pull request #1197 in HDFFV/hdf5 from ~BYRN/hdf5_merge_adb:hdf5_1_10 to hdf5_1_10
  Merge pull request #1194 in HDFFV/hdf5 from ~VCHOI/my_hdf5_fork:hdf5_1_10 to hdf5_1_10
2018-08-16 17:00:58 -05:00
Larry Knox
a246d73aca Merge pull request #1197 in HDFFV/hdf5 from ~BYRN/hdf5_merge_adb:hdf5_1_10 to hdf5_1_10
* commit '09b74727d32a931744b125cb105c61734a0270b8':
  Corrected comment
  Fix JIRA number format
  HDFFV-10552 fix makevers script and undeprecate 1.10 functions
2018-08-16 16:57:25 -05:00
Larry Knox
a60f7d1dc6 Merge pull request #1197 in HDFFV/hdf5 from ~BYRN/hdf5_merge_adb:hdf5_1_10 to hdf5_1_10
* commit '09b74727d32a931744b125cb105c61734a0270b8':
  Corrected comment
  Fix JIRA number format
  HDFFV-10552 fix makevers script and undeprecate 1.10 functions
2018-08-16 16:47:56 -05:00
Allen Byrne
09b74727d3 Corrected comment 2018-08-16 16:44:46 -05:00
Vailin Choi
a8c470c949 Merge pull request #1194 in HDFFV/hdf5 from ~VCHOI/my_hdf5_fork:hdf5_1_10 to hdf5_1_10
* commit '5c3b993e8242fd711baec8a5ddaac793a7bc2a39':
  Revise release notes for H5Oget_info (HDFFV-10180).
  Modify release notes for H5Oget_info (HDFFV-10180).
  Add release notes for HDFFV-10180.
2018-08-16 16:44:22 -05:00
Vailin Choi
64f5cd75aa Merge pull request #1194 in HDFFV/hdf5 from ~VCHOI/my_hdf5_fork:hdf5_1_10 to hdf5_1_10
* commit '5c3b993e8242fd711baec8a5ddaac793a7bc2a39':
  Revise release notes for H5Oget_info (HDFFV-10180).
  Modify release notes for H5Oget_info (HDFFV-10180).
  Add release notes for HDFFV-10180.
2018-08-16 16:32:18 -05:00
Vailin Choi
5c3b993e82 Revise release notes for H5Oget_info (HDFFV-10180). 2018-08-16 16:27:03 -05:00
Allen Byrne
557406cee8 Fix JIRA number format 2018-08-16 15:38:39 -05:00
Allen Byrne
32719fffd9 HDFFV-10552 fix makevers script and undeprecate 1.10 functions 2018-08-16 15:23:03 -05:00
Dana Robinson
048838620e Merge pull request #1195 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:hdf5_1_10_3 to hdf5_1_10_3
* commit '476072a8b469206e2a2de6eb5ad9fcae36c7bdd6':
  Updated the H5Dread/write_chunk() release note.
  Added a release note for the H5Dread/write_chunk() API calls.
2018-08-16 12:51:40 -05:00
Dana Robinson
476072a8b4 Updated the H5Dread/write_chunk() release note. 2018-08-16 10:30:19 -07:00
Vailin Choi
f2d0a34045 Modify release notes for H5Oget_info (HDFFV-10180). 2018-08-16 11:58:04 -05:00
Dana Robinson
df050476b1 Added a release note for the H5Dread/write_chunk() API calls. 2018-08-16 09:51:59 -07:00
Vailin Choi
b9511a1fc3 Add release notes for HDFFV-10180. 2018-08-15 21:14:58 -05:00
Allen Byrne
42389f3c6d Merge pull request #1193 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_3 to hdf5_1_10_3
* commit 'd761a22f4bbfb27848584e6466d100057bf495f6':
  Update Intel Fortran version for Windows 10.
  RELEASE.txt updates. Version change for 1.10.3 release.
  Update version for HDF5 1.10.3 release.
  Add placeholder for performance improvement in RELEASE.txt
2018-08-15 12:16:27 -05:00
Larry Knox
d761a22f4b Update Intel Fortran version for Windows 10. 2018-08-15 11:51:19 -05:00
Larry Knox
5e8c6061ca RELEASE.txt updates.
Version change for 1.10.3 release.
2018-08-15 09:37:28 -05:00
Larry Knox
937d2e24a8 Merge branch 'hdf5_1_10_3' of https://bitbucket.hdfgroup.org/scm/~lrknox/hdf5_lrk into hdf5_1_10_3 2018-08-15 07:58:43 -05:00
Larry Knox
cf2246d3b5 Merge pull request #1190 in HDFFV/hdf5 from ~BMRIBLER/hdf5_1_10_3-bmr:hdf5_1_10_3 to hdf5_1_10_3
* commit 'fae6c2fea419eb018414a9eed78a23e133a3660b':
  Revised entry on CVE issues
  Added notes about CVE issues
2018-08-15 07:51:19 -05:00
Binh-Minh Ribler
fae6c2fea4 Revised entry on CVE issues 2018-08-14 18:00:16 -05:00
Vailin Choi
423b4ecd65 Merge pull request #1191 in HDFFV/hdf5 from ~VCHOI/my_hdf5_fork:hdf5_1_10 to hdf5_1_10
* commit '08c1bf7b3bf119c91d532e4bc4640d73bf35626e':
  Add release notes for HDFFV-10469.
2018-08-14 15:40:15 -05:00
Vailin Choi
08c1bf7b3b Add release notes for HDFFV-10469. 2018-08-14 14:50:49 -05:00
Binh-Minh Ribler
d032f263ae Added notes about CVE issues 2018-08-14 14:01:20 -05:00
Larry Knox
cdf2f3b3c4 Update version for HDF5 1.10.3 release. 2018-08-13 16:54:19 -05:00
Larry Knox
7c9bd5e7bd Add placeholder for performance improvement in RELEASE.txt 2018-08-13 16:51:26 -05:00
Scot Breitenfeld
0f34ce4cb6 Merge pull request #1189 in HDFFV/hdf5 from ~BRTNFLD/hdf5_msb:hdf5_1_10_3 to hdf5_1_10_3
* commit '6fde89013a10ebb31aa9e3c2f88a3a9a0d1517c7':
  updated fortran fixes
2018-08-10 09:45:23 -05:00
M. Scot Breitenfeld
6fde89013a updated fortran fixes 2018-08-10 09:27:40 -05:00
Larry Knox
bba694bef6 Merge pull request #1188 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_3 to hdf5_1_10_3
* commit 'db1c015f1c5a7b3cfdd0be59d9a052f190587cc7':
  Switch default build mode to production. Propagate configure.ac changes to configure and Makefile.ins with autogen.sh.
  Update RELEASE.txt.
2018-08-10 08:45:04 -05:00
Larry Knox
db1c015f1c Switch default build mode to production.
Propagate configure.ac changes to configure and Makefile.ins with
autogen.sh.
2018-08-09 16:40:32 -05:00
Larry Knox
92b94e2b18 Update RELEASE.txt. 2018-08-09 14:24:43 -05:00
Larry Knox
2a3442872a Merge pull request #1187 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit 'da698a07207536a06ff1da8f99dc4e7622215e0d':
  Rearrange issues by date order Update version. Update .so versions to match 1.10.3.
2018-08-09 14:02:26 -05:00
Jordan Henderson
da698a0720 Rearrange issues by date order
Update version.
Update .so versions to match 1.10.3.
2018-08-09 13:48:52 -05:00
Larry Knox
d9733edb86 Merge pull request #1184 in HDFFV/hdf5 from hdf5_1_10 to hdf5_1_10_3
* commit 'f378513a67dcda5cf4750a2422f5f646abdcbbe9': (86 commits)
  HDFFV-10544 writeVL subfunction is unimplemented
  Merge pull request #1178 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
  HDFFV-10544 Improve JNI exception handling
  Change exception text
  Move unimplemented exception throw to just one function
  Typo fix
  Set CMAKE_REQUIRED_INCLUDES instead of using path in call
  Add Autotools and CMake checks for big I/O MPI-3 functions
  Add hdf5settings section for parallel compression status in CMake builds
  Switch to CheckSymbolExists in CMake
  Add configure check for MPI_Mprobe and MPI_Imrecv functions
  Revert "Merge pull request #1149 in HDFFV/hdf5 from hdf5_1_10.sync to hdf5_1_10"
  Update HDF5 examples to correct version.
  Correct a few typos.
  Correct typo in comment in config/gnu-flags.
  Update bine/release to create batch scripts and build-unix-sh, and to put files in a subdirectory.
  misc. fixed version paths
  misc. versioning fixes
  Fixed versioning
  Add missing '\' in the middle of the public headers list in Makefile.am.
  ...
2018-08-09 09:54:55 -05:00
Allen Byrne
9b89d33334 Merge pull request #1183 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10_3 to hdf5_1_10_3
* commit '4e67d9e074a2bb974a434a6f591884ef5e6a7199':
  HDFFV-10544 improve exception handling
  HDFFV-10534 Change to RuntimeException
2018-08-08 16:52:52 -05:00
Allen Byrne
4e67d9e074 HDFFV-10544 improve exception handling 2018-08-08 16:47:36 -05:00
Larry Knox
f378513a67 Merge pull request #1182 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '0bc17f0e63ee0298bdc6104416864d1251433438':
  HDFFV-10544 writeVL subfunction is unimplemented
2018-08-08 15:56:57 -05:00
Allen Byrne
4f8cf998ea Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10_3)
* commit 'a52beb6566c29c4f2d9f4722c3a9a40a48cbafba':
  Update version to 1.10.3-pre2.
  Merge pull request #1178 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
2018-08-08 15:17:08 -05:00
Allen Byrne
0bc17f0e63 HDFFV-10544 writeVL subfunction is unimplemented 2018-08-08 10:45:52 -05:00
Larry Knox
a52beb6566 Merge pull request #1181 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_3 to hdf5_1_10_3
* commit '73ffe6b6df8df935e1cc6e31cf2bdaed6c6448e9':
  Update version to 1.10.3-pre2.
  Merge pull request #1178 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
2018-08-07 21:15:44 -05:00
Larry Knox
f827e1d045 Merge pull request #1180 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit '89c1ce3c1f6d58813e83bf1288410f3190722be7':
  Merge pull request #1178 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
2018-08-07 21:15:19 -05:00
Larry Knox
73ffe6b6df Update version to 1.10.3-pre2. 2018-08-07 15:41:30 -05:00
Larry Knox
1263f9ca77 Merge pull request #1178 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
* commit 'a3385675b3cdc2102457a9f91877cc27778ab29a':
  Reorder bugfix release notes from latest to earliest, and miscellaneous format cleanup.
  Add RELEASE.txt entry for HDFFV-10475
2018-08-07 15:36:58 -05:00
Larry Knox
89c1ce3c1f Merge pull request #1178 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
* commit 'a3385675b3cdc2102457a9f91877cc27778ab29a':
  Reorder bugfix release notes from latest to earliest, and miscellaneous format cleanup.
  Add RELEASE.txt entry for HDFFV-10475
2018-08-07 15:33:33 -05:00
Jordan Henderson
51b90ecad3 Merge pull request #1172 in HDFFV/hdf5 from ~JHENDERSON/hdf5:feature/1_10_MPI2_only_fixes to hdf5_1_10
* commit 'afa166154f1d4175a9d8cbc2f6bc1584dca859f8': (81 commits)
  Typo fix
  Set CMAKE_REQUIRED_INCLUDES instead of using path in call
  Add Autotools and CMake checks for big I/O MPI-3 functions
  Add hdf5settings section for parallel compression status in CMake builds
  Switch to CheckSymbolExists in CMake
  Add configure check for MPI_Mprobe and MPI_Imrecv functions
  Revert "Merge pull request #1149 in HDFFV/hdf5 from hdf5_1_10.sync to hdf5_1_10"
  Update HDF5 examples to correct version.
  Correct a few typos.
  Correct typo in comment in config/gnu-flags.
  Update bine/release to create batch scripts and build-unix-sh, and to put files in a subdirectory.
  misc. fixed version paths
  misc. versioning fixes
  Fixed versioning
  Add missing '\' in the middle of the public headers list in Makefile.am.
  Fixed typos
  Entered entries for HDFFV-10150, HDFFV-10458, HDFFV-1047
  Updated for C2Cppfunction_map.htm
  Added class DSetAccPropList Description:     - Added class DSetAccPropList for the dataset access property list.     - Added wrapper for H5Dget_access_plist to class DataSet         // Gets the access property list of this dataset.         DSetAccPropList getAccessPlist() const;
  Code improvement Description:     Moved the new H5Object::getInfo member functions to H5Location and     made them overloaded with the existing H5Location::getObjinfo.  This     way is cleaner than the previous approach. Platforms tested:     Linux/64 (jelly)     Linux/32 (jam)     Darwin (osx1010test)
  ...
2018-08-07 11:33:07 -05:00
Allen Byrne
f7c115f42a Merge pull request #1177 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '78c4623235ea54ec2adc9d079e9f5c9e87f870ba':
  HDFFV-10544 Improve JNI exception handling
2018-08-07 08:51:52 -05:00
Allen Byrne
78c4623235 HDFFV-10544 Improve JNI exception handling 2018-08-06 13:15:50 -05:00
Allen Byrne
51a5d112ad Merge pull request #1174 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit 'd7d562339911b1f71c43cb293f90d7d67d33e949':
  Change exception text
  Move unimplemented exception throw to just one function
2018-08-03 12:50:40 -05:00
Allen Byrne
d7d5623399 Change exception text 2018-08-03 11:54:58 -05:00
Allen Byrne
d47ffdb828 Move unimplemented exception throw to just one function 2018-08-03 09:01:29 -05:00
Allen Byrne
afa166154f Typo fix 2018-08-02 11:59:21 -05:00
Allen Byrne
cc2ded2a16 Set CMAKE_REQUIRED_INCLUDES instead of using path in call 2018-08-02 11:59:12 -05:00
Allen Byrne
7f85a473f7 Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10_3)
* commit '6440f603e884cfce95a231b2e66c5e2edaf3f1f8':
  Commit text changes for pre1 release.
2018-08-02 10:52:51 -05:00
Jordan Henderson
bccf6e38a4 Add Autotools and CMake checks for big I/O MPI-3 functions 2018-08-02 09:47:35 -05:00
Jordan Henderson
7a4025f259 Add hdf5settings section for parallel compression status in CMake builds 2018-08-02 09:47:26 -05:00
Jordan Henderson
d4298589fe Switch to CheckSymbolExists in CMake 2018-08-02 09:46:45 -05:00
Jordan Henderson
0623b06b15 Add configure check for MPI_Mprobe and MPI_Imrecv functions
Add line to libhdf5settings file for status of Parallel writes to
filtered datasets status

Surround Parallel Compression code in MPI_VERSION >= 3 checks

Add disabled message for Parallel Compression built w/ MPI-2

Modify Parallel Compression tests to only run the parallel filtered read
tests when parallel filtered writes are disabled

Update big I/O code to handle being built with MPI-2

Add checks to CMakeLists.txt for MPI_Mprobe and MPI_Imrecv
2018-08-02 09:46:34 -05:00
Jordan Henderson
07c33d0eb8 Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit '3e7979902ade13ba8f37e020e5ae95f03a82b0f9':
  Merge pull request #1158 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_cpp4:develop to develop
  Merge from develop
2018-08-01 11:29:59 -05:00
Larry Knox
6440f603e8 Commit text changes for pre1 release. 2018-07-31 15:33:57 -05:00
Allen Byrne
184a3f653c Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10_3)
* commit '0636e97e42c78f39c5b4dd5d5120394566bfb35f':
  Merge pull request #1158 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_cpp4:develop to develop
  Merge pull request #1158 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_cpp4:develop to develop
  Merge from develop
  HDFFV-10534 add note
  HDFFV-10534 change to runtime exception
2018-07-31 12:44:58 -05:00
Allen Byrne
0636e97e42 Merge pull request #1171 in HDFFV/hdf5 from hdf5_1_10 to hdf5_1_10_3
* commit '3e7979902ade13ba8f37e020e5ae95f03a82b0f9':
  Merge pull request #1158 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_cpp4:develop to develop
  Merge from develop
  HDFFV-10534 add note
  HDFFV-10534 change to runtime exception
2018-07-31 12:43:55 -05:00
Larry Knox
e7557011ce Merge pull request #1170 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_3 to hdf5_1_10_3
* commit '3a42a06c8f75fca2873f341859bdf623e0293f04':
  Merge pull request #1158 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_cpp4:develop to develop
2018-07-31 12:05:10 -05:00
Larry Knox
3e7979902a Merge pull request #1169 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit '668fd6327911eb8b8efd68219a0cadf13c5d75f8':
  Merge pull request #1158 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_cpp4:develop to develop
2018-07-31 12:04:54 -05:00
Allen Byrne
c563f600c6 Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10_3)
* commit '57f5ca2353c3ebfbd77c22a2239d538d9a516615':
  Propagate so # changes to files generated by autogen.
  Update library version information.
2018-07-31 11:48:31 -05:00
Larry Knox
668fd63279 Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit 'b077040516e4091e98777818292fe8fbc38e9f12':
  Merge from develop
2018-07-31 11:35:59 -05:00
Allen Byrne
b077040516 Merge pull request #1168 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
HDFFV-9755, HDFFV-10508 documentation
Fortran configuration fixes
MPI generator expressions

* commit '4f5bdadd50783be3d20949048ede3ec3543ba5a4':
  Merge from develop
2018-07-31 11:14:31 -05:00
Binh-Minh Ribler
3a42a06c8f Merge pull request #1158 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_cpp4:develop to develop
Typos in comments

* commit '7d9f5ed49a560fe8801b77cce8ffb60a2ec5e846':
  Fixed document format Platforms tested:     Linux/64 (jelly) (only in comment sections)
  Fixed missing backslash
2018-07-31 11:08:02 -05:00
Binh-Minh Ribler
929675899f Merge pull request #1158 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_cpp4:develop to develop
Typos in comments

* commit '7d9f5ed49a560fe8801b77cce8ffb60a2ec5e846':
  Fixed document format Platforms tested:     Linux/64 (jelly) (only in comment sections)
  Fixed missing backslash
2018-07-31 11:04:48 -05:00
Larry Knox
57f5ca2353 Merge pull request #1166 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_3 to hdf5_1_10_3
* commit '6d585f27918de513f9a339e0032c15ea6d6240d4':
  Propagate so # changes to files generated by autogen.
  Update library version information.
2018-07-31 10:18:32 -05:00
Allen Byrne
4f5bdadd50 Merge from develop 2018-07-31 10:07:00 -05:00
Larry Knox
6d585f2791 Propagate so # changes to files generated by autogen. 2018-07-31 09:57:59 -05:00
Jordan Henderson
9002612504 Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit '23b96a8dc8ccb7d60150a30133183df3a7ac270d': (53 commits)
  HDFFV-10534 add note
  HDFFV-10534 change to runtime exception
  Revise H5D__mpio_array_gatherv() to not allocate memory needlessly
  Add test to continually grow and shrink chunks
  Changes to test with checksum filter as well as deflate filter
  Eliminate warning about signed to unsigned conversion
  Remove unused local variable
  Fix bug in parallel reads of compressed data
  Add data verification to parallel filtered compound write tests
  Add seven of fourteen parallel filtered data partial read tests
  Add missing file and remove deleted
  Correct git synch error
  Add swmr tests, fix java script
  Update macros and cygwin flags
  Revert Sencode h5dump test
  RELEASE.txt updates for HDFFV-10467 and HDFFV-10509
  Update HDF5 examples to correct version.
  Correct a few typos.
  Correct typo in comment in config/gnu-flags.
  Update bine/release to create batch scripts and build-unix-sh, and to put files in a subdirectory.
  ...
2018-07-31 09:57:02 -05:00
Larry Knox
18a9cd7b85 Update library version information. 2018-07-30 22:42:11 -05:00
Allen Byrne
23b96a8dc8 Merge pull request #1162 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit 'e2423982a1e85e8f51ad71808d21fb9185595a27':
  HDFFV-10534 add note
  HDFFV-10534 change to runtime exception
2018-07-30 12:29:51 -05:00
Allen Byrne
27ae7781c4 HDFFV-10534 Change to RuntimeException 2018-07-30 12:15:22 -05:00
Allen Byrne
e2423982a1 HDFFV-10534 add note 2018-07-30 12:13:03 -05:00
Allen Byrne
4b8047e4c3 HDFFV-10534 change to runtime exception 2018-07-30 10:52:38 -05:00
Larry Knox
9f5b8fdc26 Delete src/H5public.h~ committed with files created by autogen.sh. 2018-07-29 07:27:04 -05:00
Larry Knox
4113e59010 Merge pull request #1159 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_3 to hdf5_1_10_3
* commit '42e5635d2caf96c9a48a5e6b9d4624fcb955853d':
  Set version to 1.10.3-pre1, disable maintainer mode, commit files generated by autogen.sh.
2018-07-28 18:26:32 -05:00
Larry Knox
42e5635d2c Set version to 1.10.3-pre1, disable maintainer mode, commit files
generated by autogen.sh.
2018-07-28 15:26:20 -05:00
Scot Breitenfeld
dbeab5ca03 Merge pull request #1156 in HDFFV/hdf5 from hdf5_1_10.sync to hdf5_1_10
* commit 'ed1bfe373316567b57ddf2199853db815fff6b4b': (51 commits)
  Revise H5D__mpio_array_gatherv() to not allocate memory needlessly
  Add test to continually grow and shrink chunks
  Changes to test with checksum filter as well as deflate filter
  Eliminate warning about signed to unsigned conversion
  Remove unused local variable
  Fix bug in parallel reads of compressed data
  Add data verification to parallel filtered compound write tests
  Add seven of fourteen parallel filtered data partial read tests
  Add missing file and remove deleted
  Correct git synch error
  Add swmr tests, fix java script
  Update macros and cygwin flags
  Revert Sencode h5dump test
  RELEASE.txt updates for HDFFV-10467 and HDFFV-10509
  Update HDF5 examples to correct version.
  Correct a few typos.
  Correct typo in comment in config/gnu-flags.
  Update bine/release to create batch scripts and build-unix-sh, and to put files in a subdirectory.
  Add missing '\' in the middle of the public headers list in Makefile.am.
  Fixed typos
  ...
2018-07-27 17:51:04 -05:00
Jordan Henderson
ed1bfe3733 Revise H5D__mpio_array_gatherv() to not allocate memory needlessly 2018-07-27 17:34:36 -05:00
Jordan Henderson
57db75b9de Add test to continually grow and shrink chunks 2018-07-27 17:30:52 -05:00
Jordan Henderson
4694634240 Changes to test with checksum filter as well as deflate filter 2018-07-27 17:30:28 -05:00
Jordan Henderson
c9e737aca2 Eliminate warning about signed to unsigned conversion 2018-07-27 17:30:19 -05:00
Jordan Henderson
5c51cd4212 Remove unused local variable
Ensure frees are done in a more heap-fragmentation friendly order
2018-07-27 17:29:58 -05:00
Jordan Henderson
44507db95d Fix bug in parallel reads of compressed data
Add remaining parallel compound dataset partial read tests
2018-07-27 17:29:45 -05:00
Jordan Henderson
476a6ecc5c Add data verification to parallel filtered compound write tests
Add 3D parallel filtered partial read tests
2018-07-27 17:29:34 -05:00
Jordan Henderson
edf4ff66b2 Add seven of fourteen parallel filtered data partial read tests 2018-07-27 17:29:19 -05:00
Allen Byrne
e205cb8266 Merge pull request #1155 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10.sync to hdf5_1_10.sync
* commit '5fce1be6466177903bf4e192e141b416f9c9a73d':
  Add missing file and remove deleted
2018-07-27 12:27:59 -05:00
Allen Byrne
5fce1be646 Add missing file and remove deleted 2018-07-27 12:07:40 -05:00
Allen Byrne
f9bfd5d9ad Merge pull request #1154 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10.sync to hdf5_1_10.sync
* commit '2c6dadbd132b02ecbe688f48ced3b0703ed1965d':
  Correct git synch error
  Add swmr tests, fix java script
  Update macros and cygwin flags
  Revert Sencode h5dump test
2018-07-27 10:56:17 -05:00
Allen Byrne
2c6dadbd13 Correct git synch error 2018-07-27 10:17:54 -05:00
Allen Byrne
732e996de7 Add swmr tests, fix java script 2018-07-27 10:06:33 -05:00
Allen Byrne
bb436dbc61 Update macros and cygwin flags 2018-07-27 09:58:11 -05:00
Allen Byrne
2c5c115a61 Revert Sencode h5dump test 2018-07-27 09:51:39 -05:00
Jordan Henderson
2b193845d2 RELEASE.txt updates for HDFFV-10467 and HDFFV-10509 2018-07-27 09:06:45 -05:00
Larry Knox
01016b1fec Update HDF5 examples to correct version. 2018-07-26 17:29:00 -05:00
Larry Knox
d3fedf9510 Correct a few typos. 2018-07-26 17:28:53 -05:00
Larry Knox
7de3caf110 Correct typo in comment in config/gnu-flags. 2018-07-26 17:28:46 -05:00
Larry Knox
bf76b30fb8 Update bine/release to create batch scripts and build-unix-sh, and to
put files in a subdirectory.
2018-07-26 17:28:31 -05:00
Larry Knox
ebdd92af19 Add missing '\' in the middle of the public headers list in Makefile.am. 2018-07-26 17:24:00 -05:00
Binh-Minh Ribler
677bcbdfc8 Fixed typos 2018-07-26 17:23:46 -05:00
Binh-Minh Ribler
0ebac51cd5 Entered entries for HDFFV-10150, HDFFV-10458, HDFFV-1047 2018-07-26 17:23:39 -05:00
Binh-Minh Ribler
cb1daac228 Updated for C2Cppfunction_map.htm 2018-07-26 17:23:32 -05:00
Binh-Minh Ribler
386b5f7bf8 Added class DSetAccPropList
Description:
    - Added class DSetAccPropList for the dataset access property list.
    - Added wrapper for H5Dget_access_plist to class DataSet
        // Gets the access property list of this dataset.
        DSetAccPropList getAccessPlist() const;

    - Added wrappers for H5Pset_chunk_cache and H5Pget_chunk_cache to class
      DSetAccPropList
        // Sets the raw data chunk cache parameters.
        void setChunkCache(size_t rdcc_nslots, size_t rdcc_nbytes, double rdcc_w0)

        // Retrieves the raw data chunk cache parameters.
        void getChunkCache(size_t &rdcc_nslots, size_t &rdcc_nbytes, double &rdcc_w0)

    - Added two more arguments to H5Location::createDataSet:
        const DSetAccPropList& dapl = DSetAccPropList::DEFAULT
        const LinkCreatPropList& lcpl = LinkCreatPropList::DEFAULT

    - Added one more argument to H5Location::openDataSet:
        const DSetAccPropList& dapl = DSetAccPropList::DEFAULT

Platforms tested:
    Linux/64 (jelly)
    Linux/32 (jam)
    Darwin (osx1010test)
2018-07-26 17:23:22 -05:00
Binh-Minh Ribler
df934cd665 Code improvement
Description:
    Moved the new H5Object::getInfo member functions to H5Location and
    made them overloaded with the existing H5Location::getObjinfo.  This
    way is cleaner than the previous approach.
Platforms tested:
    Linux/64 (jelly)
    Linux/32 (jam)
    Darwin (osx1010test)
2018-07-26 17:23:10 -05:00
Vailin Choi
56d1d200b8 Fix for HDFFV-9277: update the ainfo message after removing an attribute. 2018-07-26 17:23:01 -05:00
Larry Knox
c992df8d8f Add cmakehdf5 command line option to turn on shell script testing.
Option is on by default but can be disabled with --disable-shell-testing.
2018-07-26 17:22:52 -05:00
Larry Knox
35542e9de8 Apply Cygwin pathches from Marco Atzeri.
Commit Joe Lee's typo corrections for src/H5MF.c.
2018-07-26 17:22:09 -05:00
Binh-Minh Ribler
69c3bdc9e8 Fixed EED-319
Description:
    - Fixed doc issue
      Added an html version for the C++ function mapping table and removed
      the single web page version.
      Updated cpp_doc_config to use the html file.
    - Added a couple more minor tests
2018-07-26 17:20:42 -05:00
Binh-Minh Ribler
f9d2edc7ed Fixed HDFFV-10472
Description:
    Added operator!= to DataType
        bool operator!=(const DataType& compared_type)
Platforms tested:
    Linux/64 (jelly)
    Linux/32 (jam)
    Darwin (osx1010test)
2018-07-26 17:20:28 -05:00
Binh-Minh Ribler
622806b89d Fixed HDFFV-10458 partially
Description:
    Added wrappers for H5Oget_info_by_idx2.

    // Returns information about an HDF5 object, given its index.
    void getInfo(const char* grp_name, H5_index_t idx_type,
                 H5_iter_order_t order, hsize_t idx, H5O_info_t& objinfo,
                 unsigned fields = H5O_INFO_BASIC,
                 const LinkAccPropList& lapl = LinkAccPropList::DEFAULT)
    void getInfo(const H5std_string& grp_name, H5_index_t idx_type,
                 H5_iter_order_t order, hsize_t idx, H5O_info_t& objinfo,
                 unsigned fields = H5O_INFO_BASIC,
                 const LinkAccPropList& lapl = LinkAccPropList::DEFAULT)
Platforms tested:
    Linux/64 (jelly)
    Linux/32 (jam)
    Darwin (osx1010test)
2018-07-26 17:20:20 -05:00
Binh-Minh Ribler
edeac9f067 Fixed comments 2018-07-26 17:20:12 -05:00
Binh-Minh Ribler
f706bd0da1 Fixed HDFFV-10458 partially
Description:
    Added wrappers for H5Oget_info2 and H5Oget_info_by_name2.

    // Returns information about an HDF5 object.
    void getInfo(H5O_info_t& objinfo, unsigned fields = H5O_INFO_BASIC)

    // Returns information about an HDF5 object, given its name.
    void getInfo(const char* name, H5O_info_t& objinfo,
                 unsigned fields = H5O_INFO_BASIC,
                 const LinkAccPropList& lapl = LinkAccPropList::DEFAULT)
    void getInfo(const H5std_string& name, H5O_info_t& objinfo,
                 unsigned fields = H5O_INFO_BASIC,
                 const LinkAccPropList& lapl = LinkAccPropList::DEFAULT)
Platforms tested:
    Linux/64 (jelly)
    Linux/32 (jam)
    Darwin (osx1010test)
2018-07-26 17:20:04 -05:00
Binh-Minh Ribler
710771e713 Removed white space 2018-07-26 17:19:52 -05:00
Binh-Minh Ribler
992a199f90 Fixed HDFFV-10476, HDFFV-10478, HDFFV-10480
Description:
    Fixed potential out of bound read and NULL pointer dereferences.
Platforms tested:
    Linux/64 (jelly)
    Linux/32 (jam)
    Darwin (osx1010test)
2018-07-26 17:19:43 -05:00
Binh-Minh Ribler
08e71a98e9 Combined macro lines as Dana commented
Platforms tested:
    Linux/64 (jelly) (very minor)
2018-07-26 17:19:34 -05:00
Jerome Soumagne
81f4245a7c Fix evaluation of __has_attribute(no_sanitize_address) on older GCC versions 2018-07-26 17:19:24 -05:00
Binh-Minh Ribler
d0362ce438 Fixed division-by-zero issues
Description:
    Fixed HDFFV-10481 and HDFFV-10477, division by 0.
    Fixed another occurrence beside what were reported.
    Also, changed a local variable to avoid an unnecessary cast.
Platforms tested:
    Linux/64 (jelly)
    Linux/32 (jam)
    Darwin (osx1010test)
2018-07-26 17:19:11 -05:00
Binh-Minh Ribler
e57234b027 Fixed HDFFV-10404
Description:
    Applied the typo fixes from user's report.
    The previous pull request couldn't be merged because it was too old,
    and it was too complicated for me to resolve conflicts.
Platform tested:
    Linux/64 (jelly) - very minor
2018-07-26 17:19:03 -05:00
Jordan Henderson
3e510f48a2 Add note about single chunk caching and serial library 2018-07-26 17:18:56 -05:00
Jordan Henderson
c058e5eb7e Add check for actually using the MPI file driver when caching one chunk
Better explain rationale behind chunk caching issue fix
2018-07-26 17:18:46 -05:00
Jordan Henderson
21a5db8d98 Fix error message mentioning wrong MPI function used 2018-07-26 17:18:39 -05:00
Hyo-Kyung Lee
883f0a4eb8 HDFFV-10527:corrected two more typos. 2018-07-26 17:18:30 -05:00
Hyo-Kyung Lee
9e3ee40a3b HDFFV-10527:corrected typos in comment blocks. 2018-07-26 17:18:23 -05:00
Vailin Choi
c3f4af256a Changes based on feedback from pull request. 2018-07-26 17:18:13 -05:00
Larry Knox
076b77891a Vailin's fix for H5open fail when file doesn't have write permissions
for user in test_misc33().  The test file can be
opened read-only because the test doesn't write to it.
2018-07-26 17:17:36 -05:00
Vailin Choi
114a63a258 Fix test_misc33() in test/tmisc.c
Open the test file read-only so that it can be accessed for testing.
2018-07-26 17:17:12 -05:00
Vailin Choi
d79475c482 Modifications made based on feedback from pull request. 2018-07-26 17:17:03 -05:00
Vailin Choi
78d4fbddbd Fix for HDFFV-10333:
1) Check for valid object header version for a refcount messge
2) Check for invalid fill value size
3) Check for invalid dimension size in a layout message
4) Add --enable-error-stack option to h5stat
5) Add error checks to h5stat.c
6) Add tests to h5stat and h5dump
2018-07-26 17:16:50 -05:00
Hyo-Kyung Lee
256f74f532 fixed typo. 2018-07-26 17:16:43 -05:00
Jordan Henderson
f42c00b5ec Fix for HDFFV-10509 2018-07-26 17:16:32 -05:00
Jerome Soumagne
1268499234 Fix H5detect to use no_sanitize_address attribute and support GCC sanitizers 2018-07-26 17:16:15 -05:00
Scot Breitenfeld
44080eeabd Merge pull request #1153 in HDFFV/hdf5 from hdf5_1_10.revert to hdf5_1_10
* commit '4eccacf11cded8605f9bf1761e22945caffe76f9':
  Revert "Merge pull request #1149 in HDFFV/hdf5 from hdf5_1_10.sync to hdf5_1_10"
2018-07-26 10:46:03 -05:00
M. Scot Breitenfeld
4eccacf11c Revert "Merge pull request #1149 in HDFFV/hdf5 from hdf5_1_10.sync to hdf5_1_10"
This reverts commit d99570506c, reversing
changes made to 792b3352b9.
2018-07-26 10:38:36 -05:00
Scot Breitenfeld
d99570506c Merge pull request #1149 in HDFFV/hdf5 from hdf5_1_10.sync to hdf5_1_10
* commit 'fe8d5bcb7aebbade60c8f128758c2c37c6799040': (74 commits)
  Update HDF5 examples to correct version.
  Correct a few typos.
  Correct typo in comment in config/gnu-flags.
  Update bine/release to create batch scripts and build-unix-sh, and to put files in a subdirectory.
  misc. fixed version paths
  misc. versioning fixes
  Fixed versioning
  Add missing '\' in the middle of the public headers list in Makefile.am.
  Fixed typos
  Entered entries for HDFFV-10150, HDFFV-10458, HDFFV-1047
  Updated for C2Cppfunction_map.htm
  Added class DSetAccPropList Description:     - Added class DSetAccPropList for the dataset access property list.     - Added wrapper for H5Dget_access_plist to class DataSet         // Gets the access property list of this dataset.         DSetAccPropList getAccessPlist() const;
  Code improvement Description:     Moved the new H5Object::getInfo member functions to H5Location and     made them overloaded with the existing H5Location::getObjinfo.  This     way is cleaner than the previous approach. Platforms tested:     Linux/64 (jelly)     Linux/32 (jam)     Darwin (osx1010test)
  Fix for HDFFV-9277: update the ainfo message after removing an attribute.
  Add cmakehdf5 command line option to turn on shell script testing. Option is on by default but can be disabled with --disable-shell-testing.
  Apply Cygwin pathches from Marco Atzeri. Commit Joe Lee's typo corrections for src/H5MF.c.
  Adjust error handling
  TRILABS-137 Convert tcheck_version script to cmake tests
  Fixed EED-319 Description:     - Fixed doc issue       Added an html version for the C++ function mapping table and removed       the single web page version.       Updated cpp_doc_config to use the html file.     - Added a couple more minor tests
  ifdef around std flag for cygwin
  ...
2018-07-24 17:02:07 -05:00
M. Scot Breitenfeld
fe8d5bcb7a Merge branch 'develop' into hdf5_1_10.sync 2018-07-24 17:00:26 -05:00
M. Scot Breitenfeld
03fe2e65e0 misc. fixed version paths 2018-07-24 13:13:14 -05:00
M. Scot Breitenfeld
cd3362b696 misc. versioning fixes 2018-07-24 12:52:37 -05:00
M. Scot Breitenfeld
73aa776893 Fixed versioning 2018-07-24 12:30:48 -05:00
M. Scot Breitenfeld
8a24e84ac8 Merge branch 'develop' into hdf5_1_10 2018-07-24 11:51:19 -05:00
Allen Byrne
792b3352b9 Merge pull request #1124 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit 'c0dfec8913497d62cf1ab7e13e62e3fe55d6e859':
  HDFFV-10519 Disable WriteVL JNI function, updgrade JNI
2018-06-29 11:17:57 -05:00
Allen Byrne
c0dfec8913 HDFFV-10519 Disable WriteVL JNI function, updgrade JNI 2018-06-29 09:57:47 -05:00
Allen Byrne
2e0b958196 Merge pull request #1121 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '7636342d959bfd3d023345bac76650932961d843':
  Push updates from develop
2018-06-26 13:47:36 -05:00
Allen Byrne
7636342d95 Push updates from develop 2018-06-26 09:35:07 -05:00
hdftest
f89bdb7753 Merge pull request #1118 in HDFFV/hdf5 from ~HDFTEST/hdf5_hft:hdf5_1_10 to hdf5_1_10
* commit '25f80cbbec3a7d8036325784168b029cb71cc813':
  Snapshot version 1.10 release 3 (snap3)
2018-06-24 18:37:59 -05:00
Larry Knox
2ad049a641 Merge pull request #1045 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:1.10/master to 1.10/master
* commit 'cc2eea14f6a6532a201dde13af13353d4d73fd92': (1014 commits)
  Commit release date changes.
  Fix typo in INSTALL_Cygwin.txt
  Update references and merge from 1_10
  Corrected email address
  Commit Barbara's INSTALL* file updates.
  Commit Elena's RELEASE.txt edits and Les'/Lori's README.txt revision.
  ommit Elena's RELEASE.txt edits and Les'/Lori's README.txt revision.
  Remove stray '/'.
  Add subdirectory for CMake-HDF5-1.10.2.zip.
  Correct name of hl compile script
  Add directory in release CMake...tar.gz file.
  Minor edits in RELEASE.txt. Set version for HDF5 1.10.2 release.
  release branch should not generate headers
  Switch default build mode to production. Set version to 1.10.2-pre2..
  HDFF5-1.10.2-pre1 releaseed. Add links for security bug fixes to RELEASE.txt.
  Fix VS2017 binary readme
  Couple fixes to the test routine for HDFFV-10425.
  Add test and release info for the fix to HDFFV-10425 test failure with H5DOwrite_chunk.
  Updated RELEASE.txt
  Remove known probelem that was fixed.
  ...
2018-05-04 16:37:14 -05:00
lrknox
cc2eea14f6 Merge tag 'hdf5-1_10_2' into 1.10/master.
Tag revisions for HDF5 1.10.2 release

Commit HDF5 1.10.2 release versions.
2018-05-04 16:18:29 -05:00
Larry Knox
bd0de17250 Merge pull request #1014 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_2 to hdf5_1_10_2
* commit '80a3106f50a0e77ad88ea9e56a329ad35f54d3be':
  Commit release date changes.
2018-03-30 13:39:45 -05:00
lrknox
80a3106f50 Commit release date changes. 2018-03-30 13:33:33 -05:00
Larry Knox
9a24df9cbe Merge pull request #1012 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_2 to hdf5_1_10_2
* commit 'e71f21692cb8dffe8b9a1a5fbdeee7fc7d7196fc':
  Fix typo in INSTALL_Cygwin.txt
2018-03-29 14:14:42 -05:00
lrknox
e71f21692c Fix typo in INSTALL_Cygwin.txt 2018-03-29 14:12:52 -05:00
Allen Byrne
c465166dc7 Merge pull request #1011 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10_2 to hdf5_1_10_2
* commit '098f7c630ce9a5fc0e705b757c11a912b149d909':
  Update references and merge from 1_10
2018-03-29 13:28:06 -05:00
Allen Byrne
098f7c630c Update references and merge from 1_10 2018-03-29 13:26:07 -05:00
Larry Knox
3c74cd9344 Merge pull request #1005 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_2 to hdf5_1_10_2
* commit '7d7dec8d9cc75f673a5a68d371ee63a0a472db49':
  Commit Barbara's INSTALL* file updates.
  Commit Elena's RELEASE.txt edits and Les'/Lori's README.txt revision.
  ommit Elena's RELEASE.txt edits and Les'/Lori's README.txt revision.
  Remove stray '/'.
  Add subdirectory for CMake-HDF5-1.10.2.zip.
2018-03-29 13:20:28 -05:00
L Kurz
e991bac4ed Corrected email address 2018-03-29 12:43:48 -05:00
lrknox
7d7dec8d9c Commit Barbara's INSTALL* file updates. 2018-03-29 12:13:22 -05:00
lrknox
80d9d15f6c Merge branch 'hdf5_1_10_2' of https://bitbucket.hdfgroup.org/scm/~lrknox/hdf5_lrk into hdf5_1_10_2 2018-03-29 07:22:01 -05:00
lrknox
1c1518c1d6 Commit Elena's RELEASE.txt edits and Les'/Lori's README.txt revision. 2018-03-29 07:21:19 -05:00
lrknox
45a8150280 ommit Elena's RELEASE.txt edits and Les'/Lori's README.txt revision. 2018-03-29 07:18:31 -05:00
lrknox
e809ca0c37 Remove stray '/'. 2018-03-28 15:42:00 -05:00
lrknox
bb6ec64dd4 Add subdirectory for CMake-HDF5-1.10.2.zip. 2018-03-28 15:39:10 -05:00
Allen Byrne
b7c79b2328 Merge pull request #1004 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10_2 to hdf5_1_10_2
* commit 'de2ac60668fd2bbc235e0f8b8585466d7a0aeb3a':
  Correct name of hl compile script
2018-03-28 15:06:47 -05:00
Allen Byrne
de2ac60668 Correct name of hl compile script 2018-03-28 12:30:33 -05:00
Larry Knox
9aee7ef0a2 Merge pull request #1000 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_2 to hdf5_1_10_2
* commit '0f210c2c33a22c2fb78d95b63942af5b4cc9a168':
  Add directory in release CMake...tar.gz file.
  Minor edits in RELEASE.txt. Set version for HDF5 1.10.2 release.
2018-03-27 21:14:32 -05:00
lrknox
0f210c2c33 Add directory in release CMake...tar.gz file. 2018-03-27 21:11:21 -05:00
lrknox
72f870cacc Minor edits in RELEASE.txt.
Set version for HDF5 1.10.2 release.
2018-03-27 16:53:40 -05:00
Allen Byrne
b245b00b03 Merge pull request #997 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10_2 to hdf5_1_10_2
* commit '5fe0e13d86c16e35f1a47ec9af1d2c7ccbbe9072':
  release branch should not generate headers
2018-03-27 08:43:34 -05:00
Allen Byrne
5fe0e13d86 release branch should not generate headers 2018-03-27 08:30:15 -05:00
Larry Knox
18b7cafcd9 Merge pull request #996 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_2 to hdf5_1_10_2
* commit '2cecea8f06b46f5d694db618e693fc28ed67094c':
  Switch default build mode to production. Set version to 1.10.2-pre2..
  HDFF5-1.10.2-pre1 releaseed. Add links for security bug fixes to RELEASE.txt.
2018-03-23 23:01:51 -05:00
lrknox
2cecea8f06 Switch default build mode to production.
Set version to 1.10.2-pre2..
2018-03-23 22:53:41 -05:00
lrknox
b796ab599a Merge branch 'hdf5_1_10_2' of https://bitbucket.hdfgroup.org/scm/~lrknox/hdf5_lrk into hdf5_1_10_2 2018-03-23 22:34:07 -05:00
lrknox
0662cd64e7 HDFF5-1.10.2-pre1 releaseed.
Add links for security bug fixes to RELEASE.txt.
2018-03-23 22:31:56 -05:00
Allen Byrne
19c7bcfb5c Merge pull request #995 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10_2 to hdf5_1_10_2
* commit '43243f15fb36b220bc60a165847bc29e42b9c960':
  Fix VS2017 binary readme
2018-03-23 12:37:58 -05:00
Allen Byrne
43243f15fb Fix VS2017 binary readme 2018-03-23 12:18:17 -05:00
Larry Knox
ef5ad2b431 Merge pull request #989 in HDFFV/hdf5 from develop to hdf5_1_10_2
* commit 'e79f9a73feb1b18c52a1608336aff612d2732d5b':
  Couple fixes to the test routine for HDFFV-10425.
  Add test and release info for the fix to HDFFV-10425 test failure with H5DOwrite_chunk.
2018-03-21 16:09:39 -05:00
Larry Knox
1ad2a6f052 Merge pull request #986 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_2 to hdf5_1_10_2
* commit '8c5b32ed41ebfc69d9df07d71c8e11bf660ed0a7':
  Updated RELEASE.txt
2018-03-20 16:38:51 -05:00
lrknox
8c5b32ed41 Merge branch 'hdf5_1_10_2' of https://bitbucket.hdfgroup.org/scm/~derobins/hdf5_der into hdf5_1_10_2 2018-03-20 16:36:54 -05:00
Larry Knox
a6281daae2 Merge pull request #982 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_2 to hdf5_1_10_2
* commit 'f30b6593e252f7593e476e6d4c2f6cd8428b8fae':
  Remove known probelem that was fixed.
  Update bin/release. Remove some unused sections in RELEASE.txt.
2018-03-20 16:28:56 -05:00
Larry Knox
dab7074f5a Merge pull request #984 in HDFFV/hdf5 from develop to hdf5_1_10_2
* commit '6a1627f2967099039e11b9e86cf347f6482bdf3c':
  Fix for HDFFV-10425 test failure with H5DOwrite_chunk and latest format
2018-03-20 16:28:30 -05:00
Dana Robinson
5ef708ad2d Merge branch 'hdf5_1_10_2' of https://bitbucket.hdfgroup.org/scm/~derobins/hdf5_der into hdf5_1_10_2 2018-03-20 14:06:34 -07:00
Dana Robinson
8231dfe3fb Updated RELEASE.txt 2018-03-20 14:02:00 -07:00
lrknox
f30b6593e2 Remove known probelem that was fixed. 2018-03-20 15:50:26 -05:00
lrknox
7152ad227e Update bin/release.
Remove some unused sections in RELEASE.txt.
2018-03-20 13:45:00 -05:00
Larry Knox
3947ec1996 Merge pull request #979 in HDFFV/hdf5 from develop to hdf5_1_10_2
* commit '0a7ae62dca4b33cbda87df41ff60bfe359f52444':
  Fix date.
  Correct the date in RELEASE.txt for H5DOread_chunk.
  Add release info for H5DOread_chunk.
2018-03-19 17:25:13 -05:00
M. Scot Breitenfeld
a446019b74 added to known issues, H5DOwrite_chunk 2018-03-19 16:07:59 -05:00
Larry Knox
24013c1ada Merge pull request #976 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_2 to hdf5_1_10_2
* commit 'ac6d811800eff708f821e2dbd1019a78a201c9ac':
  Update Introduction. Add OpenMPI known problem
  Remove empty sections and clean up entries in RELEASE.txt.
2018-03-19 15:46:35 -05:00
lrknox
ac6d811800 Update Introduction.
Add OpenMPI known problem
2018-03-19 15:12:19 -05:00
lrknox
ab628408ab Merge branch 'hdf5_1_10_2' of https://bitbucket.hdfgroup.org/scm/~lrknox/hdf5_lrk into hdf5_1_10_2 2018-03-19 09:35:06 -05:00
lrknox
35fb2d7fb7 Remove empty sections and clean up entries in RELEASE.txt. 2018-03-19 09:33:59 -05:00
Larry Knox
cec9a1c52d Merge pull request #975 in HDFFV/hdf5 from develop to hdf5_1_10_2
* commit '2f0566208ed0e5b654e619df6f9d7ebee16a0bd4':
  Updated RELEASE.txt Description:     Wrappers for H5Tencode and H5Tdecode     No code change.
  Fixed HDFFV-10151 Description:     Added a document to the HDF5 C++ API Reference Manual to show the     mapping from a C API to C++ wrappers.
  Fix memory leak simply by capturing allocation in var
  Change max value
  Chnage values so test will fail when new latest is added
  Exception changed
  Exception type changed
  Correct constant var names
  Java constants for new lib verbounds values
2018-03-18 16:59:39 -05:00
Larry Knox
8350a625aa Merge pull request #974 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_2 to hdf5_1_10_2
* commit 'f205b5787043e3c96805738d763ed9695939aecf':
  bin/release:  Add hdf5-examples.tar.gz for CMake tar and zipt files. release_docs/RELEASE.txt:  Update platforms supported and tested.
2018-03-18 16:56:43 -05:00
lrknox
f205b57870 Merge branch 'hdf5_1_10_2' of https://bitbucket.hdfgroup.org/scm/~lrknox/hdf5_lrk into hdf5_1_10_2 2018-03-18 16:52:53 -05:00
lrknox
1c6b487f81 bin/release: Add hdf5-examples.tar.gz for CMake tar and zipt files.
release_docs/RELEASE.txt:  Update platforms supported and tested.
2018-03-18 16:42:54 -05:00
M. Scot Breitenfeld
e704035d04 updated Fixed Fortran related JIRA issues 2018-03-16 11:54:56 -05:00
Allen Byrne
82e7960d10 Merge pull request #971 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10_2 to hdf5_1_10_2
* commit 'adac6e19b3db404b5c717a4f0f05dcc33da36cc4':
  Update JNI for lib ver bounds changes
2018-03-15 16:31:33 -05:00
Larry Knox
6bf80dbd67 Merge pull request #970 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_2 to hdf5_1_10_2
* commit '76dc40e3128b96b74fb67eee2e7aa5e732315990':
  Switch maintainer_mode off (disabled). Commit files generated by autogen.sh script for the release branch.
2018-03-15 16:30:19 -05:00
Allen Byrne
adac6e19b3 Update JNI for lib ver bounds changes 2018-03-15 15:51:35 -05:00
lrknox
76dc40e312 Switch maintainer_mode off (disabled).
Commit files generated by autogen.sh script for the release branch.
2018-03-15 14:42:28 -05:00
Larry Knox
4177e5ab96 Merge pull request #966 in HDFFV/hdf5 from develop to hdf5_1_10_2
* commit '02a9433fa0aac34ae81ab5f0d5b97a7934881215':
  Add 2 parallel test files to CHECK-CLEANFILES so that if their tests fail before removing them, make check-clean will remove them.
  Fixed memory leak Description:     Added LinkCreatPropList to initH5cpp to cleaning up resource at exit. Platforms tested:     Linux/64 (jelly)     Linux/ppc64 (ostrich)
  HDFFV-10412 add note for new H5error_on Java API
2018-03-15 13:08:09 -05:00
Larry Knox
d229a2b559 Merge pull request #963 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_2 to hdf5_1_10_2
* commit 'ae26f655387bea73e8333765f83c0bc970696065':
  Increment library version information for so numbers in lt_vers.am according to code and interface changes from interface compatibility report and manual checking.
2018-03-15 11:30:02 -05:00
lrknox
ae26f65538 Merge branch 'hdf5_1_10_2' of https://bitbucket.hdfgroup.org/scm/~lrknox/hdf5_lrk into hdf5_1_10_2 2018-03-15 10:20:56 -05:00
lrknox
361b6095aa Increment library version information for so numbers in lt_vers.am
according to code and interface changes from interface compatibility
report and manual checking.
2018-03-15 10:16:28 -05:00
Larry Knox
ee5aaf4ca0 Merge pull request #959 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_2 to hdf5_1_10_2
* commit '711ab43a881ebb29c3697bf4cecbc1643d5903a1':
  Set version to 1.10.2-pre1.
2018-03-14 16:48:50 -05:00
lrknox
711ab43a88 Set version to 1.10.2-pre1. 2018-03-14 16:06:25 -05:00
Larry Knox
5f702f40b7 Merge pull request #484 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_1 to hdf5_1_10_1
* commit '184fc09bf7f429790fb2457999c469c80e47f5b9':
  Commit release version changes. Add CMake-$version directory in CMake source files produced by bin/release.
2017-05-03 10:31:39 -05:00
lrknox
184fc09bf7 Commit release version changes.
Add CMake-$version directory in CMake source files produced by
bin/release.
2017-05-02 11:37:46 -05:00
Larry Knox
758a2585cf Merge pull request #476 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_1 to hdf5_1_10_1
* commit '9f6640afd48a9d03ff2fd44c050c64d45dc0816e':
  More edits to Supported Platforms section of RELEASE.txt.
  Final edits to RELEASE.txt and to correctly remove a test directory and test file.
2017-04-26 15:40:30 -05:00
lrknox
9f6640afd4 More edits to Supported Platforms section of RELEASE.txt. 2017-04-26 15:37:47 -05:00
lrknox
4531025873 Final edits to RELEASE.txt and to correctly remove a test directory and
test file.
2017-04-26 15:00:08 -05:00
Binh-Minh Ribler
96015eb38b Merge pull request #474 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_1_10_1:hdf5_1_10_1 to hdf5_1_10_1
* commit 'ed01c3ec1cea922aa9f2d2b0ede2ca317e04fcd7':
  Documentation clean-up Description:     - Rearranged public/non-public functions relative to the       DOXYGEN_SHOULD_SKIP_THIS blocks to display them correctly in the RM     - Moved internal comments outside of the \brief blocks so they will       not be displayed in the RM     - Updated RELEASE.txt about the changes in PR#466 Platforms tested:     Verified document on Windows 10.     Linux/64 (platypus)     Darwin (osx1010test)
2017-04-26 09:14:29 -05:00
Binh-Minh Ribler
ed01c3ec1c Merge branch 'hdf5_1_10_1' of https://bitbucket.hdfgroup.org/scm/~bmribler/hdf5_bmr_1_10_1 into hdf5_1_10_1 2017-04-26 00:12:47 -05:00
Binh-Minh Ribler
89f9d69d8d Documentation clean-up
Description:
    - Rearranged public/non-public functions relative to the
      DOXYGEN_SHOULD_SKIP_THIS blocks to display them correctly in the RM
    - Moved internal comments outside of the \brief blocks so they will
      not be displayed in the RM
    - Updated RELEASE.txt about the changes in PR#466
Platforms tested:
    Verified document on Windows 10.
    Linux/64 (platypus)
    Darwin (osx1010test)
2017-04-26 00:10:24 -05:00
Larry Knox
4cf96df250 Merge pull request #472 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_1 to hdf5_1_10_1
* commit '4a425eabc70cf5236afc41c2e56d4a57cc7c536e':
  Commit version change to 1.10.1 and changes to Makfile.ins and other files generated by running autogen.sh.
2017-04-25 17:09:50 -05:00
lrknox
4a425eabc7 Commit version change to 1.10.1 and changes to Makfile.ins and other
files generated by running autogen.sh.
2017-04-25 17:04:38 -05:00
Allen Byrne
ce5637c6f1 Merge pull request #471 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10_1 to hdf5_1_10_1
* commit 'c0602ab77f4bac2616604feeaf83f954126337be':
  Merge 1_10 branch to 1_10_1 HDFV10170 dyn lib changes Plugin API changes
2017-04-25 16:54:18 -05:00
Allen Byrne
c0602ab77f Merge 1_10 branch to 1_10_1
HDFV10170 dyn lib changes
Plugin API changes
2017-04-25 16:50:19 -05:00
Binh-Minh Ribler
ed39ad3842 Merge pull request #466 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_1_10_1:hdf5_1_10_1 to hdf5_1_10_1
* commit '4bc55bbf94d7fce7521b2efd766f677ca45c9ecc':
  Code clean-up. Description:     - Removed function prototypes left in by mistake     - Moved H5Location::getNumObjs() to class Group because the C       function in this wrapper only takes a group or file id.     - Moved H5Object::getNumAttrs to H5Location because the C function       in this wrapper can also take an attribute id.     - Misc improvements in comments Platforms tested:     Linux/32 2.6 (jam)     Linux/64 (platypus)     Darwin (osx1010test)
2017-04-25 16:04:56 -05:00
Binh-Minh Ribler
4bc55bbf94 Code clean-up.
Description:
    - Removed function prototypes left in by mistake
    - Moved H5Location::getNumObjs() to class Group because the C
      function in this wrapper only takes a group or file id.
    - Moved H5Object::getNumAttrs to H5Location because the C function
      in this wrapper can also take an attribute id.
    - Misc improvements in comments
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2017-04-25 14:00:17 -05:00
Vailin Choi
432435b158 Merge pull request #463 in HDFFV/hdf5 from ~VCHOI/my_hdf5_fork:hdf5_1_10_1 to hdf5_1_10_1
* commit '89483c19461623b77319a83ec0c6609e0e5f37a8':
  Fix for HDFFV-10166 h5watch tests fail randomly to match expected output files (1) Re-structure tests to do one "extend" action at a time (2) Re-try test till max limit before final failure
2017-04-24 18:41:26 -05:00
Vailin Choi
89483c1946 Fix for HDFFV-10166 h5watch tests fail randomly to match expected output files
(1) Re-structure tests to do one "extend" action at a time
(2) Re-try test till max limit before final failure
2017-04-24 18:34:29 -05:00
Vailin Choi
9456b63656 Merge pull request #462 in HDFFV/hdf5 from ~VCHOI/my_hdf5_fork:hdf5_1_10_1 to hdf5_1_10_1
* commit '0f9c0a31645ddc58ec7fc92c344bae9c04f13ebf':
  Modifications based on review comments from pull request. Made changes according to review comments and discussion with Allen.
  Fix for DAILYTEST-259 h5clear test failure Deposit the test files in test/misc/testfiles for testh5clear.sh to use instead of depending on h5clear_gentest. Tested on kituo, osx1010test, quail, platypus and ostrich.
2017-04-24 18:32:35 -05:00
Vailin Choi
0f9c0a3164 Modifications based on review comments from pull request.
Made changes according to review comments and discussion with Allen.
2017-04-24 17:55:02 -05:00
Vailin Choi
38e1b5980a Fix for DAILYTEST-259 h5clear test failure
Deposit the test files in test/misc/testfiles for testh5clear.sh to use instead of depending on h5clear_gentest.
Tested on kituo, osx1010test, quail, platypus and ostrich.
2017-04-24 17:54:26 -05:00
Dana Robinson
86dacce61f Merge pull request #458 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:hdf5_1_10_1 to hdf5_1_10_1
* commit '435214cb555725d3690826caeb7c255057b9f09a':
  Fixed problems that prevent bin/trace from marking up some functions.
  The cache_image test shows a skipped message about EoC in parallel.
  Added code to disable the evict-on-close feature in the parallel library.
2017-04-24 16:57:07 -05:00
Dana Robinson
435214cb55 Fixed problems that prevent bin/trace from marking up some functions. 2017-04-24 17:08:13 -04:00
Dana Robinson
0f01ad3845 The cache_image test shows a skipped message about EoC in parallel. 2017-04-24 15:35:30 -04:00
Dana Robinson
b68ad86224 Added code to disable the evict-on-close feature in
the parallel library.
2017-04-24 15:35:08 -04:00
Larry Knox
b4f7874311 Merge pull request #433 in HDFFV/hdf5 from ~MAMCGREE/hdf5_mamcgree:hdf5_1_10_1 to hdf5_1_10_1
* commit 'ee714ed9444eb6b651629a500b2b5c0d42ef5d1b':
  Remove duplicate entries, add missing entries, and misc. formatting in RELEASE.txt
2017-04-21 15:28:04 -05:00
Larry Knox
016064017c Merge pull request #442 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_1 to hdf5_1_10_1
* commit '4d024142658d1c94a0a5f6b8b95778ecfd3291a9':
  Commit changes to files generated by running autogen.sh.
2017-04-21 15:27:35 -05:00
lrknox
4d02414265 Commit changes to files generated by running autogen.sh. 2017-04-18 23:13:43 -05:00
Larry Knox
cc17070e1e Merge pull request #441 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10_1 to hdf5_1_10_1
* commit 'a036a68ae36dd8f5a60ca0b10bdb025495847e39':
  Add LDFLAGS for plugin libs
  Reformat char * args
  HDFFV-10170 undo patch
  LDFLAGS module forces .so lib to be built on osx instead of .dylib
  Update tool dyn lib
2017-04-18 23:06:38 -05:00
Allen Byrne
a036a68ae3 Add LDFLAGS for plugin libs 2017-04-18 17:03:54 -05:00
Scot Breitenfeld
8bcafb345e Merge pull request #440 in HDFFV/hdf5 from ~BRTNFLD/hdf5_msb:hdf5_1_10_1 to hdf5_1_10_1
* commit 'b834c100729d450e0c466c2044c3f0658b1979e6':
  added point to build script repo.
2017-04-18 17:00:29 -05:00
Allen Byrne
199e5ce781 Reformat char * args 2017-04-18 16:59:02 -05:00
Allen Byrne
16346d97fa HDFFV-10170 undo patch 2017-04-18 16:56:17 -05:00
Allen Byrne
e710ee4ea2 LDFLAGS module forces .so lib to be built on osx instead of .dylib 2017-04-18 16:54:29 -05:00
Allen Byrne
d7d2540ac1 Update tool dyn lib 2017-04-18 16:52:40 -05:00
M. Scot Breitenfeld
b834c10072 added point to build script repo. 2017-04-18 16:29:26 -05:00
Mike McGreevy
ee714ed944 Remove duplicate entries, add missing entries, and misc. formatting in RELEASE.txt 2017-04-18 09:08:56 -05:00
Larry Knox
216dcd6d30 Merge pull request #432 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10_1 to hdf5_1_10_1
* commit '66092af9dd3ff3d5169ca4ccf60e9272a813c10d':
  HDFFV-10170 fix noinst libs and HDFFV-10173 fix VS2008 build
2017-04-17 16:41:37 -05:00
Allen Byrne
66092af9dd HDFFV-10170 fix noinst libs and HDFFV-10173 fix VS2008 build 2017-04-17 16:35:47 -05:00
Larry Knox
d33067792c Merge pull request #428 in HDFFV/hdf5 from ~MAINZER/hdf5_1.10.1_jrm:hdf5_1_10_1 to hdf5_1_10_1
* commit 'c953358666e842cada6879a2dbb3d724e9c90690':
  Expanded slightly on the RELEASE.txt entry for HDFFV-10055.
2017-04-17 14:31:43 -05:00
Larry Knox
fc1bd8c884 Merge pull request #429 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_1 to hdf5_1_10_1
* commit 'd39deb8b323c95e2fba1a453c78ea31759eb4ce9':
  Updated Copyright header in H5PLpkg.h.
  Update version to 1.10.1-pre3.
  Commit version changes in README.txt and RELEASE.txt for 1.10.1-pre2 release.
2017-04-17 14:31:14 -05:00
lrknox
d39deb8b32 Updated Copyright header in H5PLpkg.h. 2017-04-17 12:10:03 -05:00
lrknox
fa7fd322d9 Update version to 1.10.1-pre3. 2017-04-17 11:54:56 -05:00
mainzer
c953358666 Expanded slightly on the RELEASE.txt entry for HDFFV-10055. 2017-04-17 03:01:47 -05:00
lrknox
cb9b9f0f7c Commit version changes in README.txt and RELEASE.txt for 1.10.1-pre2 release. 2017-04-13 13:27:09 -05:00
Larry Knox
ae32f505e0 Merge pull request #423 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_1 to hdf5_1_10_1
* commit '32e706e2cc1cb73cc6cacf78e9174b7afa5e5430':
  Add new files in release_docs to MANIFEST. Cimmit changes to Makefile.in(s) and H5PL.c that resulted from running autogen.sh.
  Skip tests for page buffering in test/fheap.c for parallel build Skip the two tests for page buffering in test/fheap.c because this feature is disabled in parallel. Activate full testing when this feature is re-enabled in the future for parallel build.
  Due to HDFVIEW-19 add read VL as string function
2017-04-13 13:07:56 -05:00
lrknox
32e706e2cc Merge branch 'develop' into hdf5_1_10_1 2017-04-13 12:42:27 -05:00
lrknox
c96423b643 Add new files in release_docs to MANIFEST.
Cimmit changes to Makefile.in(s) and H5PL.c that resulted from running
autogen.sh.
2017-04-13 12:33:45 -05:00
Larry Knox
fca6ea1fc4 Merge pull request #419 in HDFFV/hdf5 from develop to hdf5_1_10_1
* commit 'f574d627d8122c6ac7dcc16c9fd0d04cf97b6b67':
  updated with README changes
  Combined the README_DEVEL and README, and removed out-dated README material
2017-04-12 11:12:23 -05:00
Larry Knox
0ed4b80ed9 Merge pull request #417 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_1 to hdf5_1_10_1
* commit 'f83622042a8a6271dd502194867c00e8a89ec9fc': (34 commits)
  Add 1.8 complete HISTORY file.
  Add history files from 1.10.0 release.
  Fix URL name
  DAILYTEST-250 change test props to reduce timeout
  Fix for H5Dset_extent test failure with extensive array indexing (HDFFV-9771) 1) Calculate chunk index for extensive array index based on swizzled max chunks when unlim_dim > 0 2) Minor fixes to test/fheap.c that somehow were missed from last check in.  See pull request #396 review comments.
  Removed commeted out code from H5C_dump_coll_write_list()
  Checkin of fix for CGNS bug (https://jira.hdfgroup.org/browse/HDFFV-10055).
  HDFFV-10143 add missing javadoc param
  Add missing test status
  Fix CMake regex commands
  Modify test/fheap.c to run with various file space strategies and/or page buffering Modify test/fheap.c to run with different combinations of file space strategies and page buffering only when ExpressMode is 0 (HDF5TestExpress is 0). Tested on ostrich, platypus, mayll, emu, osx1010test, quail, kite, kituo.
  Updated the H5L.c error message after additional thought. Fix for HDFFV-10141.
  Updated an error message in H5L.c to be more helpful. Fixes HDFFV-10141.
  Re-enabled fixed array index testing in the test_random_rank4_vl() test in test/set_extent. This was fixed some time ago, but the test was never re-enabled for that index type.
  Fix typo deletion
  HDFFV-10143 Update new feature section.
  HDFFV-10143 clean up format and function return
  HDFFV-10143 Add plugin APIs to Java interface
  Update with checks for index bounds
  Update tools issues
  ...
2017-04-12 10:54:28 -05:00
lrknox
f83622042a Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~lrknox/hdf5_lrk into hdf5_1_10_1 2017-04-12 10:44:47 -05:00
lrknox
7347da3187 Add 1.8 complete HISTORY file. 2017-04-12 10:26:28 -05:00
lrknox
cf434b1f62 Merge branch 'hdf5_1_10_1' of https://bitbucket.hdfgroup.org/scm/~lrknox/hdf5_lrk into hdf5_1_10_1 2017-04-12 09:33:20 -05:00
lrknox
29f8482074 Add history files from 1.10.0 release. 2017-04-12 09:31:11 -05:00
Larry Knox
7c2555058a Merge pull request #415 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_1 to hdf5_1_10_1
* commit '9c661e3589c1e5f20601e6388bdfc996ed2ebbd7':
  Update text in COPYING files in subdirectories to match changes to copyright notices in source files. Update Copyright notices in acsite.m4 and bin/yodconfigure that were overlooked by chkcopyright. Remove broken and unnecessary urls from comments in hl/fortran/src/H5IMcc.c and hl/src/H5IM.c.
2017-04-11 21:59:10 -05:00
John Mainzer
a7abe4d0f3 Merge pull request #414 in HDFFV/hdf5 from ~MAINZER/hdf5_1.10.1_jrm:hdf5_1_10_1 to hdf5_1_10_1
* commit 'bfb1e380be4c0acf4c6f05e3a2ae86d161b1e788':
  Added mentions of major limitations to discussions of new features
2017-04-11 17:18:02 -05:00
mainzer
bfb1e380be Added mentions of major limitations to discussions of new features
Added mention of fix for HDFFV-10055

Reformated discussion of new features to maintain an 80 character line limit.
2017-04-11 16:01:45 -05:00
lrknox
9c661e3589 Update text in COPYING files in subdirectories to match changes to
copyright notices in source files.
Update Copyright notices in acsite.m4 and bin/yodconfigure that were
overlooked by chkcopyright.
Remove broken and unnecessary urls from comments in
hl/fortran/src/H5IMcc.c and hl/src/H5IM.c.
2017-04-11 15:40:12 -05:00
Larry Knox
7d7329a2e5 Merge pull request #407 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_1 to hdf5_1_10_1
* commit '0d05cb607e5951f3a28a101be56ca194022a7fa1':
  Reverted addition of The HDF Group copyright headers to 3rd party CMake files for Java.
  Add Copyright headers to 90 files (mostly .cmake files) without Copyright headers.
  Add "Copyright by The HDF Group."" to copyright header.
2017-04-08 23:43:02 -05:00
Dana Robinson
0317928865 Merge pull request #406 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:hdf5_1_10_1 to hdf5_1_10_1
* commit 'b605f4817cdce719aae1f742cb2b256bda401508':
  Updated RELEASE.txt with my changes for the 1.10.1 release.
2017-04-07 12:01:24 -05:00
lrknox
0d05cb607e Reverted addition of The HDF Group copyright headers to 3rd party CMake
files for Java.
2017-04-07 11:59:06 -05:00
lrknox
8702c65863 Add Copyright headers to 90 files (mostly .cmake files) without
Copyright headers.
2017-04-07 11:31:32 -05:00
lrknox
1331d6a4cb Merge branch 'hdf5_1_10_1' of https://bitbucket.hdfgroup.org/scm/~lrknox/hdf5_lrk into hdf5_1_10_1 2017-04-07 10:14:42 -05:00
lrknox
f1d1826a90 Add "Copyright by The HDF Group."" to copyright header. 2017-04-07 10:13:16 -05:00
Dana Robinson
b605f4817c Merge branch 'hdf5_1_10_1' of https://bitbucket.hdfgroup.org/scm/~derobins/hdf5_der into hdf5_1_10_1 2017-04-06 18:25:19 -07:00
Dana Robinson
f971e9b357 Updated RELEASE.txt with my changes for the 1.10.1 release. 2017-04-06 18:15:10 -07:00
Larry Knox
ef8648d309 Merge pull request #401 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_1 to hdf5_1_10_1
* commit '106102eb606bcda0caa62dd894001be9d045f730':
  Change copyright headers to replace url referring to file to be removed and replace it with new url for COPYING file.
2017-04-06 17:09:25 -05:00
lrknox
106102eb60 Change copyright headers to replace url referring to file to be removed
and replace it with new url for COPYING file.

Fix 2 lines in java error test expected output file where messages
include line numbers changed by reducing the copyright header by 2
lines.
2017-04-06 13:09:27 -05:00
Larry Knox
cd1363203e Merge pull request #399 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10_1 to hdf5_1_10_1
* commit '07fd2443ab850c099ff4b4362b04223d0fe9b64d':
  Fix CMake regex commands
2017-04-06 12:01:51 -05:00
Allen Byrne
07fd2443ab Fix CMake regex commands 2017-04-06 11:42:41 -05:00
Larry Knox
c2aaba6aa9 Merge pull request #392 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_1 to hdf5_1_10_1
* commit '8c06d9564ed7662899e6a3e3a8cd96127b70833c':
  Update RELEASE.txt with note for fixing failed SWMR tests.
  Switch to using flag in signal handler, to trigger dropping out of main loop and shutdown cleanly, instead of calling leave() from the signal handler.
  Fix HDFFV-8089 Description:     Some code within an "ifdef H5D_CHUNK_DEBUG" block was using outdated     data structure but not caught because the case of H5D_CHUNK_DEBUG being     defined was never tested.  It was commented out.     I defined H5D_CHUNK_DEBUG, tested, and commented out again. Platforms tested:     Linux/32 2.6 (jam)     Linux/64 (platypus)     Darwin (osx1010test)
2017-04-04 17:13:06 -05:00
lrknox
8c06d9564e Update RELEASE.txt with note for fixing failed SWMR tests. 2017-04-04 15:19:05 -05:00
lrknox
e014219770 Merge branch 'develop' into hdf5_1_10_1 2017-04-04 14:42:58 -05:00
Binh-Minh Ribler
7b822f3d7d Merge pull request #391 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_1_10_1:hdf5_1_10_1 to hdf5_1_10_1
Updated RELEASE.txt

* commit '55e536cc5dce4f6dc7e6f128e2dd3fbd1d83df43':
  Updated for HDFFV-8089.
2017-04-04 09:56:04 -05:00
Binh-Minh Ribler
55e536cc5d Updated for HDFFV-8089. 2017-04-04 09:24:48 -05:00
Larry Knox
cf27407a15 Merge pull request #388 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_1 to hdf5_1_10_1
* commit 'fa9214c5dedd8b6b61de34ca42fd0576b779395d':
  Correct incosistent spacing.
  Replaced text for HDFFV-9938 entry. Re-ordered bugs fixed entries in descending date order and made order consistent for  all (developer, date, bug ids) entries.
  Add entries to Bugs Fixed section of RELEASE.txt.
2017-04-04 05:49:55 -05:00
lrknox
fa9214c5de Correct incosistent spacing. 2017-04-03 13:44:35 -05:00
lrknox
811cb4c30c Replaced text for HDFFV-9938 entry.
Re-ordered bugs fixed entries in descending date order and made order
consistent for  all (developer, date, bug ids) entries.
2017-04-03 13:37:18 -05:00
lrknox
0459292772 Merge branch 'hdf5_1_10_1' of https://bitbucket.hdfgroup.org/scm/~lrknox/hdf5_lrk into hdf5_1_10_1 2017-03-31 16:54:59 -05:00
lrknox
6b9a62cb27 Add entries to Bugs Fixed section of RELEASE.txt. 2017-03-31 16:53:34 -05:00
Larry Knox
3f999d37e6 Merge pull request #386 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_1 to hdf5_1_10_1
* commit '47dcd9af7997008c14def94651599c79085be7d9': (22 commits)
  Add new file COPYING_LBNL_HDF5.
  Revert "Clear hdf5 1.10 entries from RELEASE.txt in the develop branch.  Entries"
  Add LBNL license file and modify COPYING file accordingly.
  Omnibus checkin for several relatively minor modifications:
  Clear hdf5 1.10 entries from RELEASE.txt in the develop branch.  Entries in this branch version of RELEASE.txt should be intended for the future 1.12.0 release.
  Update with extra checks for reference
  Update cdash max test output and VS version matching
  Stop skipping h5watch tests.
  Add H5_DLL to H5AC_get_mdc_image_info() prototype
  Update RELEASE.txt based on review comments from pull request.
  Description:     Removed notes about the C++ API in develop.  Only keep in 1.10 branch.
  Add prototype for H5AC_get_mdc_image_info
  Minor style cleanups
  Revert "Switch h5clear for cache images to use existing H5Pget_cache_image_config()"
  Update RELEASE.txt to reflect changes for new features and bug fixes since 1.10.0-patch1.
  Run all scripts using signal files between processes in their own directories to avoid accidental deletion of the signal files.
  Remove extra space added by h5vers to version string in H5.java, which then failed to match the pattern after the first run.
  Remove incorrect " marks added to java files by bin/h5vers. Pull version from configure for version test in h5repack_plugin.sh.in
  Description:     Fixed typos and missing items in function headers, that were revealed     by Doxygen, and revised various comments. Platforms tested:     Linux/32 2.6 (jam)     Linux/64 (platypus)     Darwin (osx1010test)
  Description:     Updated the C++ API sections.
  ...
2017-03-31 14:07:50 -05:00
lrknox
47dcd9af79 Merge branch 'develop' into hdf5_1_10_1 2017-03-31 13:08:27 -05:00
Larry Knox
bc286613c2 Merge pull request #383 in HDFFV/hdf5 from ~MAMCGREE/hdf5_mamcgree:hdf5_1_10_1 to hdf5_1_10_1
* commit '9e6cf10dfab457e0fcfae050bf3de263e3833d32':
  Cleaned up relase notes for 1.10.1 release.
2017-03-31 11:02:35 -05:00
Mike McGreevy
9e6cf10dfa Cleaned up relase notes for 1.10.1 release. 2017-03-30 11:17:09 -05:00
Larry Knox
a303cb80ef Merge pull request #381 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_1 to hdf5_1_10_1
* commit 'dd965e4b1498003a2a15d03afdc7e8049d61a5c0':
  Changing default build mode in configure.ac requires running autogen.sh to propagate the change to configure.
2017-03-29 22:07:11 -05:00
lrknox
dd965e4b14 Merge branch 'hdf5_1_10_1' of https://bitbucket.hdfgroup.org/scm/~lrknox/hdf5_lrk into hdf5_1_10_1 2017-03-29 21:52:32 -05:00
lrknox
26ee496ad2 Changing default build mode in configure.ac requires running autogen.sh to propagate the change to configure. 2017-03-29 21:50:16 -05:00
Allen Byrne
642afafa57 Merge pull request #380 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_1 to hdf5_1_10_1
* commit 'faffe4725005734038bc54346ccfb808e3c2274e':
  Switch header generation off for release branch (CMake).
  Update version to 1.10.1-pre2. Switch default build mode from debug to production.
2017-03-29 17:06:42 -05:00
lrknox
faffe47250 Switch header generation off for release branch (CMake). 2017-03-29 16:53:32 -05:00
lrknox
73c1a3df52 Merge branch 'hdf5_1_10_1' of https://bitbucket.hdfgroup.org/scm/~lrknox/hdf5_lrk into hdf5_1_10_1 2017-03-29 15:41:09 -05:00
lrknox
446f634b0a Update version to 1.10.1-pre2.
Switch default build mode from debug to production.
2017-03-29 15:38:08 -05:00
Larry Knox
36edcf2930 Merge pull request #379 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_1 to hdf5_1_10_1
* commit '20efd11df7a8cd604b1b62ed2fa2b69d16922956':
  Update RELEASE.txt Remove "currently under development" from h5vers for HDF5Config.cmake that causes cmake not to find HDF5.
  Merge bin/h5vers changes from develop. Pull version from configure for version test in h5repack_plugin.sh.in Update version to 1.10.2-snap0 for hdf5_1_10 branch.
2017-03-29 15:12:06 -05:00
lrknox
20efd11df7 Merge branch 'hdf5_1_10' into hdf5_1_10_1 2017-03-29 15:05:08 -05:00
Elena Pourmal
2b5bf3ac36 Merge pull request #371 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_1 to hdf5_1_10_1
* commit '5599d5c13437767312ce28d95b58d931d8fbf084':
  Add bug entry to RELEASE.txt. Update end year in COPYING file.
2017-03-24 16:21:50 -05:00
lrknox
5599d5c134 Merge branch 'hdf5_1_10_1' of https://bitbucket.hdfgroup.org/scm/~lrknox/hdf5_lrk into hdf5_1_10_1 2017-03-24 16:16:59 -05:00
lrknox
b18d2b609b Add bug entry to RELEASE.txt.
Update end year in COPYING file.
2017-03-24 16:15:25 -05:00
Scot Breitenfeld
1ea9e4afd6 Merge pull request #370 in HDFFV/hdf5 from ~BRTNFLD/hdf5_msb:hdf5_1_10_1 to hdf5_1_10_1
* commit 'aeb554e431f65ec9452f9ae74debb67aed7f2a02':
  updated Fortran/HL
2017-03-24 14:12:49 -05:00
M. Scot Breitenfeld
aeb554e431 updated Fortran/HL 2017-03-24 13:13:19 -05:00
Larry Knox
f37cb0b2d5 Merge pull request #367 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_1 to hdf5_1_10_1
* commit 'b32bd7bc3e5f8e74dc21f9f6df20a0c75495c34b':
  Update RELEASE.txt and version in HDF5config.cmake
  Update RELEASE.txt Remove "currently under development" from h5vers for HDF5Config.cmake that causes cmake not to find HDF5.
  Fix bin/release:         batch files were in a subdirectory         one mkdir line was missing Check in bin/release changes to README.txt and RELEASE.txt.
  Git deleted autom4te.cache files.
  Switch maintainer mode off. Update version to 1.10.1-pre1. Check in files generated by autogen.sh, and comment those out in .gitignore.
  Update version to HDF5 1.10.1-pre1.
2017-03-24 11:17:10 -05:00
lrknox
b32bd7bc3e Update RELEASE.txt and version in HDF5config.cmake 2017-03-24 11:15:35 -05:00
lrknox
fd39955036 Update RELEASE.txt
Remove "currently under development" from h5vers for HDF5Config.cmake
that causes cmake not to find HDF5.
2017-03-24 10:48:35 -05:00
lrknox
01bc9257f9 Fix bin/release:
batch files were in a subdirectory
        one mkdir line was missing
Check in bin/release changes to README.txt and RELEASE.txt.
2017-03-23 22:06:54 -05:00
lrknox
b39e626800 Merge branch 'hdf5_1_10_1' of https://bitbucket.hdfgroup.org/scm/~lrknox/hdf5_lrk into hdf5_1_10_1 2017-03-23 21:13:46 -05:00
lrknox
6bc8e8d340 Git deleted autom4te.cache files. 2017-03-23 21:12:26 -05:00
lrknox
19fc98467b Switch maintainer mode off.
Update version to 1.10.1-pre1.
Check in files generated by autogen.sh, and comment those out in
.gitignore.
2017-03-23 21:04:50 -05:00
Larry Knox
9d7be446f7 Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10_1)
* commit '87dceab9deb7e1580b3c5a1216ac3a9003eb0a42':
2017-03-23 18:15:47 -05:00
lrknox
87f740b763 Update version to HDF5 1.10.1-pre1. 2017-03-23 18:00:37 -05:00
2297 changed files with 743408 additions and 396958 deletions

View File

@@ -5,7 +5,7 @@
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.

96
.clang-format Normal file
View File

@@ -0,0 +1,96 @@
---
Language: Cpp
BasedOnStyle: LLVM
AlignConsecutiveAssignments: true
#llvm11: AlignConsecutiveBitFields: false
AlignConsecutiveDeclarations: true
AlignConsecutiveMacros: true
#llvm10-11: AlignOperands: true - Align
#llvm11: AllowShortEnumsOnASingleLine: true
AllowShortFunctionsOnASingleLine: None
AlwaysBreakAfterReturnType: AllDefinitions
# Can enable the following section when llvm 12.x is out
#AttributeMacros:
# - H5_ATTR_FORMAT
# - H5_ATTR_UNUSED
# - H5_ATTR_DEPRECATED_USED
# - H5_ATTR_NDEBUG_UNUSED
# - H5_ATTR_DEBUG_API_USED
# - H5_ATTR_PARALLEL_UNUSED
# - H5_ATTR_PARALLEL_USED
# - H5_ATTR_NORETURN
# - H5_ATTR_CONST
# - H5_ATTR_PURE
# - H5_ATTR_FALLTHROUGH
BraceWrapping:
AfterFunction: true
#llvm10-11: AfterControlStatement: false - Never
BeforeCatch: true
BeforeElse: true
#llvm11: BeforeLambdaBody: false
#llvm11: BeforeWhile: false
BreakBeforeBraces: Stroustrup
BreakAfterJavaFieldAnnotations: true
BreakStringLiterals: true
ColumnLimit: 110 # Update $max_trace_macro_line_len in bin/trace also
ForEachMacros: ['ALL_MEMBERS', 'UNIQUE_MEMBERS']
IncludeCategories:
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
Priority: 3
SortPriority: 0
- Regex: '^(<|"(gtest|gmock|isl|json)/)'
Priority: 4
SortPriority: 0
- Regex: '.*'
Priority: 0
SortPriority: 0
- Regex: '^H5*.*'
Priority: 1
SortPriority: 0
- Regex: 'private.*'
Priority: 2
SortPriority: 0
IncludeIsMainRegex: '(public)?$'
IndentCaseLabels: true
#llvm11: IndentCaseBlocks: false
IndentGotoLabels: false
#llvm11: IndentExternBlock: AfterExternBlock
IndentWidth: 4
#llvm11: InsertTrailingCommas: None
MacroBlockBegin: "^BEGIN_FUNC"
MacroBlockEnd: "^END_FUNC"
ObjCBlockIndentWidth: 4
#llvm11: ObjCBreakBeforeNestedBlockParam: true
ReflowComments: true
SortIncludes: false
StatementMacros:
- FUNC_ENTER_API
- FUNC_LEAVE_API
- FUNC_ENTER_NOAPI_NOINIT_NOERR
- FUNC_LEAVE_NOAPI
- H5_BEGIN_TAG
- HGOTO_DONE_TAG
- H5_END_TAG
- HSYS_DONE_ERROR
- HSYS_GOTO_ERROR
- HDONE_ERROR
- HERROR
- H5_LEAVE
- H5E_PRINTF
- H5E_THROW
- HGOTO_DONE
- HGOTO_ERROR
- HMPI_ERROR
- HMPI_DONE_ERROR
- HMPI_GOTO_ERROR
- H5_GCC_DIAG_OFF
- H5_GCC_DIAG_ON
- CATCH
#llvm10: TypenameMacros:
#llvm10: - STACK_OF
#llvm10: - LIST
#llvm11: WhitespaceSensitiveMacros:
#llvm11: - STRINGIZE
#llvm11: - PP_STRINGIZE
...

2
.gitattributes vendored
View File

@@ -363,6 +363,7 @@ m4/ax_check_rqrd_class.m4 -text
m4/ax_java_check_class.m4 -text
m4/ax_java_options.m4 -text
m4/ax_jni_include_dir.m4 -text
m4/ax_prog_doxygen.m4 -text
m4/ax_prog_jar.m4 -text
m4/ax_prog_java.m4 -text
m4/ax_prog_java_cc.m4 -text
@@ -782,6 +783,7 @@ tools/testfiles/tints4dimsStride2.ddl -text
tools/testfiles/tintsattrs.h5 -text svneol=unset#application/x-hdf
tools/testfiles/tlarge_objname.h5 -text
tools/testfiles/tldouble.h5 -text
tools/testfiles/tldouble_scalar.h5 -text
tools/testfiles/tlonglinks.h5 -text
tools/testfiles/tloop.h5 -text
tools/testfiles/tloop2.h5 -text

42
.github/CODEOWNERS vendored Normal file
View File

@@ -0,0 +1,42 @@
# Lines starting with '#' are comments.
# Each line is a file pattern followed by one or more owners.
# These owners will be the default owners for everything in the repo.
* @lrknox
# Order is important. The last matching pattern has the most precedence.
# So if a pull request only touches javascript files, only these owners
# will be requested to review.
*.cmake @byrnHDF @derobins
CMakeLists.txt @byrnHDF @derobins
CMakeTests.* @byrnHDF @derobins
/bin/ @lrknox @derobins
/c++/ @bmribler @byrnHDF @derobins
/config/ @lrknox @derobins @byrnHDF
/doc/ @gnuoyd @jrmainzer
/examples/ @lrknox @derobins @bmribler
/fortran/ @brtnfld @epourmal
/hl/ @bmribler @byrnHDF @derobins
/java/ @jhendersonHDF @byrnHDF
/m4/ @lrknox @derobins
/release_docs/ @lrknox @bmribler @byrnHDF
/src/ @jhendersonHDF @derobins @fortnern @soumagne @vchoi-hdfgroup @jrmainzer
/test/ @jhendersonHDF @derobins @fortnern @soumagne @vchoi-hdfgroup @jrmainzer
/testpar/ @jhendersonHDF @rawarren @jrmainzer
/tools/ @byrnHDF @bmribler @derobins
/utils/ @lrknox @byrnHDF @derobins

View File

@@ -0,0 +1,18 @@
name: clang-format Check
on:
pull_request:
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'skip-ci')"
steps:
- uses: actions/checkout@v2
- name: Run clang-format style check for C programs.
uses: DoozyX/clang-format-lint-action@v0.11
with:
source: '.'
extensions: 'c,h,cpp,hpp'
clangFormatVersion: 10
style: file
exclude: './config ./hl/src/H5LTanalyze.c ./hl/src/H5LTparse.c ./hl/src/H5LTparse.h ./src/H5Epubgen.h ./src/H5Einit.h ./src/H5Eterm.h ./src/H5Edefin.h ./src/H5version.h ./src/H5overflow.h'

25
.github/workflows/clang-format-fix.yml vendored Normal file
View File

@@ -0,0 +1,25 @@
name: clang-format Check
on:
workflow_dispatch:
push:
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'skip-ci')"
steps:
- uses: actions/checkout@v2
- name: Run clang-format style check for C programs.
uses: DoozyX/clang-format-lint-action@v0.11
with:
source: '.'
extensions: 'c,h,cpp,hpp'
clangFormatVersion: 10
inplace: True
style: file
exclude: './config ./hl/src/H5LTanalyze.c ./hl/src/H5LTparse.c ./hl/src/H5LTparse.h ./src/H5Epubgen.h ./src/H5Einit.h ./src/H5Eterm.h ./src/H5Edefin.h ./src/H5version.h ./src/H5overflow.h'
- uses: EndBug/add-and-commit@v7
with:
author_name: github-actions
author_email: 41898282+github-actions[bot]@users.noreply.github.com
message: 'Committing clang-format changes'

219
.github/workflows/main.yml vendored Normal file
View File

@@ -0,0 +1,219 @@
name: hdf5 dev CI
# Controls when the action will run. Triggers the workflow on push or pull request
on:
workflow_dispatch:
push:
branches: [ develop, hdf5_1_12, hdf5_1_10, hdf5_1_8 ]
paths-ignore:
- '.github/**'
- 'doc/**'
- 'release_docs/**'
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
strategy:
# fail-fast: false
matrix:
name: ["Windows Latest MSVC", "Ubuntu Latest GCC", "Ubuntu Debug GCC", "macOS Latest Clang", "Ubuntu Autotools GCC", "Windows TS MSVC", "Ubuntu TS GCC", "TS Debug GCC", "macOS TS Clang", "TS Autotools GCC"]
include:
- name: "Windows Latest MSVC"
artifact: "Windows-MSVC.tar.xz"
os: windows-latest
build_type: "Release"
toolchain: ""
cpp: ON
fortran: OFF
java: ON
ts: OFF
hl: ON
parallel: OFF
generator: "-G \"Visual Studio 16 2019\" -A x64"
- name: "Ubuntu Latest GCC"
artifact: "Linux.tar.xz"
os: ubuntu-latest
build_type: "Release"
cpp: ON
fortran: ON
java: ON
ts: OFF
hl: ON
parallel: OFF
toolchain: "config/toolchain/GCC.cmake"
generator: "-G Ninja"
- name: "macOS Latest Clang"
artifact: "macOS.tar.xz"
os: macos-latest
build_type: "Release"
cpp: ON
fortran: OFF
java: ON
ts: OFF
hl: ON
parallel: OFF
toolchain: "config/toolchain/clang.cmake"
generator: "-G Ninja"
- name: "Ubuntu Debug GCC"
artifact: "LinuxDBG.tar.xz"
os: ubuntu-latest
build_type: "Debug"
cpp: ON
fortran: OFF
java: OFF
ts: OFF
hl: ON
parallel: OFF
toolchain: "config/toolchain/GCC.cmake"
generator: "-G Ninja"
- name: "Ubuntu Autotools GCC"
artifact: "LinuxA.tar.xz"
os: ubuntu-latest
build_type: "Release"
cpp: enable
fortran: enable
java: enable
ts: disable
hl: enable
parallel: disable
toolchain: ""
generator: "autogen"
# Threadsafe runs
- name: "Windows TS MSVC"
artifact: "Windows-MSVCTS.tar.xz"
os: windows-2016
build_type: "Release"
toolchain: ""
cpp: OFF
fortran: OFF
java: OFF
ts: ON
hl: OFF
parallel: OFF
generator: "-G \"Visual Studio 15 2017 Win64\""
- name: "Ubuntu TS GCC"
artifact: "LinuxTS.tar.xz"
os: ubuntu-latest
build_type: "Release"
cpp: OFF
fortran: OFF
java: OFF
ts: ON
hl: OFF
parallel: OFF
toolchain: "config/toolchain/GCC.cmake"
generator: "-G Ninja"
- name: "macOS TS Clang"
artifact: "macOSTS.tar.xz"
os: macos-latest
build_type: "Release"
cpp: OFF
fortran: OFF
java: OFF
ts: ON
hl: OFF
parallel: OFF
toolchain: "config/toolchain/clang.cmake"
generator: "-G Ninja"
- name: "TS Debug GCC"
artifact: "LinuxTSDBG.tar.xz"
os: ubuntu-latest
build_type: "Debug"
cpp: OFF
fortran: OFF
java: OFF
ts: ON
hl: OFF
parallel: OFF
toolchain: "config/toolchain/GCC.cmake"
generator: "-G Ninja"
- name: "TS Autotools GCC"
artifact: "LinuxATS.tar.xz"
os: ubuntu-latest
build_type: "Release"
cpp: disable
fortran: disable
java: disable
ts: enable
hl: disable
parallel: disable
toolchain: ""
generator: "autogen"
# - name: "Ubuntu Parallel GCC"
# artifact: "LinuxPar.tar.xz"
# os: ubuntu-latest
# build_type: "Release"
# cpp: OFF
# fortran: OFF
# parallel: ON
# toolchain: "config/toolchain/GCC.cmake"
# generator: "-G Ninja"
name: ${{ matrix.name }}
# The type of runner that the job will run on
runs-on: ${{ matrix.os }}
if: "!contains(github.event.head_commit.message, 'skip-ci')"
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Install Dependencies (Linux)
run: sudo apt-get install ninja-build
if: matrix.os == 'ubuntu-latest'
- name: Install Autotools Dependencies (Linux)
run: sudo apt-get install automake autoconf libtool libtool-bin
if: matrix.generator == 'autogen'
- name: Install Dependencies (Windows)
run: choco install ninja
if: matrix.os == 'windows-latest'
- name: Install Dependencies (macOS)
run: brew install ninja
if: matrix.os == 'macos-latest'
- name: Set environment for MSVC (Windows)
if: matrix.os == 'windows-latest'
run: |
# Set these env vars so cmake picks the correct compiler
echo "CXX=cl.exe" >> $GITHUB_ENV
echo "CC=cl.exe" >> $GITHUB_ENV
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Get Sources
uses: actions/checkout@v2
- name: Autotools Configure
if: matrix.generator == 'autogen'
run: |
sh ./autogen.sh
sh ./bin/chkmanifest
mkdir "${{ runner.workspace }}/build"
cd "${{ runner.workspace }}/build"
$GITHUB_WORKSPACE/configure --enable-shared --${{ matrix.ts }}-threadsafe --${{ matrix.hl }}-hl --${{ matrix.parallel }}-parallel --${{ matrix.cpp }}-cxx --${{ matrix.fortran }}-fortran --${{ matrix.java }}-java
shell: bash
- name: Configure
if: matrix.generator != 'autogen'
run: |
mkdir "${{ runner.workspace }}/build"
cd "${{ runner.workspace }}/build"
cmake ${{ matrix.generator }} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_TOOLCHAIN_FILE=${{ matrix.toolchain }} -DBUILD_SHARED_LIBS=ON -DHDF5_ENABLE_ALL_WARNINGS=ON -DHDF5_ENABLE_THREADSAFE:BOOL=${{ matrix.ts }} -DHDF5_BUILD_HL_LIB:BOOL=${{ matrix.hl }} -DHDF5_ENABLE_PARALLEL:BOOL=${{ matrix.parallel }} -DHDF5_BUILD_CPP_LIB:BOOL=${{ matrix.cpp }} -DHDF5_BUILD_FORTRAN=${{ matrix.fortran }} -DHDF5_BUILD_JAVA=${{ matrix.java }} $GITHUB_WORKSPACE
shell: bash
- name: Autotools Build
if: matrix.generator == 'autogen'
run: make
working-directory: ${{ runner.workspace }}/build
- name: Build
if: matrix.generator != 'autogen'
run: cmake --build . --config ${{ matrix.build_type }}
working-directory: ${{ runner.workspace }}/build
- name: Autotools Test
if: matrix.generator == 'autogen'
run: make check
working-directory: ${{ runner.workspace }}/build
- name: Test
if: matrix.generator != 'autogen'
run: ctest --build . -C ${{ matrix.build_type }} -V
working-directory: ${{ runner.workspace }}/build

214
.github/workflows/pr-check.yml vendored Normal file
View File

@@ -0,0 +1,214 @@
name: hdf5 dev CI
# Controls when the action will run. Triggers the workflow on push or pull request
on:
pull_request:
branches: [ develop, hdf5_1_12, hdf5_1_10, hdf5_1_8 ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
strategy:
# fail-fast: false
matrix:
name: ["Windows Latest MSVC", "Ubuntu Latest GCC", "Ubuntu Debug GCC", "macOS Latest Clang", "Ubuntu Autotools GCC", "Windows TS MSVC", "Ubuntu TS GCC", "TS Debug GCC", "macOS TS Clang", "TS Autotools GCC"]
include:
- name: "Windows Latest MSVC"
artifact: "Windows-MSVC.tar.xz"
os: windows-latest
build_type: "Release"
toolchain: ""
cpp: ON
fortran: OFF
java: ON
ts: OFF
hl: ON
parallel: OFF
generator: "-G \"Visual Studio 16 2019\" -A x64"
- name: "Ubuntu Latest GCC"
artifact: "Linux.tar.xz"
os: ubuntu-latest
build_type: "Release"
cpp: ON
fortran: ON
java: ON
ts: OFF
hl: ON
parallel: OFF
toolchain: "config/toolchain/GCC.cmake"
generator: "-G Ninja"
- name: "macOS Latest Clang"
artifact: "macOS.tar.xz"
os: macos-latest
build_type: "Release"
cpp: ON
fortran: OFF
java: ON
ts: OFF
hl: ON
parallel: OFF
toolchain: "config/toolchain/clang.cmake"
generator: "-G Ninja"
- name: "Ubuntu Debug GCC"
artifact: "LinuxDBG.tar.xz"
os: ubuntu-latest
build_type: "Debug"
cpp: ON
fortran: OFF
java: OFF
ts: OFF
hl: ON
parallel: OFF
toolchain: "config/toolchain/GCC.cmake"
generator: "-G Ninja"
- name: "Ubuntu Autotools GCC"
artifact: "LinuxA.tar.xz"
os: ubuntu-latest
build_type: "Release"
cpp: enable
fortran: enable
java: enable
ts: disable
hl: enable
parallel: disable
toolchain: ""
generator: "autogen"
# Threadsafe runs
- name: "Windows TS MSVC"
artifact: "Windows-MSVCTS.tar.xz"
os: windows-2016
build_type: "Release"
toolchain: ""
cpp: OFF
fortran: OFF
java: OFF
ts: ON
hl: OFF
parallel: OFF
generator: "-G \"Visual Studio 15 2017 Win64\""
- name: "Ubuntu TS GCC"
artifact: "LinuxTS.tar.xz"
os: ubuntu-latest
build_type: "Release"
cpp: OFF
fortran: OFF
java: OFF
ts: ON
hl: OFF
parallel: OFF
toolchain: "config/toolchain/GCC.cmake"
generator: "-G Ninja"
- name: "macOS TS Clang"
artifact: "macOSTS.tar.xz"
os: macos-latest
build_type: "Release"
cpp: OFF
fortran: OFF
java: OFF
ts: ON
hl: OFF
parallel: OFF
toolchain: "config/toolchain/clang.cmake"
generator: "-G Ninja"
- name: "TS Debug GCC"
artifact: "LinuxTSDBG.tar.xz"
os: ubuntu-latest
build_type: "Debug"
cpp: OFF
fortran: OFF
java: OFF
ts: ON
hl: OFF
parallel: OFF
toolchain: "config/toolchain/GCC.cmake"
generator: "-G Ninja"
- name: "TS Autotools GCC"
artifact: "LinuxATS.tar.xz"
os: ubuntu-latest
build_type: "Release"
cpp: disable
fortran: disable
java: disable
ts: enable
hl: disable
parallel: disable
toolchain: ""
generator: "autogen"
# - name: "Ubuntu Parallel GCC"
# artifact: "LinuxPar.tar.xz"
# os: ubuntu-latest
# build_type: "Release"
# cpp: OFF
# fortran: OFF
# parallel: ON
# toolchain: "config/toolchain/GCC.cmake"
# generator: "-G Ninja"
name: ${{ matrix.name }}
# The type of runner that the job will run on
runs-on: ${{ matrix.os }}
if: "!contains(github.event.head_commit.message, 'skip-ci')"
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Install Dependencies (Linux)
run: sudo apt-get install ninja-build
if: matrix.os == 'ubuntu-latest'
- name: Install Autotools Dependencies (Linux)
run: sudo apt-get install automake autoconf libtool libtool-bin
if: matrix.generator == 'autogen'
- name: Install Dependencies (Windows)
run: choco install ninja
if: matrix.os == 'windows-latest'
- name: Install Dependencies (macOS)
run: brew install ninja
if: matrix.os == 'macos-latest'
- name: Set environment for MSVC (Windows)
if: matrix.os == 'windows-latest'
run: |
# Set these env vars so cmake picks the correct compiler
echo "CXX=cl.exe" >> $GITHUB_ENV
echo "CC=cl.exe" >> $GITHUB_ENV
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Get Sources
uses: actions/checkout@v2
- name: Autotools Configure
if: matrix.generator == 'autogen'
run: |
sh ./autogen.sh
sh ./bin/chkmanifest
mkdir "${{ runner.workspace }}/build"
cd "${{ runner.workspace }}/build"
$GITHUB_WORKSPACE/configure --enable-shared --${{ matrix.ts }}-threadsafe --${{ matrix.hl }}-hl --${{ matrix.parallel }}-parallel --${{ matrix.cpp }}-cxx --${{ matrix.fortran }}-fortran --${{ matrix.java }}-java
shell: bash
- name: Configure
if: matrix.generator != 'autogen'
run: |
mkdir "${{ runner.workspace }}/build"
cd "${{ runner.workspace }}/build"
cmake ${{ matrix.generator }} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_TOOLCHAIN_FILE=${{ matrix.toolchain }} -DBUILD_SHARED_LIBS=ON -DHDF5_ENABLE_ALL_WARNINGS=ON -DHDF5_ENABLE_THREADSAFE:BOOL=${{ matrix.ts }} -DHDF5_BUILD_HL_LIB:BOOL=${{ matrix.hl }} -DHDF5_ENABLE_PARALLEL:BOOL=${{ matrix.parallel }} -DHDF5_BUILD_CPP_LIB:BOOL=${{ matrix.cpp }} -DHDF5_BUILD_FORTRAN=${{ matrix.fortran }} -DHDF5_BUILD_JAVA=${{ matrix.java }} $GITHUB_WORKSPACE
shell: bash
- name: Autotools Build
if: matrix.generator == 'autogen'
run: make
working-directory: ${{ runner.workspace }}/build
- name: Build
if: matrix.generator != 'autogen'
run: cmake --build . --config ${{ matrix.build_type }}
working-directory: ${{ runner.workspace }}/build
- name: Autotools Test
if: matrix.generator == 'autogen'
run: make check
working-directory: ${{ runner.workspace }}/build
- name: Test
if: matrix.generator != 'autogen'
run: ctest --build . -C ${{ matrix.build_type }} -V
working-directory: ${{ runner.workspace }}/build

View File

@@ -5,7 +5,7 @@
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.

View File

@@ -5,12 +5,16 @@
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
option (USE_LIBAEC "Use AEC library as SZip Filter" OFF)
option (USE_LIBAEC_STATIC "Use static AEC library " OFF)
include (ExternalProject)
include (FetchContent)
#option (HDF5_ALLOW_EXTERNAL_SUPPORT "Allow External Library Building (NO GIT TGZ)" "NO")
set (HDF5_ALLOW_EXTERNAL_SUPPORT "NO" CACHE STRING "Allow External Library Building (NO GIT TGZ)")
set_property (CACHE HDF5_ALLOW_EXTERNAL_SUPPORT PROPERTY STRINGS NO GIT TGZ)
@@ -27,7 +31,22 @@ if (HDF5_ALLOW_EXTERNAL_SUPPORT MATCHES "GIT" OR HDF5_ALLOW_EXTERNAL_SUPPORT MAT
set (TGZPATH ${HDF5_SOURCE_DIR})
endif ()
set (ZLIB_URL ${TGZPATH}/${ZLIB_TGZ_NAME})
if (NOT EXISTS "${ZLIB_URL}")
set (HDF5_ENABLE_Z_LIB_SUPPORT OFF CACHE BOOL "" FORCE)
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
message (VERBOSE "Filter ZLIB file ${ZLIB_URL} not found")
endif ()
endif ()
set (SZIP_URL ${TGZPATH}/${SZIP_TGZ_NAME})
if (USE_LIBAEC)
set (SZIP_URL ${TGZPATH}/${SZAEC_TGZ_NAME})
endif ()
if (NOT EXISTS "${SZIP_URL}")
set (HDF5_ENABLE_SZIP_SUPPORT OFF CACHE BOOL "" FORCE)
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
message (VERBOSE "Filter SZIP file ${SZIP_URL} not found")
endif ()
endif ()
else ()
set (ZLIB_USE_EXTERNAL 0)
set (SZIP_USE_EXTERNAL 0)
@@ -46,7 +65,6 @@ if (HDF5_ENABLE_Z_LIB_SUPPORT)
find_package (ZLIB) # Legacy find
if (ZLIB_FOUND)
set (LINK_COMP_LIBS ${LINK_COMP_LIBS} ${ZLIB_LIBRARIES})
set (LINK_COMP_SHARED_LIBS ${LINK_COMP_SHARED_LIBS} ${ZLIB_LIBRARIES})
endif ()
endif ()
endif ()
@@ -63,7 +81,9 @@ if (HDF5_ENABLE_Z_LIB_SUPPORT)
set (H5_HAVE_FILTER_DEFLATE 1)
set (H5_HAVE_ZLIB_H 1)
set (H5_HAVE_LIBZ 1)
message (STATUS "Filter ZLIB is built")
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
message (VERBOSE "Filter ZLIB is built")
endif ()
else ()
message (FATAL_ERROR " ZLib is Required for ZLib support in HDF5")
endif ()
@@ -77,12 +97,11 @@ if (HDF5_ENABLE_Z_LIB_SUPPORT)
if (H5_HAVE_FILTER_DEFLATE)
set (EXTERNAL_FILTERS "${EXTERNAL_FILTERS} DEFLATE")
endif ()
if (BUILD_SHARED_LIBS)
set (LINK_COMP_SHARED_LIBS ${LINK_COMP_SHARED_LIBS} ${ZLIB_SHARED_LIBRARY})
endif ()
set (LINK_COMP_LIBS ${LINK_COMP_LIBS} ${ZLIB_STATIC_LIBRARY})
INCLUDE_DIRECTORIES (${ZLIB_INCLUDE_DIRS})
message (STATUS "Filter ZLIB is ON")
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
message (VERBOSE "Filter ZLIB is ON")
endif ()
endif ()
#-----------------------------------------------------------------------------
@@ -92,12 +111,22 @@ option (HDF5_ENABLE_SZIP_SUPPORT "Use SZip Filter" OFF)
if (HDF5_ENABLE_SZIP_SUPPORT)
option (HDF5_ENABLE_SZIP_ENCODING "Use SZip Encoding" OFF)
if (NOT SZIP_USE_EXTERNAL)
find_package (SZIP NAMES ${SZIP_PACKAGE_NAME}${HDF_PACKAGE_EXT} COMPONENTS static shared)
if (NOT SZIP_FOUND)
find_package (SZIP) # Legacy find
set(SZIP_FOUND FALSE)
if (USE_LIBAEC)
set(libaec_USE_STATIC_LIBS ${USE_LIBAEC_STATIC})
find_package (libaec 1.0.5 CONFIG)
if (SZIP_FOUND)
set (LINK_COMP_LIBS ${LINK_COMP_LIBS} ${SZIP_LIBRARIES})
set (LINK_COMP_SHARED_LIBS ${LINK_COMP_SHARED_LIBS} ${SZIP_LIBRARIES})
endif ()
endif ()
if (NOT SZIP_FOUND)
find_package (SZIP NAMES ${SZIP_PACKAGE_NAME}${HDF_PACKAGE_EXT} COMPONENTS static shared)
if (NOT SZIP_FOUND)
find_package (SZIP) # Legacy find
if (SZIP_FOUND)
set (LINK_COMP_LIBS ${LINK_COMP_LIBS} ${SZIP_LIBRARIES})
endif ()
endif ()
endif ()
endif ()
@@ -113,17 +142,26 @@ if (HDF5_ENABLE_SZIP_SUPPORT)
set (H5_HAVE_FILTER_SZIP 1)
set (H5_HAVE_SZLIB_H 1)
set (H5_HAVE_LIBSZ 1)
message (STATUS "Filter SZIP is built")
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
message (VERBOSE "Filter SZIP is built")
endif ()
if (USE_LIBAEC)
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
message (VERBOSE "... with library AEC")
endif ()
set (SZ_PACKAGE_NAME ${LIBAEC_PACKAGE_NAME})
else ()
set (SZ_PACKAGE_NAME ${SZIP_PACKAGE_NAME})
endif ()
else ()
message (FATAL_ERROR "SZIP is Required for SZIP support in HDF5")
endif ()
endif ()
if (BUILD_SHARED_LIBS)
set (LINK_COMP_SHARED_LIBS ${LINK_COMP_SHARED_LIBS} ${SZIP_SHARED_LIBRARY})
endif ()
set (LINK_COMP_LIBS ${LINK_COMP_LIBS} ${SZIP_STATIC_LIBRARY})
INCLUDE_DIRECTORIES (${SZIP_INCLUDE_DIRS})
message (STATUS "Filter SZIP is ON")
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
message (VERBOSE "Filter SZIP is ON")
endif ()
if (H5_HAVE_FILTER_SZIP)
set (EXTERNAL_FILTERS "${EXTERNAL_FILTERS} DECODE")
endif ()

View File

@@ -5,7 +5,7 @@
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
@@ -31,9 +31,9 @@ if (NOT HDF5_EXTERNALLY_CONFIGURED)
if (HDF5_EXPORTED_TARGETS)
install (
EXPORT ${HDF5_EXPORTED_TARGETS}
DESTINATION ${HDF5_INSTALL_CMAKE_DIR}/hdf5
DESTINATION ${HDF5_INSTALL_CMAKE_DIR}
FILE ${HDF5_PACKAGE}${HDF_PACKAGE_EXT}-targets.cmake
NAMESPACE ${HDF5_PACKAGE}::
NAMESPACE ${HDF_PACKAGE_NAMESPACE}
COMPONENT configinstall
)
endif ()
@@ -41,13 +41,11 @@ if (NOT HDF5_EXTERNALLY_CONFIGURED)
#-----------------------------------------------------------------------------
# Export all exported targets to the build tree for use by parent project
#-----------------------------------------------------------------------------
if (NOT HDF5_EXTERNALLY_CONFIGURED)
export (
TARGETS ${HDF5_LIBRARIES_TO_EXPORT} ${HDF5_LIB_DEPENDENCIES} ${HDF5_UTILS_TO_EXPORT}
FILE ${HDF5_PACKAGE}${HDF_PACKAGE_EXT}-targets.cmake
NAMESPACE ${HDF5_PACKAGE}::
)
endif ()
export (
TARGETS ${HDF5_LIBRARIES_TO_EXPORT} ${HDF5_LIB_DEPENDENCIES} ${HDF5_UTILS_TO_EXPORT}
FILE ${HDF5_PACKAGE}${HDF_PACKAGE_EXT}-targets.cmake
NAMESPACE ${HDF_PACKAGE_NAMESPACE}
)
endif ()
#-----------------------------------------------------------------------------
@@ -55,7 +53,7 @@ endif ()
#-----------------------------------------------------------------------------
set (HDF5_INCLUDES_BUILD_TIME
${HDF5_SRC_DIR} ${HDF5_CPP_SRC_DIR} ${HDF5_HL_SRC_DIR}
${HDF5_TOOLS_SRC_DIR} ${HDF5_BINARY_DIR}
${HDF5_TOOLS_SRC_DIR} ${HDF5_SRC_BINARY_DIR}
)
#-----------------------------------------------------------------------------
@@ -74,7 +72,7 @@ set (CURRENT_BUILD_DIR "${CMAKE_CURRENT_BINARY_DIR}" )
configure_package_config_file (
${HDF_RESOURCES_DIR}/hdf5-config.cmake.in
"${HDF5_BINARY_DIR}/${HDF5_PACKAGE}${HDF_PACKAGE_EXT}-config.cmake"
INSTALL_DESTINATION "${HDF5_INSTALL_CMAKE_DIR}/hdf5"
INSTALL_DESTINATION "${HDF5_INSTALL_CMAKE_DIR}"
PATH_VARS INCLUDE_INSTALL_DIR SHARE_INSTALL_DIR CURRENT_BUILD_DIR
INSTALL_PREFIX "${CMAKE_CURRENT_BINARY_DIR}"
)
@@ -88,14 +86,14 @@ set (CURRENT_BUILD_DIR "${CMAKE_INSTALL_PREFIX}" )
configure_package_config_file (
${HDF_RESOURCES_DIR}/hdf5-config.cmake.in
"${HDF5_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/${HDF5_PACKAGE}${HDF_PACKAGE_EXT}-config.cmake"
INSTALL_DESTINATION "${HDF5_INSTALL_CMAKE_DIR}/hdf5"
INSTALL_DESTINATION "${HDF5_INSTALL_CMAKE_DIR}"
PATH_VARS INCLUDE_INSTALL_DIR SHARE_INSTALL_DIR CURRENT_BUILD_DIR
)
if (NOT HDF5_EXTERNALLY_CONFIGURED)
install (
FILES ${HDF5_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/${HDF5_PACKAGE}${HDF_PACKAGE_EXT}-config.cmake
DESTINATION ${HDF5_INSTALL_CMAKE_DIR}/hdf5
DESTINATION ${HDF5_INSTALL_CMAKE_DIR}
COMPONENT configinstall
)
endif ()
@@ -104,13 +102,14 @@ endif ()
# Configure the hdf5-config-version .cmake file for the install directory
#-----------------------------------------------------------------------------
if (NOT HDF5_EXTERNALLY_CONFIGURED)
configure_file (
${HDF_RESOURCES_DIR}/hdf5-config-version.cmake.in
${HDF5_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/${HDF5_PACKAGE}${HDF_PACKAGE_EXT}-config-version.cmake @ONLY
write_basic_package_version_file (
"${HDF5_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/${HDF5_PACKAGE}${HDF_PACKAGE_EXT}-config-version.cmake"
VERSION ${HDF5_PACKAGE_VERSION}
COMPATIBILITY SameMinorVersion
)
install (
FILES ${HDF5_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/${HDF5_PACKAGE}${HDF_PACKAGE_EXT}-config-version.cmake
DESTINATION ${HDF5_INSTALL_CMAKE_DIR}/hdf5
DESTINATION ${HDF5_INSTALL_CMAKE_DIR}
COMPONENT configinstall
)
endif ()
@@ -125,16 +124,16 @@ else ()
endif ()
configure_file (
${HDF_RESOURCES_DIR}/libhdf5.settings.cmake.in
${HDF5_BINARY_DIR}/libhdf5.settings @ONLY
${HDF5_SRC_BINARY_DIR}/libhdf5.settings ESCAPE_QUOTES @ONLY
)
install (
FILES ${HDF5_BINARY_DIR}/libhdf5.settings
FILES ${HDF5_SRC_BINARY_DIR}/libhdf5.settings
DESTINATION ${HDF5_INSTALL_LIB_DIR}
COMPONENT libraries
)
#-----------------------------------------------------------------------------
# Configure the HDF518_Examples.cmake file and the examples
# Configure the HDF5_Examples.cmake file and the examples
#-----------------------------------------------------------------------------
option (HDF5_PACK_EXAMPLES "Package the HDF5 Library Examples Compressed File" OFF)
if (HDF5_PACK_EXAMPLES)
@@ -195,15 +194,13 @@ endif ()
#-----------------------------------------------------------------------------
if (NOT HDF5_EXTERNALLY_CONFIGURED)
install (
FILES
${HDF5_SOURCE_DIR}/COPYING
FILES ${HDF5_SOURCE_DIR}/COPYING
DESTINATION ${HDF5_INSTALL_DATA_DIR}
COMPONENT hdfdocuments
)
if (EXISTS "${HDF5_SOURCE_DIR}/release_docs" AND IS_DIRECTORY "${HDF5_SOURCE_DIR}/release_docs")
set (release_files
${HDF5_SOURCE_DIR}/release_docs/USING_HDF5_CMake.txt
${HDF5_SOURCE_DIR}/release_docs/COPYING
${HDF5_SOURCE_DIR}/release_docs/RELEASE.txt
)
if (WIN32)
@@ -215,6 +212,7 @@ if (NOT HDF5_EXTERNALLY_CONFIGURED)
if (HDF5_PACK_INSTALL_DOCS)
set (release_files
${release_files}
${HDF5_SOURCE_DIR}/release_docs/INSTALL_Warnings.txt
${HDF5_SOURCE_DIR}/release_docs/INSTALL_CMake.txt
${HDF5_SOURCE_DIR}/release_docs/HISTORY-1_8.txt
${HDF5_SOURCE_DIR}/release_docs/INSTALL
@@ -246,19 +244,6 @@ if (NOT HDF5_EXTERNALLY_CONFIGURED)
endif ()
endif ()
if (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
if (CMAKE_HOST_UNIX)
set (CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}/HDF_Group/${HDF5_PACKAGE_NAME}/${HDF5_PACKAGE_VERSION}"
CACHE PATH "Install path prefix, prepended onto install directories." FORCE)
else ()
GetDefaultWindowsPrefixBase(CMAKE_GENERIC_PROGRAM_FILES)
set (CMAKE_INSTALL_PREFIX
"${CMAKE_GENERIC_PROGRAM_FILES}/HDF_Group/${HDF5_PACKAGE_NAME}/${HDF5_PACKAGE_VERSION}"
CACHE PATH "Install path prefix, prepended onto install directories." FORCE)
set (CMAKE_GENERIC_PROGRAM_FILES)
endif ()
endif ()
#-----------------------------------------------------------------------------
# Set the cpack variables
#-----------------------------------------------------------------------------
@@ -273,9 +258,9 @@ if (NOT HDF5_EXTERNALLY_CONFIGURED AND NOT HDF5_NO_PACKAGES)
set (CPACK_PACKAGE_VERSION_MAJOR "${HDF5_PACKAGE_VERSION_MAJOR}")
set (CPACK_PACKAGE_VERSION_MINOR "${HDF5_PACKAGE_VERSION_MINOR}")
set (CPACK_PACKAGE_VERSION_PATCH "")
set (CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING")
if (EXISTS "${HDF5_SOURCE_DIR}/release_docs")
set (CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/release_docs/RELEASE.txt")
set (CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/release_docs/COPYING")
set (CPACK_RESOURCE_FILE_README "${CMAKE_CURRENT_SOURCE_DIR}/release_docs/RELEASE.txt")
endif ()
set (CPACK_PACKAGE_RELOCATABLE TRUE)
@@ -469,6 +454,13 @@ The HDF5 data model, file format, API, library, and tools are open and distribut
set (CPACK_INSTALL_CMAKE_PROJECTS "${CPACK_INSTALL_CMAKE_PROJECTS};${SZIP_INCLUDE_DIR_GEN};SZIP;configinstall;/")
endif ()
endif ()
if (PLUGIN_FOUND AND PLUGIN_USE_EXTERNAL)
if (WIN32)
set (CPACK_INSTALL_CMAKE_PROJECTS "${CPACK_INSTALL_CMAKE_PROJECTS};${PLUGIN_BINARY_DIR};PLUGIN;ALL;/")
else ()
set (CPACK_INSTALL_CMAKE_PROJECTS "${CPACK_INSTALL_CMAKE_PROJECTS};${PLUGIN_BINARY_DIR};PLUGIN;libraries;/")
endif ()
endif ()
endif ()
endif ()
@@ -551,6 +543,13 @@ The HDF5 data model, file format, API, library, and tools are open and distribut
)
endif ()
cpack_add_component (utilsapplications
DISPLAY_NAME "HDF5 Utility Applications"
DEPENDS libraries
GROUP Applications
INSTALL_TYPES Full Developer User
)
if (HDF5_BUILD_TOOLS)
cpack_add_component (toolsapplications
DISPLAY_NAME "HDF5 Tools Applications"

View File

@@ -1,6 +1,14 @@
cmake_minimum_required (VERSION 3.10)
cmake_minimum_required (VERSION 3.12)
project (HDF5 C)
if (POLICY CMP0074)
cmake_policy (SET CMP0074 NEW)
endif ()
if (POLICY CMP0083)
cmake_policy (SET CMP0083 NEW)
endif ()
#-----------------------------------------------------------------------------
# Instructions for use : Normal Build
#
@@ -10,8 +18,8 @@ project (HDF5 C)
# set CMAKE_INSTALL_PREFIX to the required install path.
# Make install can be used to install all components for system-wide use.
#
if ("${CMAKE_CURRENT_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_BINARY_DIR}")
MESSAGE(FATAL_ERROR "\nERROR! ${PROJECT_NAME} DOES NOT SUPPORT IN SOURCE BUILDS!\n"
if (CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_CURRENT_BINARY_DIR)
message (FATAL_ERROR "\nERROR! ${PROJECT_NAME} DOES NOT SUPPORT IN SOURCE BUILDS!\n"
"CMAKE_CURRENT_SOURCE_DIR=${CMAKE_CURRENT_SOURCE_DIR}"
" == CMAKE_CURRENT_BINARY_DIR=${CMAKE_CURRENT_BINARY_DIR}\n"
"NEXT STEPS:\n"
@@ -28,6 +36,16 @@ if ("${CMAKE_CURRENT_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_BINARY_DIR}")
)
endif ()
# CMake version 3.14 added option --ignore-eol to compare files
# cmake -E compare_files --ignore-eol file1 file2
set (CMAKE_IGNORE_EOL "--ignore-eol")
if (CMAKE_VERSION VERSION_LESS "3.14.0")
set (CMAKE_IGNORE_EOL "")
if (WIN32)
message (FATAL_ERROR "Windows builds require a minimum of CMake 3.14")
endif()
endif ()
#-----------------------------------------------------------------------------
# Instructions for use : Sub-Project Build
#
@@ -46,10 +64,20 @@ endif ()
# dependencies of the HDF5 libs may be 'incomplete', add additional
# dependencies to this variable so that external projects pick them up
#
#option (HDF5_EXTERNAL_LIB_PREFIX "Use prefix for custom library naming." "")
set (HDF5_EXTERNAL_LIB_PREFIX "" CACHE STRING "Use prefix for custom library naming.")
mark_as_advanced (HDF5_EXTERNAL_LIB_PREFIX)
# HDF5_EXTERNAL_LIB_PREFIX :
# If the parent project needs to install hdf libraries, but avoid
# name conflicts with system versions, then a prefix may be added
# to ensure that the correct versions configured are used.
set (HDF5_LIB_INFIX "" CACHE STRING "Use infix for custom library naming.")
mark_as_advanced (HDF5_LIB_INFIX)
# HDF5_LIB_INFIX :
# This infix is added to all library names after 'hdf5'.
# e.g. the infix '_openmpi' results in the library name 'libhdf5_openmpi.so'
# This name is used in packages on debian based systems.
# (see https://packages.debian.org/jessie/amd64/libhdf5-openmpi-8/filelist)
#
# HDF5_INSTALL_BIN_DIR, HDF5_INSTALL_LIB_DIR, HDF5_INSTALL_INCLUDE_DIR, HDF5_INSTALL_DATA_DIR :
# Customize the 'bin', 'lib', 'include', and 'share' installation directories.
@@ -87,7 +115,7 @@ endif ()
# # Add the sub project
# add_subdirectory (Utilities/hdf5-1.8)
#-----------------------------------------------------------------------------
string(TIMESTAMP CONFIG_DATE "%Y-%m-%d")
string (TIMESTAMP CONFIG_DATE "%Y-%m-%d")
#-----------------------------------------------------------------------------
# Allow Visual Studio solution directories
@@ -109,19 +137,20 @@ mark_as_advanced (ALLOW_UNSUPPORTED)
#-----------------------------------------------------------------------------
# Set the core names of all the libraries
#-----------------------------------------------------------------------------
set (HDF5_LIB_CORENAME "hdf5")
set (HDF5_TEST_LIB_CORENAME "hdf5_test")
set (HDF5_CPP_LIB_CORENAME "hdf5_cpp")
set (HDF5_HL_LIB_CORENAME "hdf5_hl")
set (HDF5_HL_CPP_LIB_CORENAME "hdf5_hl_cpp")
set (HDF5_TOOLS_LIB_CORENAME "hdf5_tools")
set (HDF5_F90_LIB_CORENAME "hdf5_fortran")
set (HDF5_F90_C_LIB_CORENAME "hdf5_f90cstub")
set (HDF5_F90_TEST_LIB_CORENAME "hdf5_test_fortran")
set (HDF5_F90_C_TEST_LIB_CORENAME "hdf5_test_f90cstub")
set (HDF5_HL_F90_LIB_CORENAME "hdf5_hl_fortran")
set (HDF5_HL_F90_C_LIB_CORENAME "hdf5_hl_f90cstub")
set (HDF5_JAVA_JNI_LIB_CORENAME "hdf5_java")
set (HDF5_LIB_CORENAME "hdf5${HDF5_LIB_INFIX}")
set (HDF5_TEST_LIB_CORENAME "hdf5${HDF5_LIB_INFIX}_test")
set (HDF5_CPP_LIB_CORENAME "hdf5${HDF5_LIB_INFIX}_cpp")
set (HDF5_HL_LIB_CORENAME "hdf5${HDF5_LIB_INFIX}_hl")
set (HDF5_HL_CPP_LIB_CORENAME "hdf5${HDF5_LIB_INFIX}_hl_cpp")
set (HDF5_TOOLS_LIB_CORENAME "hdf5${HDF5_LIB_INFIX}_tools")
set (HDF5_UTILS_LIB_CORENAME "hdf5${HDF5_LIB_INFIX}_utils")
set (HDF5_F90_LIB_CORENAME "hdf5${HDF5_LIB_INFIX}_fortran")
set (HDF5_F90_C_LIB_CORENAME "hdf5${HDF5_LIB_INFIX}_f90cstub")
set (HDF5_F90_TEST_LIB_CORENAME "hdf5${HDF5_LIB_INFIX}_test_fortran")
set (HDF5_F90_C_TEST_LIB_CORENAME "hdf5${HDF5_LIB_INFIX}_test_f90cstub")
set (HDF5_HL_F90_LIB_CORENAME "hdf5${HDF5_LIB_INFIX}_hl_fortran")
set (HDF5_HL_F90_C_LIB_CORENAME "hdf5${HDF5_LIB_INFIX}_hl_f90cstub")
set (HDF5_JAVA_JNI_LIB_CORENAME "hdf5${HDF5_LIB_INFIX}_java")
set (HDF5_JAVA_HDF5_LIB_CORENAME "jarhdf5")
set (HDF5_JAVA_TEST_LIB_CORENAME "jartest5")
@@ -134,6 +163,7 @@ set (HDF5_CPP_LIB_NAME "${HDF5_EXTERNAL_LIB_PREFIX}${HDF5_CPP_LIB_COREN
set (HDF5_HL_LIB_NAME "${HDF5_EXTERNAL_LIB_PREFIX}${HDF5_HL_LIB_CORENAME}")
set (HDF5_HL_CPP_LIB_NAME "${HDF5_EXTERNAL_LIB_PREFIX}${HDF5_HL_CPP_LIB_CORENAME}")
set (HDF5_TOOLS_LIB_NAME "${HDF5_EXTERNAL_LIB_PREFIX}${HDF5_TOOLS_LIB_CORENAME}")
set (HDF5_UTILS_LIB_NAME "${HDF5_EXTERNAL_LIB_PREFIX}${HDF5_UTILS_LIB_CORENAME}")
set (HDF5_F90_LIB_NAME "${HDF5_EXTERNAL_LIB_PREFIX}${HDF5_F90_LIB_CORENAME}")
set (HDF5_F90_C_LIB_NAME "${HDF5_EXTERNAL_LIB_PREFIX}${HDF5_F90_C_LIB_CORENAME}")
set (HDF5_F90_TEST_LIB_NAME "${HDF5_EXTERNAL_LIB_PREFIX}${HDF5_F90_TEST_LIB_CORENAME}")
@@ -153,6 +183,7 @@ set (HDF5_CPP_LIB_TARGET "${HDF5_CPP_LIB_CORENAME}-static")
set (HDF5_HL_LIB_TARGET "${HDF5_HL_LIB_CORENAME}-static")
set (HDF5_HL_CPP_LIB_TARGET "${HDF5_HL_CPP_LIB_CORENAME}-static")
set (HDF5_TOOLS_LIB_TARGET "${HDF5_TOOLS_LIB_CORENAME}-static")
set (HDF5_UTILS_LIB_TARGET "${HDF5_UTILS_LIB_CORENAME}-static")
set (HDF5_F90_LIB_TARGET "${HDF5_F90_LIB_CORENAME}-static")
set (HDF5_F90_C_LIB_TARGET "${HDF5_F90_C_LIB_CORENAME}-static")
set (HDF5_F90_TEST_LIB_TARGET "${HDF5_F90_TEST_LIB_CORENAME}-static")
@@ -168,6 +199,7 @@ set (HDF5_CPP_LIBSH_TARGET "${HDF5_CPP_LIB_CORENAME}-shared")
set (HDF5_HL_LIBSH_TARGET "${HDF5_HL_LIB_CORENAME}-shared")
set (HDF5_HL_CPP_LIBSH_TARGET "${HDF5_HL_CPP_LIB_CORENAME}-shared")
set (HDF5_TOOLS_LIBSH_TARGET "${HDF5_TOOLS_LIB_CORENAME}-shared")
set (HDF5_UTILS_LIBSH_TARGET "${HDF5_UTILS_LIB_CORENAME}-shared")
set (HDF5_F90_LIBSH_TARGET "${HDF5_F90_LIB_CORENAME}-shared")
set (HDF5_F90_C_LIBSH_TARGET "${HDF5_F90_C_LIB_CORENAME}-shared")
set (HDF5_F90_TEST_LIBSH_TARGET "${HDF5_F90_TEST_LIB_CORENAME}-shared")
@@ -178,6 +210,7 @@ set (HDF5_HL_F90_C_LIBSH_TARGET "${HDF5_HL_F90_C_LIB_CORENAME}-shared")
#-----------------------------------------------------------------------------
# Define some CMake variables for use later in the project
#-----------------------------------------------------------------------------
set (HDF_CONFIG_DIR ${HDF5_SOURCE_DIR}/config)
set (HDF_RESOURCES_DIR ${HDF5_SOURCE_DIR}/config/cmake)
set (HDF_RESOURCES_EXT_DIR ${HDF5_SOURCE_DIR}/config/cmake_ext_mod)
set (HDF5_SRC_DIR ${HDF5_SOURCE_DIR}/src)
@@ -190,6 +223,7 @@ set (HDF5_HL_TOOLS_DIR ${HDF5_SOURCE_DIR}/hl/tools)
set (HDF5_TOOLS_DIR ${HDF5_SOURCE_DIR}/tools)
set (HDF5_TOOLS_SRC_DIR ${HDF5_SOURCE_DIR}/tools/src)
set (HDF5_PERFORM_SRC_DIR ${HDF5_SOURCE_DIR}/tools/src/perform)
set (HDF5_UTILS_DIR ${HDF5_SOURCE_DIR}/utils)
set (HDF5_F90_SRC_DIR ${HDF5_SOURCE_DIR}/fortran)
set (HDF5_JAVA_JNI_SRC_DIR ${HDF5_SOURCE_DIR}/java/src/jni)
set (HDF5_JAVA_HDF5_SRC_DIR ${HDF5_SOURCE_DIR}/java/src/hdf)
@@ -198,6 +232,7 @@ set (HDF5_JAVA_LIB_DIR ${HDF5_SOURCE_DIR}/java/lib)
set (HDF5_JAVA_LOGGING_JAR ${HDF5_SOURCE_DIR}/java/lib/slf4j-api-1.7.25.jar)
set (HDF5_JAVA_LOGGING_NOP_JAR ${HDF5_SOURCE_DIR}/java/lib/ext/slf4j-nop-1.7.25.jar)
set (HDF5_JAVA_LOGGING_SIMPLE_JAR ${HDF5_SOURCE_DIR}/java/lib/ext/slf4j-simple-1.7.25.jar)
set (HDF5_DOXYGEN_DIR ${HDF5_SOURCE_DIR}/doxygen)
#-----------------------------------------------------------------------------
# parse the full version number from H5public.h and include in H5_VERS_INFO
@@ -209,9 +244,11 @@ string (REGEX REPLACE ".*#define[ \t]+H5_VERS_MINOR[ \t]+([0-9]*).*$"
"\\1" H5_VERS_MINOR ${_h5public_h_contents})
string (REGEX REPLACE ".*#define[ \t]+H5_VERS_RELEASE[ \t]+([0-9]*).*$"
"\\1" H5_VERS_RELEASE ${_h5public_h_contents})
string (REGEX REPLACE ".*#define[ \t]+H5_VERS_SUBRELEASE[ \t]+\"([0-9A-Za-z._]*)\".*$"
string (REGEX REPLACE ".*#define[ \t]+H5_VERS_SUBRELEASE[ \t]+\"([0-9A-Za-z._-]*)\".*$"
"\\1" H5_VERS_SUBRELEASE ${_h5public_h_contents})
#message (STATUS "VERSION: ${H5_VERS_MAJOR}.${H5_VERS_MINOR}.${H5_VERS_RELEASE}-${H5_VERS_SUBRELEASE}")
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
message (TRACE "VERSION: ${H5_VERS_MAJOR}.${H5_VERS_MINOR}.${H5_VERS_RELEASE}-${H5_VERS_SUBRELEASE}")
endif ()
#-----------------------------------------------------------------------------
# parse the full soversion number from config/lt_vers.am and include in H5_SOVERS_INFO
@@ -224,7 +261,9 @@ string (REGEX REPLACE ".*LT_VERS_REVISION[ \t]+=[ \t]+([0-9]*).*$"
string (REGEX REPLACE ".*LT_VERS_AGE[ \t]+=[ \t]+([0-9]*).*$"
"\\1" H5_LIB_SOVERS_RELEASE ${_lt_vers_am_contents})
math (EXPR H5_LIB_SOVERS_MAJOR ${H5_LIB_SOVERS_INTERFACE}-${H5_LIB_SOVERS_RELEASE})
message (STATUS "SOVERSION: ${H5_LIB_SOVERS_MAJOR}.${H5_LIB_SOVERS_RELEASE}.${H5_LIB_SOVERS_MINOR}")
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
message (VERBOSE "SOVERSION: ${H5_LIB_SOVERS_MAJOR}.${H5_LIB_SOVERS_RELEASE}.${H5_LIB_SOVERS_MINOR}")
endif ()
string (REGEX MATCH ".*LT_TOOLS_VERS_INTERFACE[ \t]+=[ \t]+([0-9]*).*$" H5_TOOLS_SOVERS_EXISTS ${_lt_vers_am_contents})
if (H5_TOOLS_SOVERS_EXISTS)
string (REGEX REPLACE ".*LT_TOOLS_VERS_INTERFACE[ \t]+=[ \t]+([0-9]*).*$"
@@ -234,7 +273,9 @@ if (H5_TOOLS_SOVERS_EXISTS)
string (REGEX REPLACE ".*LT_TOOLS_VERS_AGE[ \t]+=[ \t]+([0-9]*).*$"
"\\1" H5_TOOLS_SOVERS_RELEASE ${_lt_vers_am_contents})
math (EXPR H5_TOOLS_SOVERS_MAJOR ${H5_TOOLS_SOVERS_INTERFACE}-${H5_TOOLS_SOVERS_RELEASE})
message (STATUS "SOVERSION_TOOLS: ${H5_TOOLS_SOVERS_MAJOR}.${H5_TOOLS_SOVERS_RELEASE}.${H5_TOOLS_SOVERS_MINOR}")
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
message (VERBOSE "SOVERSION_TOOLS: ${H5_TOOLS_SOVERS_MAJOR}.${H5_TOOLS_SOVERS_RELEASE}.${H5_TOOLS_SOVERS_MINOR}")
endif ()
endif ()
string (REGEX MATCH ".*LT_CXX_VERS_INTERFACE[ \t]+=[ \t]+([0-9]*).*$" H5_CXX_SOVERS_EXISTS ${_lt_vers_am_contents})
if (H5_CXX_SOVERS_EXISTS)
@@ -245,7 +286,9 @@ if (H5_CXX_SOVERS_EXISTS)
string (REGEX REPLACE ".*LT_CXX_VERS_AGE[ \t]+=[ \t]+([0-9]*).*$"
"\\1" H5_CXX_SOVERS_RELEASE ${_lt_vers_am_contents})
math (EXPR H5_CXX_SOVERS_MAJOR ${H5_CXX_SOVERS_INTERFACE}-${H5_CXX_SOVERS_RELEASE})
message (STATUS "SOVERSION_CXX: ${H5_CXX_SOVERS_MAJOR}.${H5_CXX_SOVERS_RELEASE}.${H5_CXX_SOVERS_MINOR}")
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
message (VERBOSE "SOVERSION_CXX: ${H5_CXX_SOVERS_MAJOR}.${H5_CXX_SOVERS_RELEASE}.${H5_CXX_SOVERS_MINOR}")
endif ()
endif ()
string (REGEX MATCH ".*LT_F_VERS_INTERFACE[ \t]+=[ \t]+([0-9]*).*$" H5_F_SOVERS_EXISTS ${_lt_vers_am_contents})
if (H5_F_SOVERS_EXISTS)
@@ -256,7 +299,9 @@ if (H5_F_SOVERS_EXISTS)
string (REGEX REPLACE ".*LT_F_VERS_AGE[ \t]+=[ \t]+([0-9]*).*$"
"\\1" H5_F_SOVERS_RELEASE ${_lt_vers_am_contents})
math (EXPR H5_F_SOVERS_MAJOR ${H5_F_SOVERS_INTERFACE}-${H5_F_SOVERS_RELEASE})
message (STATUS "SOVERSION_F: ${H5_F_SOVERS_MAJOR}.${H5_F_SOVERS_RELEASE}.${H5_F_SOVERS_MINOR}")
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
message (VERBOSE "SOVERSION_F: ${H5_F_SOVERS_MAJOR}.${H5_F_SOVERS_RELEASE}.${H5_F_SOVERS_MINOR}")
endif ()
endif ()
string (REGEX MATCH ".*LT_HL_VERS_INTERFACE[ \t]+=[ \t]+([0-9]*).*$" H5_HL_SOVERS_EXISTS ${_lt_vers_am_contents})
if (H5_HL_SOVERS_EXISTS)
@@ -267,7 +312,9 @@ if (H5_HL_SOVERS_EXISTS)
string (REGEX REPLACE ".*LT_HL_VERS_AGE[ \t]+=[ \t]+([0-9]*).*$"
"\\1" H5_HL_SOVERS_RELEASE ${_lt_vers_am_contents})
math (EXPR H5_HL_SOVERS_MAJOR ${H5_HL_SOVERS_INTERFACE}-${H5_HL_SOVERS_RELEASE})
message (STATUS "SOVERSION_HL: ${H5_HL_SOVERS_MAJOR}.${H5_HL_SOVERS_RELEASE}.${H5_HL_SOVERS_MINOR}")
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
message (VERBOSE "SOVERSION_HL: ${H5_HL_SOVERS_MAJOR}.${H5_HL_SOVERS_RELEASE}.${H5_HL_SOVERS_MINOR}")
endif ()
endif ()
string (REGEX MATCH ".*LT_HL_CXX_VERS_INTERFACE[ \t]+=[ \t]+([0-9]*).*$" H5_HL_CXX_SOVERS_EXISTS ${_lt_vers_am_contents})
if (H5_HL_CXX_SOVERS_EXISTS)
@@ -278,7 +325,9 @@ if (H5_HL_CXX_SOVERS_EXISTS)
string (REGEX REPLACE ".*LT_HL_CXX_VERS_AGE[ \t]+=[ \t]+([0-9]*).*$"
"\\1" H5_HL_CXX_SOVERS_RELEASE ${_lt_vers_am_contents})
math (EXPR H5_HL_CXX_SOVERS_MAJOR ${H5_HL_CXX_SOVERS_INTERFACE}-${H5_HL_CXX_SOVERS_RELEASE})
message (STATUS "SOVERSION_HL_CXX: ${H5_HL_CXX_SOVERS_MAJOR}.${H5_HL_CXX_SOVERS_RELEASE}.${H5_HL_CXX_SOVERS_MINOR}")
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
message (VERBOSE "SOVERSION_HL_CXX: ${H5_HL_CXX_SOVERS_MAJOR}.${H5_HL_CXX_SOVERS_RELEASE}.${H5_HL_CXX_SOVERS_MINOR}")
endif ()
endif ()
string (REGEX MATCH ".*LT_HL_F_VERS_INTERFACE[ \t]+=[ \t]+([0-9]*).*$" H5_HL_F_SOVERS_EXISTS ${_lt_vers_am_contents})
if (H5_HL_F_SOVERS_EXISTS)
@@ -289,7 +338,9 @@ if (H5_HL_F_SOVERS_EXISTS)
string (REGEX REPLACE ".*LT_HL_F_VERS_AGE[ \t]+=[ \t]+([0-9]*).*$"
"\\1" H5_HL_F_SOVERS_RELEASE ${_lt_vers_am_contents})
math (EXPR H5_HL_F_SOVERS_MAJOR ${H5_HL_F_SOVERS_INTERFACE}-${H5_HL_F_SOVERS_RELEASE})
message (STATUS "SOVERSION_HL_F: ${H5_HL_F_SOVERS_MAJOR}.${H5_HL_F_SOVERS_RELEASE}.${H5_HL_F_SOVERS_MINOR}")
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
message (VERBOSE "SOVERSION_HL_F: ${H5_HL_F_SOVERS_MAJOR}.${H5_HL_F_SOVERS_RELEASE}.${H5_HL_F_SOVERS_MINOR}")
endif ()
endif ()
string (REGEX MATCH ".*LT_JAVA_VERS_INTERFACE[ \t]+=[ \t]+([0-9]*).*$" H5_JAVA_SOVERS_EXISTS ${_lt_vers_am_contents})
if(H5_JAVA_SOVERS_EXISTS)
@@ -300,7 +351,9 @@ if(H5_JAVA_SOVERS_EXISTS)
string (REGEX REPLACE ".*LT_JAVA_VERS_AGE[ \t]+=[ \t]+([0-9]*).*$"
"\\1" H5_JAVA_SOVERS_RELEASE ${_lt_vers_am_contents})
math (EXPR H5_JAVA_SOVERS_MAJOR ${H5_JAVA_SOVERS_INTERFACE}-${H5_JAVA_SOVERS_RELEASE})
message (STATUS "SOVERSION_JAVA: ${H5_JAVA_SOVERS_MAJOR}.${H5_JAVA_SOVERS_RELEASE}.${H5_JAVA_SOVERS_MINOR}")
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
message (VERBOSE "SOVERSION_JAVA: ${H5_JAVA_SOVERS_MAJOR}.${H5_JAVA_SOVERS_RELEASE}.${H5_JAVA_SOVERS_MINOR}")
endif ()
endif ()
#-----------------------------------------------------------------------------
@@ -311,10 +364,12 @@ set (HDF5_PACKAGE_NAME "HDF5")
set (HDF5_PACKAGE_VERSION "${H5_VERS_MAJOR}.${H5_VERS_MINOR}.${H5_VERS_RELEASE}")
set (HDF5_PACKAGE_VERSION_MAJOR "${H5_VERS_MAJOR}.${H5_VERS_MINOR}")
set (HDF5_PACKAGE_VERSION_MINOR "${H5_VERS_RELEASE}")
if (NOT "${H5_VERS_SUBRELEASE}" STREQUAL "")
set (HDF5_PACKAGE_VERSION_STRING "${HDF5_PACKAGE_VERSION}-${H5_VERS_SUBRELEASE}")
if (H5_VERS_SUBRELEASE)
set (HDF5_PACKAGE_VERSION_STRING "${HDF5_PACKAGE_VERSION}.${H5_VERS_SUBRELEASE}")
set (HDF5_RELEASE_VERSION_STRING "${HDF5_PACKAGE_VERSION}-${H5_VERS_SUBRELEASE}")
else ()
set (HDF5_PACKAGE_VERSION_STRING "${HDF5_PACKAGE_VERSION}")
set (HDF5_RELEASE_VERSION_STRING "${HDF5_PACKAGE_VERSION}")
endif ()
set (HDF5_LIB_PACKAGE_SOVERSION "${H5_LIB_SOVERS_MAJOR}.${H5_LIB_SOVERS_RELEASE}.${H5_LIB_SOVERS_MINOR}")
set (HDF5_LIB_PACKAGE_SOVERSION_MAJOR "${H5_LIB_SOVERS_MAJOR}")
@@ -380,6 +435,7 @@ include (${HDF_RESOURCES_EXT_DIR}/HDFMacros.cmake)
HDF_DIR_PATHS(${HDF5_PACKAGE_NAME})
include (${HDF_RESOURCES_EXT_DIR}/HDFLibMacros.cmake)
include (${HDF_RESOURCES_DIR}/HDF5PluginMacros.cmake)
include (${HDF_RESOURCES_DIR}/HDF5Macros.cmake)
#-----------------------------------------------------------------------------
@@ -413,24 +469,56 @@ set (CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE ON)
# Mac OS X Options
#-----------------------------------------------------------------------------
if (HDF5_BUILD_FRAMEWORKS AND NOT BUILD_SHARED_LIBS)
set (BUILD_SHARED_LIBS ON CACHE BOOL "Build Shared Libraries")
set (BUILD_SHARED_LIBS ON CACHE BOOL "Build Shared Libraries" FORCE)
endif ()
#-----------------------------------------------------------------------------
# Option to Build Shared and Static libs, default is both
#-----------------------------------------------------------------------------
option (BUILD_STATIC_LIBS "Build Static Libraries" ON)
set (H5_ENABLE_STATIC_LIB NO)
option (BUILD_SHARED_LIBS "Build Shared Libraries" ON)
set (H5_ENABLE_SHARED_LIB NO)
option (ONLY_SHARED_LIBS "Only Build Shared Libraries" OFF)
mark_as_advanced (ONLY_SHARED_LIBS)
if (BUILD_STATIC_LIBS)
set (H5_ENABLE_STATIC_LIB YES)
endif ()
if (BUILD_SHARED_LIBS)
set (H5_ENABLE_SHARED_LIB YES)
endif ()
set (H5_ENABLE_STATIC_LIB YES)
# Force only shared libraries if all OFF
if (NOT BUILD_STATIC_LIBS AND NOT BUILD_SHARED_LIBS)
set (ONLY_SHARED_LIBS ON CACHE BOOL "Only Build Shared Libraries" FORCE)
endif ()
if (ONLY_SHARED_LIBS)
set (H5_ENABLE_STATIC_LIB NO)
set (BUILD_SHARED_LIBS ON CACHE BOOL "Build Shared Libraries")
endif ()
set (CMAKE_POSITION_INDEPENDENT_CODE ON)
if (NOT BUILD_SHARED_LIBS)
set (tgt_file_ext "")
else ()
set (tgt_file_ext "-shared")
endif ()
#-----------------------------------------------------------------------------
# perl is used in some optional src and tests, check availability
find_package (Perl)
if (PERL_FOUND)
set (H5_PERL_FOUND YES)
endif ()
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# Option to Build Static executables
#-----------------------------------------------------------------------------
option (BUILD_STATIC_EXECS "Build Static Executabless" OFF)
option (BUILD_STATIC_EXECS "Build Static Executables" OFF)
if (BUILD_STATIC_EXECS)
if (NOT WIN32)
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -static")
@@ -438,14 +526,40 @@ if (BUILD_STATIC_EXECS)
endif ()
endif ()
option (HDF5_ENABLE_ANALYZER_TOOLS "enable the use of Clang tools" OFF)
mark_as_advanced (HDF5_ENABLE_ANALYZER_TOOLS)
if (HDF5_ENABLE_ANALYZER_TOOLS)
include (${HDF5_SOURCE_DIR}/config/sanitizer/tools.cmake)
endif ()
option (HDF5_ENABLE_SANITIZERS "execute the Clang sanitizer" OFF)
mark_as_advanced (HDF5_ENABLE_SANITIZERS)
if (HDF5_ENABLE_SANITIZERS)
include (${HDF5_SOURCE_DIR}/config/sanitizer/sanitizers.cmake)
endif ()
option (HDF5_ENABLE_FORMATTERS "format source files" OFF)
mark_as_advanced (HDF5_ENABLE_FORMATTERS)
if (HDF5_ENABLE_FORMATTERS)
include (${HDF5_SOURCE_DIR}/config/sanitizer/formatting.cmake)
endif ()
#-----------------------------------------------------------------------------
# Option to use code coverage
#-----------------------------------------------------------------------------
option (HDF5_ENABLE_COVERAGE "Enable code coverage for Libraries and Programs" OFF)
if (HDF5_ENABLE_COVERAGE)
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -O0 -fprofile-arcs -ftest-coverage")
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O0 -fprofile-arcs -ftest-coverage")
set (LDFLAGS "${LDFLAGS} -fprofile-arcs -ftest-coverage")
include (${HDF5_SOURCE_DIR}/config/sanitizer/code-coverage.cmake)
if(CODE_COVERAGE AND CODE_COVERAGE_ADDED)
add_code_coverage () # Adds instrumentation to all targets
else ()
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -O0 --coverage -fprofile-arcs -ftest-coverage")
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g --coverage -O0 -fprofile-arcs -ftest-coverage")
if (CMAKE_C_COMPILER_ID STREQUAL "GNU")
set (LDFLAGS "${LDFLAGS} -fprofile-arcs -ftest-coverage")
link_libraries (gcov)
else ()
set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} --coverage")
endif ()
endif ()
endif ()
#-----------------------------------------------------------------------------
@@ -473,6 +587,15 @@ if (HDF5_MEMORY_ALLOC_SANITY_CHECK)
set (H5_MEMORY_ALLOC_SANITY_CHECK 1)
endif ()
#-----------------------------------------------------------------------------
# Option to enable/disable using pread/pwrite for VFDs
#-----------------------------------------------------------------------------
option (HDF5_ENABLE_PREADWRITE "Use pread/pwrite in sec2/log/core VFDs in place of read/write (when available)" ON)
mark_as_advanced (HDF5_ENABLE_PREADWRITE)
if (HDF5_ENABLE_PREADWRITE AND H5_HAVE_PREAD AND H5_HAVE_PWRITE)
set (H5_HAVE_PREADWRITE 1)
endif ()
#-----------------------------------------------------------------------------
# Option to use deprecated public API symbols
#-----------------------------------------------------------------------------
@@ -489,14 +612,15 @@ endif ()
# Certain systems may add /Debug or /Release to output paths
# and we need to call the executable from inside the CMake configuration
#-----------------------------------------------------------------------------
set (EXE_EXT "")
if (WIN32)
set (EXE_EXT ".exe")
add_definitions (-D_BIND_TO_CURRENT_VCLIBS_VERSION=1)
add_definitions (-D_CRT_SECURE_NO_WARNINGS)
add_definitions (-D_CONSOLE)
add_compile_definitions (_CRT_SECURE_NO_WARNINGS)
if (MSVC)
add_compile_definitions (_BIND_TO_CURRENT_VCLIBS_VERSION=1 _CONSOLE)
endif ()
endif ()
option (HDF5_MINGW_STATIC_GCC_LIBS "Statically link libgcc/libstdc++" OFF)
if (MSVC)
set (CMAKE_MFC_FLAG 0)
set (WIN_COMPILE_FLAGS "")
@@ -504,7 +628,7 @@ if (MSVC)
endif ()
set (MAKE_SYSTEM)
if (CMAKE_BUILD_TOOL MATCHES "make")
if (CMAKE_MAKE_PROGRAM MATCHES "make")
set (MAKE_SYSTEM 1)
endif ()
@@ -543,11 +667,32 @@ else ()
endif ()
include (${HDF_RESOURCES_DIR}/HDFCompilerFlags.cmake)
set (CMAKE_MODULE_PATH ${HDF_RESOURCES_DIR} ${HDF_RESOURCES_EXT_DIR} ${CMAKE_MODULE_PATH})
#-----------------------------------------------------------------------------
# Option to Enable HDFS
#-----------------------------------------------------------------------------
option (HDF5_ENABLE_HDFS "Enable HDFS" OFF)
if (HDF5_ENABLE_HDFS)
find_package(JNI REQUIRED)
if (JNI_FOUND)
set (H5_HAVE_LIBJVM 1)
endif ()
find_package(HDFS REQUIRED)
if (HDFS_FOUND)
set (H5_HAVE_LIBHDFS 1)
set (H5_HAVE_HDFS_H 1)
if (NOT MSVC)
list (APPEND LINK_LIBS -pthread)
endif ()
else ()
message (FATAL_ERROR "Set to use libhdfs library, but could not find or use libhdfs. Please verify that the path to HADOOP_HOME is valid, and/or reconfigure without HDF5_ENABLE_HDFS")
endif ()
endif ()
#-----------------------------------------------------------------------------
# Option to Enable MPI Parallel
#-----------------------------------------------------------------------------
set (CMAKE_MODULE_PATH ${HDF_RESOURCES_DIR} ${HDF_RESOURCES_EXT_DIR} ${CMAKE_MODULE_PATH})
option (HDF5_ENABLE_PARALLEL "Enable parallel build (requires MPI)" OFF)
if (HDF5_ENABLE_PARALLEL)
find_package(MPI REQUIRED)
@@ -555,12 +700,33 @@ if (HDF5_ENABLE_PARALLEL)
set (H5_HAVE_PARALLEL 1)
# MPI checks, only do these if MPI_C_FOUND is true, otherwise they always fail
# and once set, they are cached as false and not regenerated
set (CMAKE_REQUIRED_LIBRARIES "${MPI_C_LIBRARIES}" )
set (CMAKE_REQUIRED_LIBRARIES "${MPI_C_LIBRARIES}")
set (CMAKE_REQUIRED_INCLUDES "${MPI_C_INCLUDE_DIRS}")
# Used by Fortran + MPI
CHECK_SYMBOL_EXISTS (MPI_Comm_c2f "${MPI_C_INCLUDE_DIRS}/mpi.h" H5_HAVE_MPI_MULTI_LANG_Comm)
CHECK_SYMBOL_EXISTS (MPI_Info_c2f "${MPI_C_INCLUDE_DIRS}/mpi.h" H5_HAVE_MPI_MULTI_LANG_Info)
CHECK_SYMBOL_EXISTS (MPI_Comm_c2f "mpi.h" H5_HAVE_MPI_MULTI_LANG_Comm)
CHECK_SYMBOL_EXISTS (MPI_Info_c2f "mpi.h" H5_HAVE_MPI_MULTI_LANG_Info)
# Used by Parallel Compression feature
set (PARALLEL_FILTERED_WRITES ON)
CHECK_SYMBOL_EXISTS (MPI_Mprobe "mpi.h" H5_HAVE_MPI_Mprobe)
CHECK_SYMBOL_EXISTS (MPI_Imrecv "mpi.h" H5_HAVE_MPI_Imrecv)
if (NOT H5_HAVE_MPI_Mprobe OR NOT H5_HAVE_MPI_Imrecv)
message (WARNING "The MPI_Mprobe and/or MPI_Imrecv functions could not be located.
Parallel writes of filtered data will be disabled.")
set (PARALLEL_FILTERED_WRITES OFF)
endif ()
# Used by big I/O feature
set (LARGE_PARALLEL_IO ON)
CHECK_SYMBOL_EXISTS (MPI_Get_elements_x "mpi.h" H5_HAVE_MPI_Get_elements_x)
CHECK_SYMBOL_EXISTS (MPI_Type_size_x "mpi.h" H5_HAVE_MPI_Type_size_x)
if (NOT H5_HAVE_MPI_Get_elements_x OR NOT H5_HAVE_MPI_Type_size_x)
message (WARNING "The MPI_Get_elements_x and/or MPI_Type_size_x functions could not be located.
Reading/Writing >2GB of data in a single parallel I/O operation will be disabled.")
set (LARGE_PARALLEL_IO OFF)
endif ()
else ()
message (STATUS "Parallel libraries not found")
message (FATAL_ERROR "Parallel libraries not found")
endif ()
endif ()
@@ -572,25 +738,34 @@ if (H5_HAVE_PARALLEL)
endif ()
endif ()
set (DEFAULT_API_VERSION "v110")
#option (DEFAULT_API_VERSION "Enable v1.10 API (v16, v18, v110)" "v110")
set (DEFAULT_API_VERSION "v110" CACHE STRING "Enable v1.10 API (v16, v18, v110)")
set_property (CACHE DEFAULT_API_VERSION PROPERTY STRINGS v16 v18 v110)
#-----------------------------------------------------------------------------
# Option to use 1.6.x API
#-----------------------------------------------------------------------------
option (HDF5_USE_16_API_DEFAULT "Use the HDF5 1.6.x API by default" OFF)
set (H5_USE_16_API_DEFAULT 0)
if (HDF5_USE_16_API_DEFAULT)
if (DEFAULT_API_VERSION MATCHES "v16")
set (H5_USE_16_API_DEFAULT 1)
set (DEFAULT_API_VERSION "v16")
endif ()
#-----------------------------------------------------------------------------
# Option to use 1.8.x API
#-----------------------------------------------------------------------------
option (HDF5_USE_18_API_DEFAULT "Use the HDF5 1.8.x API by default" OFF)
set (H5_USE_18_API_DEFAULT 0)
if (HDF5_USE_18_API_DEFAULT)
if (DEFAULT_API_VERSION MATCHES "v18")
set (H5_USE_18_API_DEFAULT 1)
set (DEFAULT_API_VERSION "v18")
endif ()
#-----------------------------------------------------------------------------
# Option to use 1.10.x API
#-----------------------------------------------------------------------------
if (NOT DEFAULT_API_VERSION)
set (DEFAULT_API_VERSION "v110")
endif ()
set (H5_USE_110_API_DEFAULT 0)
if (DEFAULT_API_VERSION MATCHES "v110")
set (H5_USE_110_API_DEFAULT 1)
endif ()
#-----------------------------------------------------------------------------
@@ -619,54 +794,69 @@ if (NOT HDF5_EXTERNALLY_CONFIGURED)
endif ()
endif ()
endif ()
#-----------------------------------------------------------------------------
# Option to use threadsafe
#-----------------------------------------------------------------------------
option (HDF5_ENABLE_THREADSAFE "Enable thread-safety" OFF)
if (HDF5_ENABLE_THREADSAFE)
# check for unsupported options
message (STATUS " **** thread-safety option not supported with static library **** ")
message (STATUS " **** thread-safety option will not be used building static library **** ")
if (WIN32)
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
message (VERBOSE " **** thread-safety option not supported with static library **** ")
message (VERBOSE " **** thread-safety option will not be used building static library **** ")
endif ()
endif ()
if (HDF5_ENABLE_PARALLEL)
if (NOT ALLOW_UNSUPPORTED)
message (FATAL_ERROR " **** parallel and thread-safety options are not supported **** ")
message (FATAL_ERROR " **** parallel and thread-safety options are not supported, override with ALLOW_UNSUPPORTED option **** ")
else ()
message (STATUS " **** Allowing unsupported parallel and thread-safety options **** ")
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
message (VERBOSE " **** Allowing unsupported parallel and thread-safety options **** ")
endif ()
endif ()
endif ()
if (HDF5_BUILD_FORTRAN)
if (NOT ALLOW_UNSUPPORTED)
message (FATAL_ERROR " **** Fortran and thread-safety options are not supported **** ")
message (FATAL_ERROR " **** Fortran and thread-safety options are not supported, override with ALLOW_UNSUPPORTED option **** ")
else ()
message (STATUS " **** Allowing unsupported Fortran and thread-safety options **** ")
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
message (VERBOSE " **** Allowing unsupported Fortran and thread-safety options **** ")
endif ()
endif ()
endif ()
if (HDF5_BUILD_CPP_LIB)
if (NOT ALLOW_UNSUPPORTED)
message (FATAL_ERROR " **** C++ and thread-safety options are not supported **** ")
message (FATAL_ERROR " **** C++ and thread-safety options are not supported, override with ALLOW_UNSUPPORTED option **** ")
else ()
message (STATUS " **** Allowing unsupported C++ and thread-safety options **** ")
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
message (VERBOSE " **** Allowing unsupported C++ and thread-safety options **** ")
endif ()
endif ()
endif ()
if (HDF5_BUILD_HL_LIB)
if (NOT ALLOW_UNSUPPORTED)
message (FATAL_ERROR " **** HL and thread-safety options are not supported **** ")
message (FATAL_ERROR " **** HL and thread-safety options are not supported, override with ALLOW_UNSUPPORTED option **** ")
else ()
message (STATUS " **** Allowing unsupported HL and thread-safety options **** ")
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
message (VERBOSE " **** Allowing unsupported HL and thread-safety options **** ")
endif ()
endif ()
endif ()
if (H5_HAVE_IOEO)
message (STATUS " **** Win32 threads requires WINVER>=0x600 (Windows Vista/7/8) **** ")
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
message (VERBOSE " **** Win32 threads requires WINVER>=0x600 (Windows Vista/7/8) **** ")
endif ()
set (H5_HAVE_WIN_THREADS 1)
else ()
if (NOT H5_HAVE_PTHREAD_H)
message (FATAL_ERROR " **** thread-safe option requires Win32 threads or Pthreads **** ")
endif ()
endif ()
set(THREADS_PREFER_PTHREAD_FLAG ON)
find_package(Threads)
if (NOT Threads_FOUND)
message (STATUS " **** thread-safe package not found - threads still might work **** ")
set (THREADS_PREFER_PTHREAD_FLAG ON)
find_package (Threads REQUIRED)
if (Threads_FOUND)
set (H5_HAVE_THREADSAFE 1)
endif ()
endif ()
@@ -677,29 +867,53 @@ add_subdirectory (src)
if (HDF5_ALLOW_EXTERNAL_SUPPORT MATCHES "GIT" OR HDF5_ALLOW_EXTERNAL_SUPPORT MATCHES "TGZ")
if (ZLIB_FOUND AND ZLIB_USE_EXTERNAL)
add_dependencies (${HDF5_LIB_TARGET} ZLIB)
if (NOT ONLY_SHARED_LIBS)
add_dependencies (${HDF5_LIB_TARGET} ZLIB)
endif ()
if (BUILD_SHARED_LIBS)
add_dependencies (${HDF5_LIBSH_TARGET} ZLIB)
endif ()
endif ()
if (SZIP_FOUND AND SZIP_USE_EXTERNAL)
add_dependencies (${HDF5_LIB_TARGET} SZIP)
if (NOT ONLY_SHARED_LIBS)
add_dependencies (${HDF5_LIB_TARGET} SZIP)
endif ()
if (BUILD_SHARED_LIBS)
add_dependencies (${HDF5_LIBSH_TARGET} SZIP)
endif ()
endif ()
endif ()
#-----------------------------------------------------------------------------
# Option to build documentation
#-----------------------------------------------------------------------------
option (HDF5_BUILD_DOC "Build documentation" OFF)
if (HDF5_BUILD_DOC AND EXISTS "${HDF5_DOXYGEN_DIR}" AND IS_DIRECTORY "${HDF5_DOXYGEN_DIR}")
# check if Doxygen is installed
find_package(Doxygen)
if (DOXYGEN_FOUND)
message(STATUS "Doxygen version: ${DOXYGEN_VERSION}")
add_subdirectory (doxygen)
else ()
message(STATUS "Doxygen needs to be installed to generate the doxygen documentation")
endif ()
endif ()
#-----------------------------------------------------------------------------
# Dashboard and Testing Settings
#-----------------------------------------------------------------------------
option (BUILD_TESTING "Build HDF5 Unit Testing" ON)
if (BUILD_TESTING)
set (DART_TESTING_TIMEOUT 1200
CACHE INTEGER
CACHE STRING
"Timeout in seconds for each test (default 1200=20minutes)"
)
# Generate a list of timeouts based on DART_TESTING_TIMEOUT
math (EXPR CTEST_SHORT_TIMEOUT "${DART_TESTING_TIMEOUT} / 2")
math (EXPR CTEST_LONG_TIMEOUT "${DART_TESTING_TIMEOUT} * 2")
math (EXPR CTEST_VERY_LONG_TIMEOUT "${DART_TESTING_TIMEOUT} * 3")
option (HDF5_TEST_VFD "Execute tests with different VFDs" OFF)
mark_as_advanced (HDF5_TEST_VFD)
if (HDF5_TEST_VFD)
@@ -716,6 +930,30 @@ if (BUILD_TESTING)
include (${HDF5_SOURCE_DIR}/CTestConfig.cmake)
configure_file (${HDF_RESOURCES_DIR}/CTestCustom.cmake ${HDF5_BINARY_DIR}/CTestCustom.ctest @ONLY)
option (HDF5_TEST_SERIAL "Execute non-parallel tests" ON)
mark_as_advanced (HDF5_TEST_SERIAL)
option (HDF5_TEST_TOOLS "Execute tools tests" ON)
mark_as_advanced (HDF5_TEST_TOOLS)
option (HDF5_TEST_EXAMPLES "Execute tests on examples" ON)
mark_as_advanced (HDF5_TEST_EXAMPLES)
option (HDF5_TEST_SWMR "Execute SWMR tests" ON)
mark_as_advanced (HDF5_TEST_SWMR)
option (HDF5_TEST_PARALLEL "Execute parallel tests" ON)
mark_as_advanced (HDF5_TEST_PARALLEL)
option (HDF5_TEST_FORTRAN "Execute fortran tests" ON)
mark_as_advanced (HDF5_TEST_FORTRAN)
option (HDF5_TEST_CPP "Execute cpp tests" ON)
mark_as_advanced (HDF5_TEST_CPP)
option (HDF5_TEST_JAVA "Execute java tests" ON)
mark_as_advanced (HDF5_TEST_JAVA)
if (NOT HDF5_EXTERNALLY_CONFIGURED)
if (EXISTS "${HDF5_SOURCE_DIR}/test" AND IS_DIRECTORY "${HDF5_SOURCE_DIR}/test")
add_subdirectory (test)
@@ -728,6 +966,16 @@ if (BUILD_TESTING)
endif ()
endif ()
#-----------------------------------------------------------------------------
# Option to build HDF5 Utilities
#-----------------------------------------------------------------------------
if (EXISTS "${HDF5_SOURCE_DIR}/utils" AND IS_DIRECTORY "${HDF5_SOURCE_DIR}/utils")
option (HDF5_BUILD_UTILS "Build HDF5 Utils" ON)
if (HDF5_BUILD_UTILS)
add_subdirectory (utils)
endif ()
endif ()
#-----------------------------------------------------------------------------
# Option to build HDF5 Tools
#-----------------------------------------------------------------------------
@@ -738,6 +986,21 @@ if (EXISTS "${HDF5_SOURCE_DIR}/tools" AND IS_DIRECTORY "${HDF5_SOURCE_DIR}/tools
endif ()
endif ()
#-----------------------------------------------------------------------------
# Include filter plugins
#-----------------------------------------------------------------------------
include (CMakePlugins.cmake)
if (HDF5_PACKAGE_EXTLIBS AND NOT HDF5_NO_PACKAGES)
if (HDF5_ENABLE_PLUGIN_SUPPORT AND PLUGIN_FOUND)
PACKAGE_PLUGIN_LIBRARY (${HDF5_ALLOW_EXTERNAL_SUPPORT})
# option (HDF5_TEST_PLUGIN "Execute plugin tests" ON)
# mark_as_advanced (HDF5_TEST_PLUGIN)
# TEST_PLUGIN_LIBRARY ()
endif ()
endif ()
#-----------------------------------------------------------------------------
# Option to build examples
#-----------------------------------------------------------------------------
@@ -770,25 +1033,17 @@ set (H5_FC_FUNC_ "H5_FC_FUNC_(name,NAME) name ## _")
if (EXISTS "${HDF5_SOURCE_DIR}/fortran" AND IS_DIRECTORY "${HDF5_SOURCE_DIR}/fortran")
option (HDF5_BUILD_FORTRAN "Build FORTRAN support" OFF)
if (HDF5_BUILD_FORTRAN)
option (HDF5_ENABLE_F2003 "Enable FORTRAN 2003 Standard" ON)
include (${HDF_RESOURCES_EXT_DIR}/HDFUseFortran.cmake)
message (STATUS "Fortran compiler ID is ${CMAKE_Fortran_COMPILER_ID}")
# Building with PGI requires CMake 3.3 or greater because previous versions
# of CMake add the wrong compiler flag for the PGI Fortran compiler.
if ("${CMAKE_Fortran_COMPILER_ID}" MATCHES "PGI" AND "${CMAKE_VERSION}" VERSION_LESS "3.3")
message (FATAL_ERROR " **** PGI FORTRAN REQUIRES CMAKE VERSION 3.3 OR GREATER **** ")
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
message (VERBOSE "Fortran compiler ID is ${CMAKE_Fortran_COMPILER_ID}")
endif ()
include (${HDF_RESOURCES_DIR}/HDFFortranCompilerFlags.cmake)
include (${HDF_RESOURCES_DIR}/HDF5UseFortran.cmake)
set (LINK_Fortran_LIBS ${LINK_LIBS})
if (HDF5_ENABLE_F2003)
if (NOT FORTRAN_HAVE_ISO_C_BINDING)
set (HDF5_ENABLE_F2003 OFF)
endif ()
if (NOT H5_FORTRAN_HAVE_ISO_C_BINDING)
message (FATAL_ERROR " **** Fortran compiler lacks required Fortran 2003 features; unsupported Fortran 2003 compiler, disable HDF5_BUILD_FORTRAN **** ")
endif ()
# Parallel IO usage requires MPI to be Linked and Included
@@ -799,6 +1054,17 @@ if (EXISTS "${HDF5_SOURCE_DIR}/fortran" AND IS_DIRECTORY "${HDF5_SOURCE_DIR}/for
endif ()
endif ()
#option (HDF5_INSTALL_MOD_FORTRAN "Copy FORTRAN mod files to include directory (NO SHARED STATIC)" "NO")
set (HDF5_INSTALL_MOD_FORTRAN "SHARED" CACHE STRING "Copy FORTRAN mod files to include directory (NO SHARED STATIC)")
set_property (CACHE HDF5_INSTALL_MOD_FORTRAN PROPERTY STRINGS NO SHARED STATIC)
if (NOT HDF5_INSTALL_MOD_FORTRAN MATCHES "NO")
if (NOT BUILD_SHARED_LIBS AND BUILD_STATIC_LIBS)
set (HDF5_INSTALL_MOD_FORTRAN "STATIC")
elseif (BUILD_SHARED_LIBS AND NOT BUILD_STATIC_LIBS)
set (HDF5_INSTALL_MOD_FORTRAN "SHARED")
endif ()
endif ()
add_subdirectory (fortran)
if (HDF5_BUILD_HL_LIB)
if (EXISTS "${HDF5_SOURCE_DIR}/hl/fortran" AND IS_DIRECTORY "${HDF5_SOURCE_DIR}/hl/fortran")
@@ -813,22 +1079,22 @@ endif ()
# Option to build HDF5 C++ Library
#-----------------------------------------------------------------------------
if (EXISTS "${HDF5_SOURCE_DIR}/c++" AND IS_DIRECTORY "${HDF5_SOURCE_DIR}/c++")
option (HDF5_BUILD_CPP_LIB "Build HDF5 C++ Library" ON)
option (HDF5_BUILD_CPP_LIB "Build HDF5 C++ Library" OFF)
if (HDF5_BUILD_CPP_LIB)
# check for unsupported options
if (HDF5_ENABLE_PARALLEL)
if (NOT ALLOW_UNSUPPORTED)
message (FATAL_ERROR " **** Parallel and C++ options are mutually exclusive **** ")
message (FATAL_ERROR " **** Parallel and C++ options are mutually exclusive, override with ALLOW_UNSUPPORTED option **** ")
else ()
message (STATUS " **** Allowing unsupported Parallel and C++ options **** ")
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0")
message (VERBOSE " **** Allowing unsupported Parallel and C++ options **** ")
endif ()
endif ()
endif ()
include (${HDF_RESOURCES_EXT_DIR}/HDFUseCXX.cmake)
include (${HDF_RESOURCES_DIR}/HDFCXXCompilerFlags.cmake)
if (CMAKE_NO_STD_NAMESPACE)
set (H5_NO_STD 1)
endif ()
add_subdirectory (c++)
if (HDF5_BUILD_HL_LIB)
if (EXISTS "${HDF5_SOURCE_DIR}/hl/c++" AND IS_DIRECTORY "${HDF5_SOURCE_DIR}/hl/c++")
@@ -862,6 +1128,12 @@ endif ()
#-----------------------------------------------------------------------------
# Generate the H5pubconf.h file containing user settings needed by compilation
#-----------------------------------------------------------------------------
configure_file (${HDF_RESOURCES_DIR}/H5pubconf.h.in ${HDF5_BINARY_DIR}/H5pubconf.h @ONLY)
configure_file (${HDF_RESOURCES_DIR}/H5pubconf.h.in ${HDF5_SRC_BINARY_DIR}/H5pubconf.h @ONLY)
#-----------------------------------------------------------------------------
# Options for use by cross compiling and toolchains
#-----------------------------------------------------------------------------
option (HDF5_USE_PREGEN "Use pre-generated Files" OFF)
option (HDF5_BATCH_H5DETECT "Use a batch command for running h5detect" OFF)
include (CMakeInstallation.cmake)

56
CMakePlugins.cmake Normal file
View File

@@ -0,0 +1,56 @@
#
# Copyright by The HDF Group.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
include (ExternalProject)
#option (HDF5_ALLOW_EXTERNAL_SUPPORT "Allow External Library Building (NO GIT TGZ)" "NO")
set (HDF5_ALLOW_EXTERNAL_SUPPORT "NO" CACHE STRING "Allow External Library Building (NO GIT TGZ)")
set_property (CACHE HDF5_ALLOW_EXTERNAL_SUPPORT PROPERTY STRINGS NO GIT TGZ)
if (HDF5_ALLOW_EXTERNAL_SUPPORT MATCHES "GIT" OR HDF5_ALLOW_EXTERNAL_SUPPORT MATCHES "TGZ")
option (PLUGIN_USE_EXTERNAL "Use External Library Building for filter PLUGIN" 1)
if (HDF5_ALLOW_EXTERNAL_SUPPORT MATCHES "GIT")
set (PLUGIN_URL ${PLUGIN_GIT_URL} CACHE STRING "Path to PLUGIN git repository")
set (PLUGIN_BRANCH ${PLUGIN_GIT_BRANCH})
elseif (HDF5_ALLOW_EXTERNAL_SUPPORT MATCHES "TGZ")
if (NOT TGZPATH)
set (TGZPATH ${HDF5_SOURCE_DIR})
endif ()
set (PLUGIN_URL ${TGZPATH}/${PLUGIN_TGZ_NAME})
if (NOT EXISTS "${PLUGIN_URL}")
set (HDF5_ENABLE_PLUGIN_SUPPORT OFF CACHE BOOL "" FORCE)
message (STATUS "Filter PLUGIN file ${PLUGIN_URL} not found")
endif ()
else ()
set (PLUGIN_USE_EXTERNAL 0)
endif ()
endif ()
#-----------------------------------------------------------------------------
# Option for PLUGIN support
#-----------------------------------------------------------------------------
option (HDF5_ENABLE_PLUGIN_SUPPORT "Enable PLUGIN Filters" OFF)
if (HDF5_ENABLE_PLUGIN_SUPPORT)
if (NOT PLUGIN_USE_EXTERNAL)
find_package (PLUGIN NAMES ${PLUGIN_PACKAGE_NAME}${HDF_PACKAGE_EXT})
if (NOT PLUGIN_FOUND)
find_package (PLUGIN) # Legacy find
endif ()
endif ()
if (NOT PLUGIN_FOUND)
if (HDF5_ALLOW_EXTERNAL_SUPPORT MATCHES "GIT" OR HDF5_ALLOW_EXTERNAL_SUPPORT MATCHES "TGZ")
EXTERNAL_PLUGIN_LIBRARY (${HDF5_ALLOW_EXTERNAL_SUPPORT})
message (STATUS "Filter PLUGIN is built")
else ()
message (FATAL_ERROR " PLUGIN is Required for PLUGIN support in HDF5")
endif ()
endif ()
message (STATUS "Filter PLUGIN is ON")
endif ()

79
COPYING
View File

@@ -3,10 +3,10 @@ HDF5 (Hierarchical Data Format 5) Software Library and Utilities
-----------------------------------------------------------------------------
HDF5 (Hierarchical Data Format 5) Software Library and Utilities
Copyright (c) 2006, The HDF Group.
Copyright 2006 by The HDF Group.
NCSA HDF5 (Hierarchical Data Format 5) Software Library and Utilities
Copyright (c) 1998-2006, The Board of Trustees of the University of Illinois.
Copyright 1998-2006 by The Board of Trustees of the University of Illinois.
All rights reserved.
@@ -21,27 +21,27 @@ provided that the following conditions are met:
this list of conditions, and the following disclaimer in the documentation
and/or materials provided with the distribution.
3. In addition, redistributions of modified forms of the source or binary
code must carry prominent notices stating that the original code was
changed and the date of the change.
4. All publications or advertising materials mentioning features or use of
this software are asked, but not required, to acknowledge that it was
developed by The HDF Group and by the National Center for Supercomputing
Applications at the University of Illinois at Urbana-Champaign and
credit the contributors.
5. Neither the name of The HDF Group, the name of the University, nor the
3. Neither the name of The HDF Group, the name of the University, nor the
name of any Contributor may be used to endorse or promote products derived
from this software without specific prior written permission from
The HDF Group, the University, or the Contributor, respectively.
DISCLAIMER:
THIS SOFTWARE IS PROVIDED BY THE HDF GROUP AND THE CONTRIBUTORS
"AS IS" WITH NO WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED. In no
event shall The HDF Group or the Contributors be liable for any damages
suffered by the users arising out of the use of this software, even if
advised of the possibility of such damage.
"AS IS" WITH NO WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED. IN NO
EVENT SHALL THE HDF GROUP OR THE CONTRIBUTORS BE LIABLE FOR ANY DAMAGES
SUFFERED BY THE USERS ARISING OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
You are under no obligation whatsoever to provide any bug fixes, patches, or
upgrades to the features, functionality or performance of the source code
("Enhancements") to anyone; however, if you choose to make your Enhancements
available either publicly, or directly to The HDF Group, without imposing a
separate written license agreement for such Enhancements, then you hereby
grant the following license: a non-exclusive, royalty-free perpetual license
to install, use, modify, prepare derivative works, incorporate into other
computer software, distribute, and sublicense such enhancements or derivative
works thereof, in binary and source code form.
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
@@ -55,9 +55,9 @@ http://support.hdfgroup.org/ftp/HDF5/releases/COPYING_LBNL_HDF5.
-----------------------------------------------------------------------------
Contributors: National Center for Supercomputing Applications (NCSA) at
the University of Illinois, Fortner Software, Unidata Program Center (netCDF),
The Independent JPEG Group (JPEG), Jean-loup Gailly and Mark Adler (gzip),
and Digital Equipment Corporation (DEC).
the University of Illinois, Fortner Software, Unidata Program Center
(netCDF), The Independent JPEG Group (JPEG), Jean-loup Gailly and Mark Adler
(gzip), and Digital Equipment Corporation (DEC).
-----------------------------------------------------------------------------
@@ -67,6 +67,12 @@ under Prime Contract No. DE-AC02-05CH11231.
-----------------------------------------------------------------------------
Portions of HDF5 were developed with support from Lawrence Livermore
National Laboratory and the United States Department of Energy under
Prime Contract No. DE-AC52-07NA27344.
-----------------------------------------------------------------------------
Portions of HDF5 were developed with support from the University of
California, Lawrence Livermore National Laboratory (UC LLNL).
The following statement applies to those portions of the product and must
@@ -80,26 +86,21 @@ and/or accompanying materials:
for the operation of UC LLNL.
DISCLAIMER:
This work was prepared as an account of work sponsored by an agency of
the United States Government. Neither the United States Government nor
the University of California nor any of their employees, makes any
warranty, express or implied, or assumes any liability or responsibility
for the accuracy, completeness, or usefulness of any information,
apparatus, product, or process disclosed, or represents that its use
would not infringe privately- owned rights. Reference herein to any
specific commercial products, process, or service by trade name,
trademark, manufacturer, or otherwise, does not necessarily constitute
or imply its endorsement, recommendation, or favoring by the United
States Government or the University of California. The views and
opinions of authors expressed herein do not necessarily state or reflect
those of the United States Government or the University of California,
and shall not be used for advertising or product endorsement purposes.
THIS WORK WAS PREPARED AS AN ACCOUNT OF WORK SPONSORED BY AN AGENCY OF
THE UNITED STATES GOVERNMENT. NEITHER THE UNITED STATES GOVERNMENT NOR
THE UNIVERSITY OF CALIFORNIA NOR ANY OF THEIR EMPLOYEES, MAKES ANY
WARRANTY, EXPRESS OR IMPLIED, OR ASSUMES ANY LIABILITY OR RESPONSIBILITY
FOR THE ACCURACY, COMPLETENESS, OR USEFULNESS OF ANY INFORMATION,
APPARATUS, PRODUCT, OR PROCESS DISCLOSED, OR REPRESENTS THAT ITS USE
WOULD NOT INFRINGE PRIVATELY- OWNED RIGHTS. REFERENCE HEREIN TO ANY
SPECIFIC COMMERCIAL PRODUCTS, PROCESS, OR SERVICE BY TRADE NAME,
TRADEMARK, MANUFACTURER, OR OTHERWISE, DOES NOT NECESSARILY CONSTITUTE
OR IMPLY ITS ENDORSEMENT, RECOMMENDATION, OR FAVORING BY THE UNITED
STATES GOVERNMENT OR THE UNIVERSITY OF CALIFORNIA. THE VIEWS AND
OPINIONS OF AUTHORS EXPRESSED HEREIN DO NOT NECESSARILY STATE OR REFLECT
THOSE OF THE UNITED STATES GOVERNMENT OR THE UNIVERSITY OF CALIFORNIA,
AND SHALL NOT BE USED FOR ADVERTISING OR PRODUCT ENDORSEMENT PURPOSES.
-----------------------------------------------------------------------------
HDF5 is available with the SZIP compression library but SZIP is not part
of HDF5 and has separate copyright and license terms. See “Szip Compression
in HDF Products” (https://support.hdfgroup.org/doc_resource/SZIP/) for further details.
-----------------------------------------------------------------------------

View File

@@ -5,7 +5,7 @@
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
@@ -18,26 +18,35 @@
set (CTEST_PROJECT_NAME "HDF5")
set (CTEST_NIGHTLY_START_TIME "18:00:00 CST")
set (CTEST_DROP_METHOD "http")
if (CDASH_LOCAL)
set (CTEST_DROP_SITE "cdash-internal.hdfgroup.org")
set (CTEST_DROP_LOCATION "/submit.php?project=HDF5Trunk")
set (CTEST_DROP_METHOD "https")
if (CTEST_DROP_SITE_INIT)
set (CTEST_DROP_SITE "${CTEST_DROP_SITE_INIT}")
else ()
set (CTEST_DROP_SITE "cdash.hdfgroup.org")
set (CTEST_DROP_LOCATION "/submit.php?project=HDF5")
if (CDASH_LOCAL)
set (CTEST_DROP_SITE "cdash-internal.hdfgroup.org")
else ()
set (CTEST_DROP_SITE "cdash.hdfgroup.org")
endif ()
endif ()
if (CTEST_DROP_LOCATION_INIT)
set (CTEST_DROP_LOCATION "${CTEST_DROP_LOCATION_INIT}")
else ()
if (CDASH_LOCAL)
set (CTEST_DROP_LOCATION "/submit.php?project=HDF5110")
else ()
set (CTEST_DROP_LOCATION "/submit.php?project=HDF5")
endif ()
endif ()
set (CTEST_DROP_SITE_CDASH TRUE)
set (UPDATE_TYPE git)
set (VALGRIND_COMMAND "/usr/bin/valgrind")
set (VALGRIND_COMMAND_OPTIONS "-v --tool=memcheck --leak-check=full --track-fds=yes --num-callers=50 --show-reachable=yes --track-origins=yes --malloc-fill=0xff --free-fill=0xfe")
set (CTEST_MEMORYCHECK_COMMAND "/usr/bin/valgrind")
set (CTEST_MEMORYCHECK_COMMAND_OPTIONS "-v --tool=memcheck --leak-check=full --track-fds=yes --num-callers=50 --show-reachable=yes --track-origins=yes --malloc-fill=0xff --free-fill=0xfe")
set (CTEST_TEST_TIMEOUT 600 CACHE STRING
set (CTEST_TEST_TIMEOUT 1200 CACHE STRING
"Maximum time allowed before CTest will kill the test.")
set (DART_TESTING_TIMEOUT 600 CACHE STRING
set (DART_TESTING_TIMEOUT 1200 CACHE STRING
"Maximum time allowed before CTest will kill the test." FORCE)
SET(CTEST_SUBMIT_RETRY_DELAY 20 CACHE STRING
set (CTEST_SUBMIT_RETRY_DELAY 20 CACHE STRING
"How long to wait between timed-out CTest submissions.")

561
MANIFEST

File diff suppressed because it is too large Load Diff

35
Makefile Normal file
View File

@@ -0,0 +1,35 @@
# Top-level distributed Makefile -*- makefile -*-
# Copyright by The HDF Group.
# Copyright by the Board of Trustees of the University of Illinois.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
# This Makefile is a stub (copied from Makefile.dist) which will run
# configure and then invoke the same target in the new Makefile created
# by configure.
# Uncomment this variable if your make(1) doesn't set it automatically.
#
#MAKE=make
SHELL=/bin/sh
all lib progs check test _test install uninstall dep depend: _config
$(MAKE) $@
clean mostlyclean distclean maintainer-clean TAGS: _config
$(MAKE) $@
_config:
sh configure
.PHONY: all lib progs test install uninstall dep depend clean mostlyclean \
distclean maintainer-clean _config

View File

@@ -6,14 +6,14 @@
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
##
## Makefile.am
## Run automake to generate a Makefile.in from this file.
##
#
#
# This makefile mostly just reinvokes make in the various subdirectories
# but does so in the correct order. You can alternatively invoke make from
# each subdirectory manually.
@@ -35,6 +35,9 @@
include $(top_srcdir)/config/commence.am
# include Doxygen rules (requires autoconf-archive >2016-03-20)
@DX_RULES@
# Define subdirectories to build.
## Automake understands that `make distclean' should recurse into
## conditional subdirectories even if `make all' does not.
@@ -45,15 +48,10 @@ include $(top_srcdir)/config/commence.am
# Since we're explicitly listing DIST_SUBDIRS, we also need to list
# directories that are only conditionally built (so that their Makefiles
# are cleaned as well).
# Note that `make clean' will not affect the examples or doc directories.
# Note that `make clean' will not affect the examples or doc directories.
# Conditionals. These conditionals are defined during configure
# Define each variable to empty if it is not used to placate pmake
if BUILD_PARALLEL_CONDITIONAL
TESTPARALLEL_DIR =testpar
else
TESTPARALLEL_DIR=
endif
if BUILD_CXX_CONDITIONAL
CXX_DIR =c++
else
@@ -74,10 +72,25 @@ if BUILD_HDF5_HL_CONDITIONAL
else
HDF5_HL_DIR=
endif
if BUILD_TESTS_CONDITIONAL
TESTSERIAL_DIR =test
else
TESTSERIAL_DIR=
endif
if BUILD_TESTS_PARALLEL_CONDITIONAL
TESTPARALLEL_DIR =testpar
else
TESTPARALLEL_DIR=
endif
if BUILD_TOOLS_CONDITIONAL
TOOLS_DIR =tools
else
TOOLS_DIR=
endif
SUBDIRS = src test $(TESTPARALLEL_DIR) tools . $(CXX_DIR) $(FORTRAN_DIR) \
$(JAVA_DIR) $(HDF5_HL_DIR)
DIST_SUBDIRS = src test testpar tools . c++ fortran hl examples java
SUBDIRS = src $(TESTSERIAL_DIR) $(TESTPARALLEL_DIR) bin utils $(TOOLS_DIR) . \
$(CXX_DIR) $(FORTRAN_DIR) $(JAVA_DIR) $(HDF5_HL_DIR)
DIST_SUBDIRS = src test testpar utils tools . c++ fortran hl examples java
# Some files generated during configure that should be cleaned
DISTCLEANFILES=config/stamp1 config/stamp2
@@ -123,7 +136,7 @@ mostlyclean-local:
# 'make install' will now install examples, the same as 'make install-all'.
# 'make-install-all' will be redundant but will still work.
install: install-recursive install-examples
uninstall: uninstall-recursive uninstall-examples
uninstall: uninstall-recursive uninstall-examples
# 'make install-all' also installs examples
install-all:
@@ -144,7 +157,7 @@ install-doc:
uninstall-doc:
@echo "docs no longer live in this tree. Use install-examples to install examples."
# `make check-install' or `make installcheck' checks that examples can
# `make check-install' or `make installcheck' checks that examples can
# be successfully built
installcheck-local:
if test -n "${DESTDIR}"; then \
@@ -177,13 +190,18 @@ check-all-install:
trace:
@(cd src && $(MAKE) $(AM_MAKEFLAGS) $@) || exit 1;
# doxygen support
if BUILD_DOXYGEN_CONDITIONAL
doxygen: doxygen-doc
endif
# Run tests with different Virtual File Drivers.
# Currently, only invoke check-vfd in the test directory.
check-vfd:
for d in src test; do \
if test $$d != .; then \
(cd $$d && $(MAKE) $(AM_MAKEFLAGS) $@) || exit 1; \
fi; \
for d in src utils test; do \
if test $$d != .; then \
(cd $$d && $(MAKE) $(AM_MAKEFLAGS) $@) || exit 1; \
fi; \
done
# Automake wants to make config.status depend on configure. This

View File

@@ -7,7 +7,7 @@
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.

1265
Makefile.in Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,4 +1,4 @@
HDF5 version 1.11.2 currently under development
HDF5 version 1.10.8 released on 2021-10-22
------------------------------------------------------------------------------
Please refer to the release_docs/INSTALL file for installation instructions.
@@ -7,8 +7,8 @@ Please refer to the release_docs/INSTALL file for installation instructions.
THE HDF GROUP
---------------
The HDF Group is the developer of HDF5®, a high-performance software library and
data format that has been adopted across multiple industries and has become a
The HDF Group is the developer of HDF5®, a high-performance software library and
data format that has been adopted across multiple industries and has become a
de facto standard in scientific and research communities.
More information about The HDF Group, the HDF5 Community and the HDF5 software
@@ -19,21 +19,21 @@ project, tools and services can be found at the Group's website.
DOCUMENTATION
-------------
This release is fully functional for the API described in the documentation.
This release is fully functional for the API described in the documentation.
https://portal.hdfgroup.org/display/HDF5/The+HDF5+API
Full Documentation and Programming Resources for this release can be found at
https://portal.hdfgroup.org/display/HDF5
See the RELEASE.txt file in the release_docs/ directory for information specific
to the features and updates included in this release of the library.
See the RELEASE.txt file in the release_docs/ directory for information specific
to the features and updates included in this release of the library.
Several more files are located within the release_docs/ directory with specific
Several more files are located within the release_docs/ directory with specific
details for several common platforms and configurations.
INSTALL - Start Here. General instructions for compiling and installing the library
INSTALL_CMAKE - instructions for building with CMake (Kitware.com)
INSTALL_parallel - instructions for building and configuring Parallel HDF5
INSTALL_parallel - instructions for building and configuring Parallel HDF5
INSTALL_Windows and INSTALL_Cygwin - MS Windows installations.
@@ -48,7 +48,7 @@ Information regarding Help Desk and Support services is available at
FORUM and NEWS
--------------
The following public forums are provided for public announcements and discussions
The following public forums are provided for public announcements and discussions
of interest to the general HDF5 Community.
Homepage of the Forum
@@ -59,10 +59,10 @@ of interest to the general HDF5 Community.
HDF5 and HDF4 Topics
https://forum.hdfgroup.org/c/hdf5
These forums are provided as an open and public service for searching and reading.
Posting requires completing a simple registration and allows one to join in the
conversation. Please read the following instructions pertaining to the Forum's
These forums are provided as an open and public service for searching and reading.
Posting requires completing a simple registration and allows one to join in the
conversation. Please read the following instructions pertaining to the Forum's
use and configuration
https://forum.hdfgroup.org/t/quickstart-guide-welcome-to-the-new-hdf-forum
@@ -75,6 +75,6 @@ Periodically development code snapshots are provided at the following URL:
Source packages for current and previous releases are located at:
https://portal.hdfgroup.org/display/support/Downloads
Development code is available at our BitBucket Server:
https://bitbucket.hdfgroup.org/projects/HDFFV/repos/hdf5/browse
Development code is available at our Github location:
https://github.com/HDFGroup/hdf5.git

View File

@@ -5,7 +5,7 @@
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#

1209
aclocal.m4 vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -8,7 +8,7 @@ dnl
dnl This file is part of HDF5. The full HDF5 copyright notice, including
dnl terms governing use, modification, and redistribution, is contained in
dnl the COPYING file, which can be found at the root of the source code
dnl dnl distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
dnl dnl distribution tree, or in https://www.hdfgroup.org/licenses.
dnl dnl If you do not have access to either file, you may request a copy from
dnl dnl help@hdfgroup.org.
dnl
@@ -21,9 +21,9 @@ dnl -------------------------------------------------------------------------
dnl _AC_SYS_LARGEFILE_MACRO_VALUE
dnl
dnl The following macro overrides the autoconf macro of the same name
dnl with this custom definition. This macro performs the same checks as
dnl with this custom definition. This macro performs the same checks as
dnl autoconf's native _AC_SYS_LARGEFILE_MACRO_VALUE, but will also set
dnl AM_CPPFLAGS with the appropriate -D defines so additional configure
dnl AM_CPPFLAGS with the appropriate -D defines so additional configure
dnl sizeof checks do not fail.
dnl
# _AC_SYS_LARGEFILE_MACRO_VALUE(C-MACRO, VALUE,

View File

@@ -6,7 +6,7 @@
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#

View File

@@ -1,13 +0,0 @@
Copyright by The HDF Group and
The Board of Trustees of the University of Illinois.
All rights reserved.
The files and subdirectories in this directory are part of HDF5.
The full HDF5 copyright notice, including terms governing use,
modification, and redistribution, is contained in the COPYING file
which can be found at the root of the source code distribution tree
or in https://support.hdfgroup.org/ftp/HDF5/releases. If you do
not have access to either file, you may request a copy from
help@hdfgroup.org.

57
bin/Makefile.am Normal file
View File

@@ -0,0 +1,57 @@
#
# Copyright by The HDF Group.
# Copyright by the Board of Trustees of the University of Illinois.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
##
## Makefile.am
## Run automake to generate a Makefile.in from this file.
#
# HDF5 Library Makefile(.in)
#
include $(top_srcdir)/config/commence.am
# Include src directory
AM_CPPFLAGS+=-I$(top_srcdir)/src -I$(top_srcdir)/tools/lib
# These are our main targets
bin_SCRIPTS=h5redeploy
# Tell automake to clean h5redeploy script
CLEANFILES=h5redeploy
# These were generated by configure. Remove them only when distclean.
DISTCLEANFILES=h5cc
# All programs rely on hdf5 library and h5tools library
LDADD=$(LIBH5TOOLS) $(LIBHDF5)
# How to build h5redeploy script
h5redeploy: h5redeploy.in
@cp $(srcdir)/$@.in $@
# h5cc needs custom install and uninstall rules, since it may be
# named h5pcc if hdf5 is being built in parallel mode.
if BUILD_PARALLEL_CONDITIONAL
H5CC_NAME=h5pcc
else
H5CC_NAME=h5cc
endif
$(DESTDIR)$(bindir):
echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
$(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1;
install-exec-local: $(DESTDIR)$(bindir)
@$(INSTALL) h5cc $(DESTDIR)$(bindir)/$(H5CC_NAME)
uninstall-local:
@$(RM) $(DESTDIR)$(bindir)/$(H5CC_NAME)
include $(top_srcdir)/config/conclude.am

1433
bin/Makefile.in Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,21 @@
#!/bin/bash -l
if [ $# -gt 0 ]; then
SUMMARY_FILE=$1
fi
ACCOUNT_ID=@ACCOUNT_ID@
echo "Run parallel test command. Test output will be in build/${SUMMARY_FILE}"
CTEST_CMD=`which ctest`
#SKIPTESTS <<KEYWORD:script inserts list of skips tests here -- don't remove>>
cd @HDF5_BINARY_DIR@
if [[ $SUMMARY_FILE == *"ctestS"* ]]; then
CMD="${CTEST_CMD} . -E MPI_TEST_ -C Release -j 32 -T test"
else
CMD="${CTEST_CMD} . -R MPI_TEST_ ${SKIP_TESTS} -C Release -T test"
fi
qsub -t 60 -n 1 -q debug-flat-quad -A ${ACCOUNT_ID} ${CMD} >& ${SUMMARY_FILE}
echo "Done running ctest parallel command."

View File

@@ -0,0 +1,19 @@
#!/bin/tcsh
### LSF syntax
#BSUB -nnodes 1 #number of nodes
#BSUB -W 30 #walltime in minutes
#BSUB -G guests #account
#BSUB -e ctestPerrors.txt #stderr
#BSUB -o ctestPoutput.txt #stdout
#BSUB -J hdf5_ctestP #job
##BSUB -q pbatch #queue to use
#BSUB -q pdebug
##date; hostname
##echo -n 'JobID is '; echo $LSB_JOBID
cd @HDF5_BINARY_DIR@
echo "Run parallel test command. Test output will be in build/ctestP.out"
ctest . -R MPI_TEST_ -C Release -T test >& ctestP.out
echo "Done running ctest parallel command."

View File

@@ -0,0 +1,14 @@
#!/bin/bash
#SBATCH --nodes=1
#SBATCH -t 00:30:00
#SBATCH --mail-type=BEGIN,END,FAIL
##SBATCH --mail-user=<username>@sandia.gov
#SBATCH --export=ALL
#SBATCH --job-name=h5_ctestP
cd @HDF5_BINARY_DIR@
ctest . -R MPI_TEST_ -C Release -T test >& ctestP.out
echo "Done running ctestP.sl"

View File

@@ -0,0 +1,18 @@
#!/bin/tcsh
### LSF syntax
#BSUB -nnodes 1 #number of nodes
#BSUB -W 29 #walltime in minutes
#BSUB -G guests #account
#BSUB -e ctestSerrors.txt #stderr
#BSUB -o ctestSoutput.txt #stdout
#BSUB -J hdf5_ctestS #job
##BSUB -q pbatch #queue to use
#BSUB -q pdebug
cd @HDF5_BINARY_DIR@
echo "Run command. Test output will be in build/ctestS.out"
ctest . -E MPI_TEST_ -C Release -j 32 -T test >& ctestS.out
##$CMD >& ctestS.out
echo "Done running command."

View File

@@ -0,0 +1,15 @@
#!/bin/bash
#SBATCH --nodes=1
#SBATCH -t 00:30:00
#SBATCH --mail-type=BEGIN,END,FAIL
##SBATCH --mail-user=<username>@sandia.gov
#SBATCH --export=ALL
#SBATCH --job-name=h5_ctestS
cd @HDF5_BINARY_DIR@
CMD="ctest . -E MPI_TEST_ -C Release -j 32 -T test"
echo "Run $CMD. Test output will be in build/ctestS.out"
$CMD >& ctestS.out
echo "Done running $CMD"

View File

@@ -0,0 +1,20 @@
#!/bin/bash
#SBATCH -p knl -C quad
#SBATCH --nodes=1
#SBATCH -t 00:10:00
#SBATCH --mail-type=BEGIN,END,FAIL
#SBATCH --mail-user=<username>@sandia.gov
#SBATCH --export=ALL
#SBATCH --job-name=knl_h5detect
# Inputs: Build directory, output file name, executable file name (username/email if available).
PROGNAME=H5detect
OUTPUT=H5Tinit.c
CMD="@HDF5_BINARY_DIR@/bin/${PROGNAME} @HDF5_GENERATED_SOURCE_DIR@/${OUTPUT}"
echo "Run $CMD"
srun -n 1 $CMD
echo "Done running $CMD"

View File

@@ -0,0 +1,16 @@
#!/bin/bash
#SBATCH -p knl -C quad,cache
#SBATCH --nodes=1
#SBATCH -t 00:30:00
#SBATCH --mail-type=BEGIN,END,FAIL
##SBATCH --mail-user=<username>@sandia.gov
#SBATCH --export=ALL
#SBATCH --job-name=h5_ctestP
cd @HDF5_BINARY_DIR@
#run parallel tests except t_cache_image test
ctest . -R MPI_TEST_ -C Release -T test >& ctestP.out
echo "Done running $CMD"

View File

@@ -0,0 +1,17 @@
#!/bin/bash
#SBATCH -p knl -C quad,cache
#SBATCH --nodes=1
#SBATCH -t 00:30:00
#SBATCH --mail-type=BEGIN,END,FAIL
##SBATCH --mail-user=<username>@sandia.gov
#SBATCH --export=ALL
#SBATCH --job-name=h5_ctestS
cd @HDF5_BINARY_DIR@
CMD="ctest . -E MPI_TEST_ -C Release -j 32 -T test"
echo "Run $CMD. Test output will be in build/ctestS.out"
$CMD >& ctestS.out
echo "Done running $CMD"

View File

@@ -0,0 +1,20 @@
#!/bin/tcsh
### LSF syntax
#BSUB -n 6 #number of nodes
#BSUB -R "span[ptile=6]"
#BSUB -W 30 #walltime in minutes
#BSUB -G guests #account
#BSUB -e ctestPerrors.txt #stderr
#BSUB -o ctestPoutput.txt #stdout
#BSUB -J hdf5_ctestP #job
##BSUB -q pbatch #queue to use
#BSUB -q pdebug
##date; hostname
##echo -n 'JobID is '; echo $LSB_JOBID
cd @HDF5_BINARY_DIR@
echo "Run parallel test command. Test output will be in build/ctestP.out"
ctest . -R 'MPI_TEST_' -C Release -T test >& ctestP.out
echo "Done running ctest parallel command."

View File

@@ -0,0 +1,18 @@
#!/bin/tcsh
### LSF syntax
#BSUB -n 1 #number of nodes
#BSUB -W 29 #walltime in minutes
#BSUB -G guests #account
#BSUB -e ctestSerrors.txt #stderr
#BSUB -o ctestSoutput.txt #stdout
#BSUB -J hdf5_ctestS #job
##BSUB -q pbatch #queue to use
#BSUB -q pdebug
cd @HDF5_BINARY_DIR@
echo "Run command. Test output will be in build/ctestS.out"
ctest . -E 'MPI_TEST_' -C Release -j 32 -T test >& ctestS.out
##$CMD >& ctestS.out
echo "Done running command."

7
bin/batch/raybsub Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/tcsh
# ray.llnl.gov requires a '<' with bsub for submitting .lsf batch jobs.
# CMake is reluctant to pass the '<', so we put it in this script and use
# the script to submit the bsub command on ray.
bsub < $1

View File

@@ -7,7 +7,7 @@
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#

View File

@@ -7,7 +7,7 @@
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#

View File

@@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl
#
# Copyright by The HDF Group.
# Copyright by the Board of Trustees of the University of Illinois.
@@ -7,12 +7,14 @@
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
require 5.003;
use warnings;
# Purpose: insures that API functions aren't called internally.
# Usage: checkapi H5*.c
my $filename = "";

View File

@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl
require 5.003;
use warnings;
#
# Copyright by The HDF Group.
@@ -9,105 +10,169 @@ require 5.003;
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
# Robb Matzke, matzke@llnl.gov
# 30 Aug 1997
# Dana Robinson
# Spring 2019
# (Original by Robb Matzke)
#
# Purpose: Given the names of C source files this script will print the
# file name, line number, and function name of any function that
# doesn't begin with the letter `h' or `H' as stipulated by the
# HDF5 programming style guide.
# Purpose: Given the names of C source files this script will print the
# file name, line number, and function name of any function that
# doesn't begin with the letter 'h' or 'H' as stipulated by the
# HDF5 programming style guide.
#
# Emacs users can run this script as the compile command and
# use `next-error' (usually bound to M-`) to find each name
# violation.
# Emacs users can run this script as the compile command and
# use 'next-error' (usually bound to M-`) to find each name
# violation.
if(<>) {
if($ARGV =~ /\//) {
($filename) = ($ARGV =~ /^.*\/([A-Za-z0-9_]*)\.c$/);
} else {
($filename) = ($ARGV =~ /([A-Za-z0-9_]*)\.c$/);
use File::Basename;
# Loop over all files passed to the function
foreach $arg (@ARGV) {
# Get the filename from the path
$filename = fileparse($arg);
# Skip files that don't include H5private.h
# H5system. has to be inspected by hand since it wraps POSIX files
#
# H5detect and H5make_libsettings are created before the library exists
# so calls that link to function replacements won't work. We'll ignore
# it here.
#
# If a user specifies one file, process it no matter what so people
# can inspect files we normally skip (like H5system.c).
if($#ARGV gt 0 and $filename =~ /H5FDmulti|H5FDstdio|H5system|H5detect|H5make_libsettings/) {
print "$filename is exempt from using Standard library macro wrappers\n";
next;
}
if($filename =~ /H5FDmulti|H5FDstdio/) {
print "$ARGV is exempt from using Standard library macro wrappers\n";
} else {
while (<>) {
# Open the file
open(my $fh, "<", $arg) or do {
warn "NOTE: Unable to open $arg: !$\n";
next;
};
# Get rid of comments by removing the inside part.
s|/\*.*?\*/||g;
if ($in_comment) {
if (/\*\//) {
s|.*?\*/||;
$in_comment = 0;
} else {
$_="\n";
}
} elsif (m|/\*|) {
s|/\*.*||;
$in_comment = 1;
}
# Loop over all lines in the file to find undecorated functions
while (<$fh>) {
# Get rid of string constants if they begin and end on this line.
s/([\'\"])([^\1]|\\\1)*?\1/$1$1/g;
# Get rid of preprocessor directives
s/^\#.*//;
# Skip callbacks invoked as methods in a struct
next if $_ =~ /\b(\)?->|\.)\(?([a-z_A-Z]\w*)\s*\(/;
# Now find all function calls on this line which don't start with 'H'
while (($name)=/\b([a-z_A-GI-Z]\w*)\s*\(/) {
$_ = $';
# Ignore C statements that look sort of like function
# calls.
next if $name =~ /^(if|for|offsetof|return|sizeof|switch|while|void)$/;
# Ignore things that get misdetected because of the simplified
# parsing that takes place here.
next if $name =~ /^(int|herr_t|_term_interface)$/;
# These are really HDF5 functions/macros even though they don't
# start with `h' or `H'.
next if $name =~ /^FUNC_(ENTER|LEAVE)(_(NO)?API|_PACKAGE|_STATIC)?(_NOFS|_NOCLEAR|_NOINIT)?(_NOFUNC|_TAG)?$/;
next if $name =~ /^(BEGIN|END)_FUNC$/;
next if $name =~ /^U?INT(8|16|32|64)(ENCODE|DECODE)(_VAR)?$/;
next if $name =~ /^CI_(PRINT_STATS|INC_SRC|INC_DST)$/;
next if $name =~ /^(ABS|ADDR_OVERFLOW|ALL_MEMBERS|BOUND|CONSTR|DETECT_[I|F|M]|DOWN)$/;
next if $name =~ /^(MIN3?|MAX3?|NELMTS|POWER_OF_TWO|REGION_OVERFLOW)$/;
next if $name =~ /^(UNIQUE_MEMBERS)$/;
next if $name =~ /^addr_defined$/;
# These functions/macros are exempt.
next if $name =~ /^(main|[fs]?printf|va_(start|arg|end))$/;
# These are Windows system calls. Ignore them.
next if $name =~ /^(_get_osfhandle|GetFileInformationByHandle|SetFilePointer|GetLastError|SetEndOfFile)$/;
next if $name =~ /^(FindNextFile|FindClose|_tzset|Wgettimeofday|GetSystemTimeAsFileTime|Wgetlogin|GetUserName)$/;
# These are MPI function calls. Ignore them.
next if $name =~ /^(MPI_|MPE_)/;
# These are POSIX threads function calls. Ignore them.
next if $name =~ /^pthread_/;
# These are Windows threads function calls. Ignore them.
next if $name =~ /^(_beginthread|(Initialize|Enter|Leave)CriticalSection|TlsAlloc)$/;
# These are zlib & szlib function calls. Ignore them.
next if $name =~ /^(inflate|SZ_)/;
next if $name =~ /^compress2$/;
print "$ARGV:$.: $name\n";
}
} continue {
close ARGV if eof; # reset line number
# Get rid of comments by removing the inside part.
s|/\*.*?\*/||g;
if ($in_comment) {
if (/\*\//) {
s|.*?\*/||;
$in_comment = 0;
} else {
$_="\n";
}
} elsif (m|/\*|) {
s|/\*.*||;
$in_comment = 1;
}
# Get rid of string constants if they begin and end on this line.
s/([\'\"])([^\1]|\\\1)*?\1/$1$1/g;
# Get rid of preprocessor directives
s/^\#.*//;
# Skip callbacks invoked as methods in a struct
next if $_ =~ /\b(\)?]?->|\.)\(?([a-z_A-Z]\w*)\s*\(/;
# Now find all function calls on this line which don't start with 'H'
while (($name)=/\b([a-z_A-GI-Z]\w*)\s*\(/) {
$_ = $';
# Ignore C statements that look sort of like function
# calls.
next if $name =~ /^(if|for|offsetof|return|sizeof|switch|while|void)$/;
# Ignore things that get misdetected because of the simplified
# parsing that takes place here.
next if $name =~ /^(int|herr_t|_term_interface|_term_package)$/;
# These are really HDF5 functions/macros even though they don't
# start with `h' or `H'.
next if $name =~ /^FUNC_(ENTER|LEAVE)(_(NO)?API|_PACKAGE|_STATIC)?(_NOFS|_NOCLEAR|_NOINIT)?(_NOFUNC|_TAG)?$/;
next if $name =~ /^(BEGIN|END)_FUNC$/;
next if $name =~ /^U?INT(8|16|32|64)(ENCODE|DECODE)(_VAR)?$/;
next if $name =~ /^CI_(PRINT_STATS|INC_SRC|INC_DST)$/;
next if $name =~ /^(ABS|ADDR_OVERFLOW|ALL_MEMBERS|BOUND|CONSTR|DETECT_[I|F|M]|DOWN)$/;
next if $name =~ /^(MIN3?|MAX3?|NELMTS|POWER_OF_TWO|REGION_OVERFLOW)$/;
next if $name =~ /^(UNIQUE_MEMBERS|S_ISDIR)$/;
next if $name =~ /^addr_defined$/;
# These functions/macros are exempt.
# op, cb, and OP are often spuriously flagged so ignore them.
next if $name =~ /^(main|op|cb|OP)$/;
# This often appears in preprocessor lines that span multiple lines
next if $name =~ /^(defined)$/;
# These are Windows system calls. Ignore them.
next if $name =~ /^(_get_osfhandle|GetFileInformationByHandle|SetFilePointer|GetLastError|SetEndOfFile)$/;
next if $name =~ /^(FindNextFile|FindClose|_tzset|Wgettimeofday|GetSystemTimeAsFileTime|Wgetlogin|GetUserName)$/;
next if $name =~ /^(DeleteCriticalSection|TlsFree|TlsGetValue|CreateThread)$/;
next if $name =~ /^(ExpandEnvironmentStringsA|LockFileEx|UnlockFileEx)$/;
next if $name =~ /^(DllMain|LocalAlloc|LocalFree)$/;
next if $name =~ /^(FindFirstFileA|FindNextFileA)$/;
next if $name =~ /^(_beginthread|(Initialize|Enter|Leave)CriticalSection|TlsAlloc)$/;
# These are MPI function calls. Ignore them.
next if $name =~ /^(MPI_|MPE_)/;
# These are POSIX threads function calls. Ignore them.
next if $name =~ /^pthread_/;
# These are zlib & szlib function calls. Ignore them.
next if $name =~ /^(inflate|SZ_)/;
next if $name =~ /^compress2$/;
# These is an H5Dfill function. Ignore it in this file.
if($filename =~ /H5Dfill/) {
next if $name =~ /^(alloc_func)$/;
}
# These are H5Zscaleoffset functions. Ignore them in this file.
if($filename =~ /H5Zscaleoffset/) {
next if $name =~ /^(pow_fun|round_fun|abs_fun|lround_fun|llround_fun)$/;
}
# TESTING (not comprehensive - just noise reduction)
# Test macros and functions (testhdf5.h)
next if $name =~ /^(AddTest|TestErrPrintf|TestSummary|TestCleanup|TestShutdown)$/;
next if $name =~ /^(CHECK|CHECK_PTR|CHECK_PTR_NULL|CHECK_PTR_EQ|CHECK_I)$/;
next if $name =~ /^(VERIFY|VERIFY_STR|VERIFY|TYPE|MESSAGE|ERROR)$/;
# Test macros and functions (h5test.h)
next if $name =~ /^(TESTING|PASSED|SKIPPED|FAIL_PUTS_ERROR|FAIL_STACK_ERROR|TEST_ERROR)$/;
next if $name =~ /^(GetTestExpress)$/;
# Ignore functions that start with test_ or check_
next if $name =~ /^test_/;
next if $name =~ /^check_/;
# Ignore functions that start with h5_
next if $name =~ /^h5_/;
# Ignore usage functions
next if $name =~ /^usage$/;
print "$filename:$.: $name\n";
}
}
# Close the file
close($fh);
}
if($#ARGV gt 0) {
print "\n";
print "NOTE:\n";
print "If any files were skipped due to being exempt, you can inspect them manually\n";
print "by using this script on them one at a time, which will always process the file.\n";
}

View File

@@ -6,7 +6,7 @@
## This file is part of HDF5. The full HDF5 copyright notice, including
## terms governing use, modification, and redistribution, is contained in
## the COPYING file, which can be found at the root of the source code
## distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
## distribution tree, or in https://www.hdfgroup.org/licenses.
## If you do not have access to either file, you may request a copy from
## help@hdfgroup.org.
##

View File

@@ -7,7 +7,7 @@
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#

View File

@@ -7,7 +7,7 @@
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#

347
bin/compile Executable file
View File

@@ -0,0 +1,347 @@
#! /bin/sh
# Wrapper for compilers which do not understand '-c -o'.
scriptversion=2012-10-14.11; # UTC
# Copyright (C) 1999-2014 Free Software Foundation, Inc.
# Written by Tom Tromey <tromey@cygnus.com>.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
# This file is maintained in Automake, please report
# bugs to <bug-automake@gnu.org> or send patches to
# <automake-patches@gnu.org>.
nl='
'
# We need space, tab and new line, in precisely that order. Quoting is
# there to prevent tools from complaining about whitespace usage.
IFS=" "" $nl"
file_conv=
# func_file_conv build_file lazy
# Convert a $build file to $host form and store it in $file
# Currently only supports Windows hosts. If the determined conversion
# type is listed in (the comma separated) LAZY, no conversion will
# take place.
func_file_conv ()
{
file=$1
case $file in
/ | /[!/]*) # absolute file, and not a UNC file
if test -z "$file_conv"; then
# lazily determine how to convert abs files
case `uname -s` in
MINGW*)
file_conv=mingw
;;
CYGWIN*)
file_conv=cygwin
;;
*)
file_conv=wine
;;
esac
fi
case $file_conv/,$2, in
*,$file_conv,*)
;;
mingw/*)
file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
;;
cygwin/*)
file=`cygpath -m "$file" || echo "$file"`
;;
wine/*)
file=`winepath -w "$file" || echo "$file"`
;;
esac
;;
esac
}
# func_cl_dashL linkdir
# Make cl look for libraries in LINKDIR
func_cl_dashL ()
{
func_file_conv "$1"
if test -z "$lib_path"; then
lib_path=$file
else
lib_path="$lib_path;$file"
fi
linker_opts="$linker_opts -LIBPATH:$file"
}
# func_cl_dashl library
# Do a library search-path lookup for cl
func_cl_dashl ()
{
lib=$1
found=no
save_IFS=$IFS
IFS=';'
for dir in $lib_path $LIB
do
IFS=$save_IFS
if $shared && test -f "$dir/$lib.dll.lib"; then
found=yes
lib=$dir/$lib.dll.lib
break
fi
if test -f "$dir/$lib.lib"; then
found=yes
lib=$dir/$lib.lib
break
fi
if test -f "$dir/lib$lib.a"; then
found=yes
lib=$dir/lib$lib.a
break
fi
done
IFS=$save_IFS
if test "$found" != yes; then
lib=$lib.lib
fi
}
# func_cl_wrapper cl arg...
# Adjust compile command to suit cl
func_cl_wrapper ()
{
# Assume a capable shell
lib_path=
shared=:
linker_opts=
for arg
do
if test -n "$eat"; then
eat=
else
case $1 in
-o)
# configure might choose to run compile as 'compile cc -o foo foo.c'.
eat=1
case $2 in
*.o | *.[oO][bB][jJ])
func_file_conv "$2"
set x "$@" -Fo"$file"
shift
;;
*)
func_file_conv "$2"
set x "$@" -Fe"$file"
shift
;;
esac
;;
-I)
eat=1
func_file_conv "$2" mingw
set x "$@" -I"$file"
shift
;;
-I*)
func_file_conv "${1#-I}" mingw
set x "$@" -I"$file"
shift
;;
-l)
eat=1
func_cl_dashl "$2"
set x "$@" "$lib"
shift
;;
-l*)
func_cl_dashl "${1#-l}"
set x "$@" "$lib"
shift
;;
-L)
eat=1
func_cl_dashL "$2"
;;
-L*)
func_cl_dashL "${1#-L}"
;;
-static)
shared=false
;;
-Wl,*)
arg=${1#-Wl,}
save_ifs="$IFS"; IFS=','
for flag in $arg; do
IFS="$save_ifs"
linker_opts="$linker_opts $flag"
done
IFS="$save_ifs"
;;
-Xlinker)
eat=1
linker_opts="$linker_opts $2"
;;
-*)
set x "$@" "$1"
shift
;;
*.cc | *.CC | *.cxx | *.CXX | *.[cC]++)
func_file_conv "$1"
set x "$@" -Tp"$file"
shift
;;
*.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO])
func_file_conv "$1" mingw
set x "$@" "$file"
shift
;;
*)
set x "$@" "$1"
shift
;;
esac
fi
shift
done
if test -n "$linker_opts"; then
linker_opts="-link$linker_opts"
fi
exec "$@" $linker_opts
exit 1
}
eat=
case $1 in
'')
echo "$0: No command. Try '$0 --help' for more information." 1>&2
exit 1;
;;
-h | --h*)
cat <<\EOF
Usage: compile [--help] [--version] PROGRAM [ARGS]
Wrapper for compilers which do not understand '-c -o'.
Remove '-o dest.o' from ARGS, run PROGRAM with the remaining
arguments, and rename the output as expected.
If you are trying to build a whole package this is not the
right script to run: please start by reading the file 'INSTALL'.
Report bugs to <bug-automake@gnu.org>.
EOF
exit $?
;;
-v | --v*)
echo "compile $scriptversion"
exit $?
;;
cl | *[/\\]cl | cl.exe | *[/\\]cl.exe )
func_cl_wrapper "$@" # Doesn't return...
;;
esac
ofile=
cfile=
for arg
do
if test -n "$eat"; then
eat=
else
case $1 in
-o)
# configure might choose to run compile as 'compile cc -o foo foo.c'.
# So we strip '-o arg' only if arg is an object.
eat=1
case $2 in
*.o | *.obj)
ofile=$2
;;
*)
set x "$@" -o "$2"
shift
;;
esac
;;
*.c)
cfile=$1
set x "$@" "$1"
shift
;;
*)
set x "$@" "$1"
shift
;;
esac
fi
shift
done
if test -z "$ofile" || test -z "$cfile"; then
# If no '-o' option was seen then we might have been invoked from a
# pattern rule where we don't need one. That is ok -- this is a
# normal compilation that the losing compiler can handle. If no
# '.c' file was seen then we are probably linking. That is also
# ok.
exec "$@"
fi
# Name of file we expect compiler to create.
cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
# Create the lock directory.
# Note: use '[/\\:.-]' here to ensure that we don't use the same name
# that we are using for the .o file. Also, base the name on the expected
# object file name, since that is what matters with a parallel build.
lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d
while true; do
if mkdir "$lockdir" >/dev/null 2>&1; then
break
fi
sleep 1
done
# FIXME: race condition here if user kills between mkdir and trap.
trap "rmdir '$lockdir'; exit 1" 1 2 15
# Run the compile.
"$@"
ret=$?
if test -f "$cofile"; then
test "$cofile" = "$ofile" || mv "$cofile" "$ofile"
elif test -f "${cofile}bj"; then
test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile"
fi
rmdir "$lockdir"
exit $ret
# Local Variables:
# mode: shell-script
# sh-indentation: 2
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
# time-stamp-time-zone: "UTC"
# time-stamp-end: "; # UTC"
# End:

1421
bin/config.guess vendored Executable file

File diff suppressed because it is too large Load Diff

1807
bin/config.sub vendored Executable file

File diff suppressed because it is too large Load Diff

View File

@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
#
# Copyright by The HDF Group.
# Copyright by the Board of Trustees of the University of Illinois.
@@ -7,7 +7,7 @@
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#

791
bin/depcomp Executable file
View File

@@ -0,0 +1,791 @@
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2013-05-30.07; # UTC
# Copyright (C) 1999-2014 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
case $1 in
'')
echo "$0: No command. Try '$0 --help' for more information." 1>&2
exit 1;
;;
-h | --h*)
cat <<\EOF
Usage: depcomp [--help] [--version] PROGRAM [ARGS]
Run PROGRAMS ARGS to compile a file, generating dependencies
as side-effects.
Environment variables:
depmode Dependency tracking mode.
source Source file read by 'PROGRAMS ARGS'.
object Object file output by 'PROGRAMS ARGS'.
DEPDIR directory where to store dependencies.
depfile Dependency file to output.
tmpdepfile Temporary file to use when outputting dependencies.
libtool Whether libtool is used (yes/no).
Report bugs to <bug-automake@gnu.org>.
EOF
exit $?
;;
-v | --v*)
echo "depcomp $scriptversion"
exit $?
;;
esac
# Get the directory component of the given path, and save it in the
# global variables '$dir'. Note that this directory component will
# be either empty or ending with a '/' character. This is deliberate.
set_dir_from ()
{
case $1 in
*/*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;;
*) dir=;;
esac
}
# Get the suffix-stripped basename of the given path, and save it the
# global variable '$base'.
set_base_from ()
{
base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'`
}
# If no dependency file was actually created by the compiler invocation,
# we still have to create a dummy depfile, to avoid errors with the
# Makefile "include basename.Plo" scheme.
make_dummy_depfile ()
{
echo "#dummy" > "$depfile"
}
# Factor out some common post-processing of the generated depfile.
# Requires the auxiliary global variable '$tmpdepfile' to be set.
aix_post_process_depfile ()
{
# If the compiler actually managed to produce a dependency file,
# post-process it.
if test -f "$tmpdepfile"; then
# Each line is of the form 'foo.o: dependency.h'.
# Do two passes, one to just change these to
# $object: dependency.h
# and one to simply output
# dependency.h:
# which is needed to avoid the deleted-header problem.
{ sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile"
sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile"
} > "$depfile"
rm -f "$tmpdepfile"
else
make_dummy_depfile
fi
}
# A tabulation character.
tab=' '
# A newline character.
nl='
'
# Character ranges might be problematic outside the C locale.
# These definitions help.
upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ
lower=abcdefghijklmnopqrstuvwxyz
digits=0123456789
alpha=${upper}${lower}
if test -z "$depmode" || test -z "$source" || test -z "$object"; then
echo "depcomp: Variables source, object and depmode must be set" 1>&2
exit 1
fi
# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po.
depfile=${depfile-`echo "$object" |
sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
rm -f "$tmpdepfile"
# Avoid interferences from the environment.
gccflag= dashmflag=
# Some modes work just like other modes, but use different flags. We
# parameterize here, but still list the modes in the big case below,
# to make depend.m4 easier to write. Note that we *cannot* use a case
# here, because this file can only contain one case statement.
if test "$depmode" = hp; then
# HP compiler uses -M and no extra arg.
gccflag=-M
depmode=gcc
fi
if test "$depmode" = dashXmstdout; then
# This is just like dashmstdout with a different argument.
dashmflag=-xM
depmode=dashmstdout
fi
cygpath_u="cygpath -u -f -"
if test "$depmode" = msvcmsys; then
# This is just like msvisualcpp but w/o cygpath translation.
# Just convert the backslash-escaped backslashes to single forward
# slashes to satisfy depend.m4
cygpath_u='sed s,\\\\,/,g'
depmode=msvisualcpp
fi
if test "$depmode" = msvc7msys; then
# This is just like msvc7 but w/o cygpath translation.
# Just convert the backslash-escaped backslashes to single forward
# slashes to satisfy depend.m4
cygpath_u='sed s,\\\\,/,g'
depmode=msvc7
fi
if test "$depmode" = xlc; then
# IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information.
gccflag=-qmakedep=gcc,-MF
depmode=gcc
fi
case "$depmode" in
gcc3)
## gcc 3 implements dependency tracking that does exactly what
## we want. Yay! Note: for some reason libtool 1.4 doesn't like
## it if -MD -MP comes after the -MF stuff. Hmm.
## Unfortunately, FreeBSD c89 acceptance of flags depends upon
## the command line argument order; so add the flags where they
## appear in depend2.am. Note that the slowdown incurred here
## affects only configure: in makefiles, %FASTDEP% shortcuts this.
for arg
do
case $arg in
-c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;;
*) set fnord "$@" "$arg" ;;
esac
shift # fnord
shift # $arg
done
"$@"
stat=$?
if test $stat -ne 0; then
rm -f "$tmpdepfile"
exit $stat
fi
mv "$tmpdepfile" "$depfile"
;;
gcc)
## Note that this doesn't just cater to obsosete pre-3.x GCC compilers.
## but also to in-use compilers like IMB xlc/xlC and the HP C compiler.
## (see the conditional assignment to $gccflag above).
## There are various ways to get dependency output from gcc. Here's
## why we pick this rather obscure method:
## - Don't want to use -MD because we'd like the dependencies to end
## up in a subdir. Having to rename by hand is ugly.
## (We might end up doing this anyway to support other compilers.)
## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
## -MM, not -M (despite what the docs say). Also, it might not be
## supported by the other compilers which use the 'gcc' depmode.
## - Using -M directly means running the compiler twice (even worse
## than renaming).
if test -z "$gccflag"; then
gccflag=-MD,
fi
"$@" -Wp,"$gccflag$tmpdepfile"
stat=$?
if test $stat -ne 0; then
rm -f "$tmpdepfile"
exit $stat
fi
rm -f "$depfile"
echo "$object : \\" > "$depfile"
# The second -e expression handles DOS-style file names with drive
# letters.
sed -e 's/^[^:]*: / /' \
-e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
## This next piece of magic avoids the "deleted header file" problem.
## The problem is that when a header file which appears in a .P file
## is deleted, the dependency causes make to die (because there is
## typically no way to rebuild the header). We avoid this by adding
## dummy dependencies for each header file. Too bad gcc doesn't do
## this for us directly.
## Some versions of gcc put a space before the ':'. On the theory
## that the space means something, we add a space to the output as
## well. hp depmode also adds that space, but also prefixes the VPATH
## to the object. Take care to not repeat it in the output.
## Some versions of the HPUX 10.20 sed can't process this invocation
## correctly. Breaking it into two sed invocations is a workaround.
tr ' ' "$nl" < "$tmpdepfile" \
| sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \
| sed -e 's/$/ :/' >> "$depfile"
rm -f "$tmpdepfile"
;;
hp)
# This case exists only to let depend.m4 do its work. It works by
# looking at the text of this script. This case will never be run,
# since it is checked for above.
exit 1
;;
sgi)
if test "$libtool" = yes; then
"$@" "-Wp,-MDupdate,$tmpdepfile"
else
"$@" -MDupdate "$tmpdepfile"
fi
stat=$?
if test $stat -ne 0; then
rm -f "$tmpdepfile"
exit $stat
fi
rm -f "$depfile"
if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
echo "$object : \\" > "$depfile"
# Clip off the initial element (the dependent). Don't try to be
# clever and replace this with sed code, as IRIX sed won't handle
# lines with more than a fixed number of characters (4096 in
# IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
# the IRIX cc adds comments like '#:fec' to the end of the
# dependency line.
tr ' ' "$nl" < "$tmpdepfile" \
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \
| tr "$nl" ' ' >> "$depfile"
echo >> "$depfile"
# The second pass generates a dummy entry for each header file.
tr ' ' "$nl" < "$tmpdepfile" \
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
>> "$depfile"
else
make_dummy_depfile
fi
rm -f "$tmpdepfile"
;;
xlc)
# This case exists only to let depend.m4 do its work. It works by
# looking at the text of this script. This case will never be run,
# since it is checked for above.
exit 1
;;
aix)
# The C for AIX Compiler uses -M and outputs the dependencies
# in a .u file. In older versions, this file always lives in the
# current directory. Also, the AIX compiler puts '$object:' at the
# start of each line; $object doesn't have directory information.
# Version 6 uses the directory in both cases.
set_dir_from "$object"
set_base_from "$object"
if test "$libtool" = yes; then
tmpdepfile1=$dir$base.u
tmpdepfile2=$base.u
tmpdepfile3=$dir.libs/$base.u
"$@" -Wc,-M
else
tmpdepfile1=$dir$base.u
tmpdepfile2=$dir$base.u
tmpdepfile3=$dir$base.u
"$@" -M
fi
stat=$?
if test $stat -ne 0; then
rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
exit $stat
fi
for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
do
test -f "$tmpdepfile" && break
done
aix_post_process_depfile
;;
tcc)
# tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26
# FIXME: That version still under development at the moment of writing.
# Make that this statement remains true also for stable, released
# versions.
# It will wrap lines (doesn't matter whether long or short) with a
# trailing '\', as in:
#
# foo.o : \
# foo.c \
# foo.h \
#
# It will put a trailing '\' even on the last line, and will use leading
# spaces rather than leading tabs (at least since its commit 0394caf7
# "Emit spaces for -MD").
"$@" -MD -MF "$tmpdepfile"
stat=$?
if test $stat -ne 0; then
rm -f "$tmpdepfile"
exit $stat
fi
rm -f "$depfile"
# Each non-empty line is of the form 'foo.o : \' or ' dep.h \'.
# We have to change lines of the first kind to '$object: \'.
sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile"
# And for each line of the second kind, we have to emit a 'dep.h:'
# dummy dependency, to avoid the deleted-header problem.
sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile"
rm -f "$tmpdepfile"
;;
## The order of this option in the case statement is important, since the
## shell code in configure will try each of these formats in the order
## listed in this file. A plain '-MD' option would be understood by many
## compilers, so we must ensure this comes after the gcc and icc options.
pgcc)
# Portland's C compiler understands '-MD'.
# Will always output deps to 'file.d' where file is the root name of the
# source file under compilation, even if file resides in a subdirectory.
# The object file name does not affect the name of the '.d' file.
# pgcc 10.2 will output
# foo.o: sub/foo.c sub/foo.h
# and will wrap long lines using '\' :
# foo.o: sub/foo.c ... \
# sub/foo.h ... \
# ...
set_dir_from "$object"
# Use the source, not the object, to determine the base name, since
# that's sadly what pgcc will do too.
set_base_from "$source"
tmpdepfile=$base.d
# For projects that build the same source file twice into different object
# files, the pgcc approach of using the *source* file root name can cause
# problems in parallel builds. Use a locking strategy to avoid stomping on
# the same $tmpdepfile.
lockdir=$base.d-lock
trap "
echo '$0: caught signal, cleaning up...' >&2
rmdir '$lockdir'
exit 1
" 1 2 13 15
numtries=100
i=$numtries
while test $i -gt 0; do
# mkdir is a portable test-and-set.
if mkdir "$lockdir" 2>/dev/null; then
# This process acquired the lock.
"$@" -MD
stat=$?
# Release the lock.
rmdir "$lockdir"
break
else
# If the lock is being held by a different process, wait
# until the winning process is done or we timeout.
while test -d "$lockdir" && test $i -gt 0; do
sleep 1
i=`expr $i - 1`
done
fi
i=`expr $i - 1`
done
trap - 1 2 13 15
if test $i -le 0; then
echo "$0: failed to acquire lock after $numtries attempts" >&2
echo "$0: check lockdir '$lockdir'" >&2
exit 1
fi
if test $stat -ne 0; then
rm -f "$tmpdepfile"
exit $stat
fi
rm -f "$depfile"
# Each line is of the form `foo.o: dependent.h',
# or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
# Do two passes, one to just change these to
# `$object: dependent.h' and one to simply `dependent.h:'.
sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
# Some versions of the HPUX 10.20 sed can't process this invocation
# correctly. Breaking it into two sed invocations is a workaround.
sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \
| sed -e 's/$/ :/' >> "$depfile"
rm -f "$tmpdepfile"
;;
hp2)
# The "hp" stanza above does not work with aCC (C++) and HP's ia64
# compilers, which have integrated preprocessors. The correct option
# to use with these is +Maked; it writes dependencies to a file named
# 'foo.d', which lands next to the object file, wherever that
# happens to be.
# Much of this is similar to the tru64 case; see comments there.
set_dir_from "$object"
set_base_from "$object"
if test "$libtool" = yes; then
tmpdepfile1=$dir$base.d
tmpdepfile2=$dir.libs/$base.d
"$@" -Wc,+Maked
else
tmpdepfile1=$dir$base.d
tmpdepfile2=$dir$base.d
"$@" +Maked
fi
stat=$?
if test $stat -ne 0; then
rm -f "$tmpdepfile1" "$tmpdepfile2"
exit $stat
fi
for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2"
do
test -f "$tmpdepfile" && break
done
if test -f "$tmpdepfile"; then
sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile"
# Add 'dependent.h:' lines.
sed -ne '2,${
s/^ *//
s/ \\*$//
s/$/:/
p
}' "$tmpdepfile" >> "$depfile"
else
make_dummy_depfile
fi
rm -f "$tmpdepfile" "$tmpdepfile2"
;;
tru64)
# The Tru64 compiler uses -MD to generate dependencies as a side
# effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'.
# At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
# dependencies in 'foo.d' instead, so we check for that too.
# Subdirectories are respected.
set_dir_from "$object"
set_base_from "$object"
if test "$libtool" = yes; then
# Libtool generates 2 separate objects for the 2 libraries. These
# two compilations output dependencies in $dir.libs/$base.o.d and
# in $dir$base.o.d. We have to check for both files, because
# one of the two compilations can be disabled. We should prefer
# $dir$base.o.d over $dir.libs/$base.o.d because the latter is
# automatically cleaned when .libs/ is deleted, while ignoring
# the former would cause a distcleancheck panic.
tmpdepfile1=$dir$base.o.d # libtool 1.5
tmpdepfile2=$dir.libs/$base.o.d # Likewise.
tmpdepfile3=$dir.libs/$base.d # Compaq CCC V6.2-504
"$@" -Wc,-MD
else
tmpdepfile1=$dir$base.d
tmpdepfile2=$dir$base.d
tmpdepfile3=$dir$base.d
"$@" -MD
fi
stat=$?
if test $stat -ne 0; then
rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
exit $stat
fi
for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
do
test -f "$tmpdepfile" && break
done
# Same post-processing that is required for AIX mode.
aix_post_process_depfile
;;
msvc7)
if test "$libtool" = yes; then
showIncludes=-Wc,-showIncludes
else
showIncludes=-showIncludes
fi
"$@" $showIncludes > "$tmpdepfile"
stat=$?
grep -v '^Note: including file: ' "$tmpdepfile"
if test $stat -ne 0; then
rm -f "$tmpdepfile"
exit $stat
fi
rm -f "$depfile"
echo "$object : \\" > "$depfile"
# The first sed program below extracts the file names and escapes
# backslashes for cygpath. The second sed program outputs the file
# name when reading, but also accumulates all include files in the
# hold buffer in order to output them again at the end. This only
# works with sed implementations that can handle large buffers.
sed < "$tmpdepfile" -n '
/^Note: including file: *\(.*\)/ {
s//\1/
s/\\/\\\\/g
p
}' | $cygpath_u | sort -u | sed -n '
s/ /\\ /g
s/\(.*\)/'"$tab"'\1 \\/p
s/.\(.*\) \\/\1:/
H
$ {
s/.*/'"$tab"'/
G
p
}' >> "$depfile"
echo >> "$depfile" # make sure the fragment doesn't end with a backslash
rm -f "$tmpdepfile"
;;
msvc7msys)
# This case exists only to let depend.m4 do its work. It works by
# looking at the text of this script. This case will never be run,
# since it is checked for above.
exit 1
;;
#nosideeffect)
# This comment above is used by automake to tell side-effect
# dependency tracking mechanisms from slower ones.
dashmstdout)
# Important note: in order to support this mode, a compiler *must*
# always write the preprocessed file to stdout, regardless of -o.
"$@" || exit $?
# Remove the call to Libtool.
if test "$libtool" = yes; then
while test "X$1" != 'X--mode=compile'; do
shift
done
shift
fi
# Remove '-o $object'.
IFS=" "
for arg
do
case $arg in
-o)
shift
;;
$object)
shift
;;
*)
set fnord "$@" "$arg"
shift # fnord
shift # $arg
;;
esac
done
test -z "$dashmflag" && dashmflag=-M
# Require at least two characters before searching for ':'
# in the target name. This is to cope with DOS-style filenames:
# a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise.
"$@" $dashmflag |
sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile"
rm -f "$depfile"
cat < "$tmpdepfile" > "$depfile"
# Some versions of the HPUX 10.20 sed can't process this sed invocation
# correctly. Breaking it into two sed invocations is a workaround.
tr ' ' "$nl" < "$tmpdepfile" \
| sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \
| sed -e 's/$/ :/' >> "$depfile"
rm -f "$tmpdepfile"
;;
dashXmstdout)
# This case only exists to satisfy depend.m4. It is never actually
# run, as this mode is specially recognized in the preamble.
exit 1
;;
makedepend)
"$@" || exit $?
# Remove any Libtool call
if test "$libtool" = yes; then
while test "X$1" != 'X--mode=compile'; do
shift
done
shift
fi
# X makedepend
shift
cleared=no eat=no
for arg
do
case $cleared in
no)
set ""; shift
cleared=yes ;;
esac
if test $eat = yes; then
eat=no
continue
fi
case "$arg" in
-D*|-I*)
set fnord "$@" "$arg"; shift ;;
# Strip any option that makedepend may not understand. Remove
# the object too, otherwise makedepend will parse it as a source file.
-arch)
eat=yes ;;
-*|$object)
;;
*)
set fnord "$@" "$arg"; shift ;;
esac
done
obj_suffix=`echo "$object" | sed 's/^.*\././'`
touch "$tmpdepfile"
${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
rm -f "$depfile"
# makedepend may prepend the VPATH from the source file name to the object.
# No need to regex-escape $object, excess matching of '.' is harmless.
sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile"
# Some versions of the HPUX 10.20 sed can't process the last invocation
# correctly. Breaking it into two sed invocations is a workaround.
sed '1,2d' "$tmpdepfile" \
| tr ' ' "$nl" \
| sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \
| sed -e 's/$/ :/' >> "$depfile"
rm -f "$tmpdepfile" "$tmpdepfile".bak
;;
cpp)
# Important note: in order to support this mode, a compiler *must*
# always write the preprocessed file to stdout.
"$@" || exit $?
# Remove the call to Libtool.
if test "$libtool" = yes; then
while test "X$1" != 'X--mode=compile'; do
shift
done
shift
fi
# Remove '-o $object'.
IFS=" "
for arg
do
case $arg in
-o)
shift
;;
$object)
shift
;;
*)
set fnord "$@" "$arg"
shift # fnord
shift # $arg
;;
esac
done
"$@" -E \
| sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
-e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
| sed '$ s: \\$::' > "$tmpdepfile"
rm -f "$depfile"
echo "$object : \\" > "$depfile"
cat < "$tmpdepfile" >> "$depfile"
sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
rm -f "$tmpdepfile"
;;
msvisualcpp)
# Important note: in order to support this mode, a compiler *must*
# always write the preprocessed file to stdout.
"$@" || exit $?
# Remove the call to Libtool.
if test "$libtool" = yes; then
while test "X$1" != 'X--mode=compile'; do
shift
done
shift
fi
IFS=" "
for arg
do
case "$arg" in
-o)
shift
;;
$object)
shift
;;
"-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
set fnord "$@"
shift
shift
;;
*)
set fnord "$@" "$arg"
shift
shift
;;
esac
done
"$@" -E 2>/dev/null |
sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile"
rm -f "$depfile"
echo "$object : \\" > "$depfile"
sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile"
echo "$tab" >> "$depfile"
sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile"
rm -f "$tmpdepfile"
;;
msvcmsys)
# This case exists only to let depend.m4 do its work. It works by
# looking at the text of this script. This case will never be run,
# since it is checked for above.
exit 1
;;
none)
exec "$@"
;;
*)
echo "Unknown depmode $depmode" 1>&2
exit 1
;;
esac
exit 0
# Local Variables:
# mode: shell-script
# sh-indentation: 2
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
# time-stamp-time-zone: "UTC"
# time-stamp-end: "; # UTC"
# End:

View File

@@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl
#
# Copyright by The HDF Group.
# Copyright by the Board of Trustees of the University of Illinois.
@@ -7,10 +7,12 @@
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
use warnings;
my $depend_file;
my $new_depend_file;
my $srcdir;

View File

@@ -7,7 +7,7 @@
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#

View File

@@ -1,4 +1,7 @@
#!/usr/bin/perl -p
#!/bin/sh
#! -*-perl-*-
eval 'exec perl -p -x -S $0 ${1+"$@"}'
if 0;
#
# Copyright by The HDF Group.
# Copyright by the Board of Trustees of the University of Illinois.
@@ -7,7 +10,7 @@
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#

View File

@@ -1,5 +1,6 @@
#!/usr/local/bin/perl -w
#!/usr/bin/env perl
require 5.003;
use warnings;
use Text::Tabs;
# NOTE: THE FORMAT OF HRETURN_ERROR AND HGOTO_ERROR MACROS HAS
@@ -12,11 +13,11 @@ use Text::Tabs;
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
# Robb Matzke, matzke@llnl.gov
# Robb Matzke
# 30 Aug 1997
#
# Purpose: This script will read standard input which should be a

26
bin/format_source Executable file
View File

@@ -0,0 +1,26 @@
#!/bin/bash
#
# Recursively format all C & C++ sources and header files, except those in the
# 'config' directory and generated files, such as H5LTanalyze.c, etc.
#
# Note that any files or directories that are excluded here should also be
# added to the 'exclude' list in .github/workflows/clang-format-check.yml
#
# (Remember to update both bin/format_source and bin/format_source_patch)
find . \( -type d -path ./config -prune -and -not -path ./config \) \
-or \( \( \! \( \
-name H5LTanalyze.c \
-or -name H5LTparse.c \
-or -name H5LTparse.h \
-or -name H5Epubgen.h \
-or -name H5Einit.h \
-or -name H5Eterm.h \
-or -name H5Edefin.h \
-or -name H5version.h \
-or -name H5overflow.h \
\) \) \
-and \( -iname *.h -or -iname *.c -or -iname *.cpp -or -iname *.hpp \) \) \
| xargs clang-format -style=file -i -fallback-style=none
exit 0

34
bin/format_source_patch Executable file
View File

@@ -0,0 +1,34 @@
#!/bin/bash
#
# Recursively format all C & C++ sources and header files, except those in the
# 'config' directory and generated files, such as H5LTanalyze.c, etc.
#
# Note that any files or directories that are excluded here should also be
# added to the 'exclude' list in .github/workflows/clang-format-check.yml
#
# (Remember to update both bin/format_source and bin/format_source_patch)
find . \( -type d -path ./config -prune -and -not -path ./config \) \
-or \( \( \! \( \
-name H5LTanalyze.c \
-or -name H5LTparse.c \
-or -name H5LTparse.h \
-or -name H5Epubgen.h \
-or -name H5Einit.h \
-or -name H5Eterm.h \
-or -name H5Edefin.h \
-or -name H5version.h \
-or -name H5overflow.h \
\) \) \
-and \( -iname *.h -or -iname *.c -or -iname *.cpp -or -iname *.hpp \) \) \
| xargs clang-format -style=file -i -fallback-style=none
git diff > clang_format.patch
# Delete if 0 size
if [ ! -s clang_format.patch ]
then
rm clang_format.patch
fi
exit 0

View File

@@ -7,7 +7,7 @@
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.

View File

@@ -1,12 +1,12 @@
#! /bin/bash
#
# Copyright by The HDF Group.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# Copyright by The HDF Group.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
@@ -200,28 +200,34 @@ if [ "$verbose" = true ] ; then
fi
${HDF5_FLEX} --nounistd -PH5LTyy -o ${path_to_hl_src}/H5LTanalyze.c ${path_to_hl_src}/H5LTanalyze.l
# fix H5LTparse.c to declare H5LTyyparse return type as an hid_t
# instead of int. Currently the generated function H5LTyyparse is
# fix H5LTparse.c and H5LTlparse.h to declare H5LTyyparse return type as an
# hid_t instead of int. Currently the generated function H5LTyyparse is
# generated with a return value of type int, which is a mapping to the
# flex yyparse function. The return value in the HL library should be
# an hid_t.
# I propose to not use flex to generate this function, but for now I am
# an hid_t.
# I propose to not use flex to generate this function, but for now I am
# adding a perl command to find and replace this function declaration in
# H5LTparse.c.
perl -0777 -pi -e 's/int yyparse/hid_t yyparse/igs' ${path_to_hl_src}/H5LTparse.c
perl -0777 -pi -e 's/int\nyyparse/hid_t\nyyparse/igs' ${path_to_hl_src}/H5LTparse.c
perl -0777 -pi -e 's/int H5LTyyparse/hid_t H5LTyyparse/igs' ${path_to_hl_src}/H5LTparse.c
perl -0777 -pi -e 's/int yyparse/hid_t yyparse/igs' ${path_to_hl_src}/H5LTparse.h
perl -0777 -pi -e 's/int\nyyparse/hid_t\nyyparse/igs' ${path_to_hl_src}/H5LTparse.h
perl -0777 -pi -e 's/int H5LTyyparse/hid_t H5LTyyparse/igs' ${path_to_hl_src}/H5LTparse.h
# Add code that disables warnings in the flex/bison-generated code.
#
# Note that the GCC pragmas did not exist until gcc 4.2. Earlier versions
# will simply ignore them, but we want to avoid those warnings.
#
# Note also that although clang defines __GNUC__, it doesn't support every
# warning that GCC does.
for f in ${path_to_hl_src}/H5LTparse.c ${path_to_hl_src}/H5LTanalyze.c
do
echo '#if __GNUC__ >= 4 && __GNUC_MINOR__ >=2 ' >> tmp.out
echo '#if defined (__GNUC__) ' >> tmp.out
echo '#if ((__GNUC__ * 100) + __GNUC_MINOR__) >= 402 ' >> tmp.out
echo '#pragma GCC diagnostic ignored "-Wconversion" ' >> tmp.out
echo '#pragma GCC diagnostic ignored "-Wimplicit-function-declaration" ' >> tmp.out
echo '#pragma GCC diagnostic ignored "-Wlarger-than=" ' >> tmp.out
echo '#pragma GCC diagnostic ignored "-Wmissing-prototypes" ' >> tmp.out
echo '#pragma GCC diagnostic ignored "-Wnested-externs" ' >> tmp.out
echo '#pragma GCC diagnostic ignored "-Wold-style-definition" ' >> tmp.out
@@ -230,11 +236,19 @@ do
echo '#pragma GCC diagnostic ignored "-Wsign-conversion" ' >> tmp.out
echo '#pragma GCC diagnostic ignored "-Wstrict-overflow" ' >> tmp.out
echo '#pragma GCC diagnostic ignored "-Wstrict-prototypes" ' >> tmp.out
echo '#if !defined (__clang__) ' >> tmp.out
echo '#pragma GCC diagnostic ignored "-Wlarger-than=" ' >> tmp.out
echo '#pragma GCC diagnostic ignored "-Wsuggest-attribute=const" ' >> tmp.out
echo '#pragma GCC diagnostic ignored "-Wsuggest-attribute=pure" ' >> tmp.out
echo '#endif ' >> tmp.out
echo '#pragma GCC diagnostic ignored "-Wswitch-default" ' >> tmp.out
echo '#pragma GCC diagnostic ignored "-Wunused-function" ' >> tmp.out
echo '#pragma GCC diagnostic ignored "-Wunused-macros" ' >> tmp.out
echo '#pragma GCC diagnostic ignored "-Wunused-parameter" ' >> tmp.out
echo '#endif ' >> tmp.out
echo '#if ((__GNUC__ * 100) + __GNUC_MINOR__) >= 600 ' >> tmp.out
echo '#pragma GCC diagnostic ignored "-Wnull-dereference" ' >> tmp.out
echo '#endif ' >> tmp.out
echo '#elif defined __SUNPRO_CC ' >> tmp.out
echo '#pragma disable_warn ' >> tmp.out
echo '#elif defined _MSC_VER ' >> tmp.out

View File

@@ -7,7 +7,7 @@
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
##
@@ -83,10 +83,10 @@ CLINKERBASE="@CC@"
# CFLAGS, CPPFLAGS and LDFLAGS are reserved for use by the script user.
# FLAGS brought from the hdf5 build are put in H5BLD_*FLAGS.
# User's CPPFLAGS and CFLAGS come after their H5BLD counterparts. User's
# LDFLAGS come just before clibpath, user's LIBS come after $link_objs and
# before the hdf5 libraries in $link_args, followed by any external library
# paths and libraries from AM_LDFLAGS, LDFLAGS, AM_LIBS or LIBS carried in
# User's CPPFLAGS and CFLAGS come after their H5BLD counterparts. User's
# LDFLAGS come just before clibpath, user's LIBS come after $link_objs and
# before the hdf5 libraries in $link_args, followed by any external library
# paths and libraries from AM_LDFLAGS, LDFLAGS, AM_LIBS or LIBS carried in
# from the hdf5 build. The order of the flags is intended to give precedence
# to the user's flags.
H5BLD_CFLAGS="@AM_CFLAGS@ @CFLAGS@"
@@ -102,9 +102,9 @@ LDFLAGS="${HDF5_LDFLAGS:-$LDFLAGSBASE}"
LIBS="${HDF5_LIBS:-$LIBSBASE}"
# If a static library is available, the default will be to use it. If the only
# available library is shared, it will be used by default. The user can
# available library is shared, it will be used by default. The user can
# override either default, although choosing an unavailable library will result
# in link errors.
# in link errors.
STATIC_AVAILABLE="@enable_static@"
if test "${STATIC_AVAILABLE}" = "yes"; then
USE_SHARED_LIB="${HDF5_USE_SHLIB:-no}"
@@ -114,13 +114,6 @@ fi
usage() {
# A wonderfully informative "usage" message.
echo "usage: $prog_name [OPTIONS] <compile line>"
echo " OPTIONS:"
echo " -help This help message."
echo " -echo Show all the shell commands executed"
echo " -prefix=DIR Prefix directory to find HDF5 lib/ and include/"
echo " subdirectories [default: $prefix]"
# A wonderfully informative "usage" message.
echo "usage: $prog_name [OPTIONS] <compile line>"
echo " OPTIONS:"
@@ -147,7 +140,7 @@ usage() {
echo " HDF5_CC - use a different C compiler"
echo " HDF5_CLINKER - use a different linker"
echo " HDF5_USE_SHLIB=[yes|no] - use shared or static version of the HDF5 library"
echo " [default: no except when built with only"
echo " [default: no except when built with only"
echo " shared libraries]"
echo " "
echo " You can also add or change paths and flags to the compile line using"
@@ -325,7 +318,7 @@ fi
if test "x$do_link" = "xyes"; then
shared_link=""
# conditionnaly link with the hl library
# conditionnaly link with the hl library
if test "X$HL" = "Xhl"; then
libraries=" $libraries -lhdf5_hl -lhdf5 "
else
@@ -386,10 +379,10 @@ if test "x$do_link" = "xyes"; then
# module. It's okay if they're included twice in the compile line.
link_args="$link_args $H5BLD_LDFLAGS $H5BLD_LIBS"
# User's CPPFLAGS and CFLAGS come after their H5BLD counterparts. User's
# LDFLAGS come just before clibpath, user's LIBS come after $link_objs and
# before the hdf5 libraries in $link_args, followed by any external library
# paths and libraries from AM_LDFLAGS, LDFLAGS, AM_LIBS or LIBS carried in
# User's CPPFLAGS and CFLAGS come after their H5BLD counterparts. User's
# LDFLAGS come just before clibpath, user's LIBS come after $link_objs and
# before the hdf5 libraries in $link_args, followed by any external library
# paths and libraries from AM_LDFLAGS, LDFLAGS, AM_LIBS or LIBS carried in
# from the hdf5 build. The order of the flags is intended to give precedence
# to the user's flags.
$SHOW $CLINKER $H5BLD_CPPFLAGS $CPPFLAGS $H5BLD_CFLAGS $CFLAGS $LDFLAGS $clibpath $link_objs $LIBS $link_args $shared_link

View File

@@ -7,7 +7,7 @@
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#

View File

@@ -13,11 +13,11 @@ use strict;
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
# Robb Matzke <matzke@llnl.gov>
# Robb Matzke
# 17 July 1998
### Purpose
@@ -213,7 +213,7 @@ my (@curver) = getvers $contents;
# Determine the new version number.
my @newver; #new version
if ($set) {
if ($set =~ /(\d+)\.(\d+)\.(\d+)(-([a-zA-Z]\w*))?/) {
if ($set =~ /(\d+)\.(\d+)\.(\d+)(-([\da-zA-Z]\w*))?/) {
@newver = ($1, $2, $3, $5);
} elsif ($set =~ /(\d+)\D+(\d+)\D+(\d+)(\s*\(([a-zA-Z]\w*)\))?\D*$/) {
@newver = ($1, $2, $3, $5);
@@ -377,7 +377,7 @@ if ($H5_JAVA) {
my $version_string2 = sprintf("%d, %d, %d", @newver[0,1,2]);
$data =~ s/\@version HDF5 .* <BR>/\@version HDF5 $version_string1 <BR>/;
$data =~ s/ public final static int LIB_VERSION\[\] = { \d*, \d*, \d* };/ public final static int LIB_VERSION[] = { $version_string2 };/;
$data =~ s/ public final static int LIB_VERSION\[\] = \{ \d*, \d*, \d* \};/ public final static int LIB_VERSION[] = \{ $version_string2 \};/;
write_file($H5_JAVA, $data);
}
@@ -394,7 +394,7 @@ if ($TESTH5_JAVA) {
my $version_string1 = sprintf("%d, %d, %d", @newver[0,1,2]);
my $version_string2 = sprintf("int majnum = %d, minnum = %d, relnum = %d", @newver[0,1,2]);
$data =~ s/ int libversion\[\] = { .* };/ int libversion\[\] = { $version_string1 };/;
$data =~ s/ int libversion\[\] = \{ .* \};/ int libversion\[\] = \{ $version_string1 \};/;
$data =~ s/ int majnum = \d*, minnum = \d*, relnum = \d*;/ $version_string2;/;
write_file($TESTH5_JAVA, $data);
@@ -405,7 +405,7 @@ if ($REPACK_LAYOUT_PLUGIN_VERSION) {
my $data = read_file($REPACK_LAYOUT_PLUGIN_VERSION);
my $version_string = sprintf("%d %d %d", @newver[0,1,2]);
$data =~ s/ PARAMS { 9 \d* \d* \d* }/ PARAMS { 9 $version_string }/g;
$data =~ s/ PARAMS \{ 9 \d* \d* \d* \}/ PARAMS \{ 9 $version_string \}/g;
write_file($REPACK_LAYOUT_PLUGIN_VERSION, $data);
}

501
bin/install-sh Executable file
View File

@@ -0,0 +1,501 @@
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2013-12-25.23; # UTC
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
# following copyright and license.
#
# Copyright (C) 1994 X Consortium
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#
# Except as contained in this notice, the name of the X Consortium shall not
# be used in advertising or otherwise to promote the sale, use or other deal-
# ings in this Software without prior written authorization from the X Consor-
# tium.
#
#
# FSF changes to this file are in the public domain.
#
# Calling this script install-sh is preferred over install.sh, to prevent
# 'make' implicit rules from creating a file called install from it
# when there is no Makefile.
#
# This script is compatible with the BSD install script, but was written
# from scratch.
tab=' '
nl='
'
IFS=" $tab$nl"
# Set DOITPROG to "echo" to test this script.
doit=${DOITPROG-}
doit_exec=${doit:-exec}
# Put in absolute file names if you don't have them in your path;
# or use environment vars.
chgrpprog=${CHGRPPROG-chgrp}
chmodprog=${CHMODPROG-chmod}
chownprog=${CHOWNPROG-chown}
cmpprog=${CMPPROG-cmp}
cpprog=${CPPROG-cp}
mkdirprog=${MKDIRPROG-mkdir}
mvprog=${MVPROG-mv}
rmprog=${RMPROG-rm}
stripprog=${STRIPPROG-strip}
posix_mkdir=
# Desired mode of installed file.
mode=0755
chgrpcmd=
chmodcmd=$chmodprog
chowncmd=
mvcmd=$mvprog
rmcmd="$rmprog -f"
stripcmd=
src=
dst=
dir_arg=
dst_arg=
copy_on_change=false
is_target_a_directory=possibly
usage="\
Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
or: $0 [OPTION]... SRCFILES... DIRECTORY
or: $0 [OPTION]... -t DIRECTORY SRCFILES...
or: $0 [OPTION]... -d DIRECTORIES...
In the 1st form, copy SRCFILE to DSTFILE.
In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
In the 4th, create DIRECTORIES.
Options:
--help display this help and exit.
--version display version info and exit.
-c (ignored)
-C install only if different (preserve the last data modification time)
-d create directories instead of installing files.
-g GROUP $chgrpprog installed files to GROUP.
-m MODE $chmodprog installed files to MODE.
-o USER $chownprog installed files to USER.
-s $stripprog installed files.
-t DIRECTORY install into DIRECTORY.
-T report an error if DSTFILE is a directory.
Environment variables override the default commands:
CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
RMPROG STRIPPROG
"
while test $# -ne 0; do
case $1 in
-c) ;;
-C) copy_on_change=true;;
-d) dir_arg=true;;
-g) chgrpcmd="$chgrpprog $2"
shift;;
--help) echo "$usage"; exit $?;;
-m) mode=$2
case $mode in
*' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*)
echo "$0: invalid mode: $mode" >&2
exit 1;;
esac
shift;;
-o) chowncmd="$chownprog $2"
shift;;
-s) stripcmd=$stripprog;;
-t)
is_target_a_directory=always
dst_arg=$2
# Protect names problematic for 'test' and other utilities.
case $dst_arg in
-* | [=\(\)!]) dst_arg=./$dst_arg;;
esac
shift;;
-T) is_target_a_directory=never;;
--version) echo "$0 $scriptversion"; exit $?;;
--) shift
break;;
-*) echo "$0: invalid option: $1" >&2
exit 1;;
*) break;;
esac
shift
done
# We allow the use of options -d and -T together, by making -d
# take the precedence; this is for compatibility with GNU install.
if test -n "$dir_arg"; then
if test -n "$dst_arg"; then
echo "$0: target directory not allowed when installing a directory." >&2
exit 1
fi
fi
if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
# When -d is used, all remaining arguments are directories to create.
# When -t is used, the destination is already specified.
# Otherwise, the last argument is the destination. Remove it from $@.
for arg
do
if test -n "$dst_arg"; then
# $@ is not empty: it contains at least $arg.
set fnord "$@" "$dst_arg"
shift # fnord
fi
shift # arg
dst_arg=$arg
# Protect names problematic for 'test' and other utilities.
case $dst_arg in
-* | [=\(\)!]) dst_arg=./$dst_arg;;
esac
done
fi
if test $# -eq 0; then
if test -z "$dir_arg"; then
echo "$0: no input file specified." >&2
exit 1
fi
# It's OK to call 'install-sh -d' without argument.
# This can happen when creating conditional directories.
exit 0
fi
if test -z "$dir_arg"; then
if test $# -gt 1 || test "$is_target_a_directory" = always; then
if test ! -d "$dst_arg"; then
echo "$0: $dst_arg: Is not a directory." >&2
exit 1
fi
fi
fi
if test -z "$dir_arg"; then
do_exit='(exit $ret); exit $ret'
trap "ret=129; $do_exit" 1
trap "ret=130; $do_exit" 2
trap "ret=141; $do_exit" 13
trap "ret=143; $do_exit" 15
# Set umask so as not to create temps with too-generous modes.
# However, 'strip' requires both read and write access to temps.
case $mode in
# Optimize common cases.
*644) cp_umask=133;;
*755) cp_umask=22;;
*[0-7])
if test -z "$stripcmd"; then
u_plus_rw=
else
u_plus_rw='% 200'
fi
cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
*)
if test -z "$stripcmd"; then
u_plus_rw=
else
u_plus_rw=,u+rw
fi
cp_umask=$mode$u_plus_rw;;
esac
fi
for src
do
# Protect names problematic for 'test' and other utilities.
case $src in
-* | [=\(\)!]) src=./$src;;
esac
if test -n "$dir_arg"; then
dst=$src
dstdir=$dst
test -d "$dstdir"
dstdir_status=$?
else
# Waiting for this to be detected by the "$cpprog $src $dsttmp" command
# might cause directories to be created, which would be especially bad
# if $src (and thus $dsttmp) contains '*'.
if test ! -f "$src" && test ! -d "$src"; then
echo "$0: $src does not exist." >&2
exit 1
fi
if test -z "$dst_arg"; then
echo "$0: no destination specified." >&2
exit 1
fi
dst=$dst_arg
# If destination is a directory, append the input filename; won't work
# if double slashes aren't ignored.
if test -d "$dst"; then
if test "$is_target_a_directory" = never; then
echo "$0: $dst_arg: Is a directory" >&2
exit 1
fi
dstdir=$dst
dst=$dstdir/`basename "$src"`
dstdir_status=0
else
dstdir=`dirname "$dst"`
test -d "$dstdir"
dstdir_status=$?
fi
fi
obsolete_mkdir_used=false
if test $dstdir_status != 0; then
case $posix_mkdir in
'')
# Create intermediate dirs using mode 755 as modified by the umask.
# This is like FreeBSD 'install' as of 1997-10-28.
umask=`umask`
case $stripcmd.$umask in
# Optimize common cases.
*[2367][2367]) mkdir_umask=$umask;;
.*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
*[0-7])
mkdir_umask=`expr $umask + 22 \
- $umask % 100 % 40 + $umask % 20 \
- $umask % 10 % 4 + $umask % 2
`;;
*) mkdir_umask=$umask,go-w;;
esac
# With -d, create the new directory with the user-specified mode.
# Otherwise, rely on $mkdir_umask.
if test -n "$dir_arg"; then
mkdir_mode=-m$mode
else
mkdir_mode=
fi
posix_mkdir=false
case $umask in
*[123567][0-7][0-7])
# POSIX mkdir -p sets u+wx bits regardless of umask, which
# is incompatible with FreeBSD 'install' when (umask & 300) != 0.
;;
*)
tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
if (umask $mkdir_umask &&
exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
then
if test -z "$dir_arg" || {
# Check for POSIX incompatibilities with -m.
# HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
# other-writable bit of parent directory when it shouldn't.
# FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
ls_ld_tmpdir=`ls -ld "$tmpdir"`
case $ls_ld_tmpdir in
d????-?r-*) different_mode=700;;
d????-?--*) different_mode=755;;
*) false;;
esac &&
$mkdirprog -m$different_mode -p -- "$tmpdir" && {
ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
}
}
then posix_mkdir=:
fi
rmdir "$tmpdir/d" "$tmpdir"
else
# Remove any dirs left behind by ancient mkdir implementations.
rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
fi
trap '' 0;;
esac;;
esac
if
$posix_mkdir && (
umask $mkdir_umask &&
$doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
)
then :
else
# The umask is ridiculous, or mkdir does not conform to POSIX,
# or it failed possibly due to a race condition. Create the
# directory the slow way, step by step, checking for races as we go.
case $dstdir in
/*) prefix='/';;
[-=\(\)!]*) prefix='./';;
*) prefix='';;
esac
oIFS=$IFS
IFS=/
set -f
set fnord $dstdir
shift
set +f
IFS=$oIFS
prefixes=
for d
do
test X"$d" = X && continue
prefix=$prefix$d
if test -d "$prefix"; then
prefixes=
else
if $posix_mkdir; then
(umask=$mkdir_umask &&
$doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
# Don't fail if two instances are running concurrently.
test -d "$prefix" || exit 1
else
case $prefix in
*\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
*) qprefix=$prefix;;
esac
prefixes="$prefixes '$qprefix'"
fi
fi
prefix=$prefix/
done
if test -n "$prefixes"; then
# Don't fail if two instances are running concurrently.
(umask $mkdir_umask &&
eval "\$doit_exec \$mkdirprog $prefixes") ||
test -d "$dstdir" || exit 1
obsolete_mkdir_used=true
fi
fi
fi
if test -n "$dir_arg"; then
{ test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
{ test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
{ test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
else
# Make a couple of temp file names in the proper directory.
dsttmp=$dstdir/_inst.$$_
rmtmp=$dstdir/_rm.$$_
# Trap to clean up those temp files at exit.
trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
# Copy the file name to the temp name.
(umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
# and set any options; do chmod last to preserve setuid bits.
#
# If any of these fail, we abort the whole thing. If we want to
# ignore errors from any of these, just make sure not to ignore
# errors from the above "$doit $cpprog $src $dsttmp" command.
#
{ test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
{ test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
{ test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
{ test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
# If -C, don't bother to copy if it wouldn't change the file.
if $copy_on_change &&
old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
set -f &&
set X $old && old=:$2:$4:$5:$6 &&
set X $new && new=:$2:$4:$5:$6 &&
set +f &&
test "$old" = "$new" &&
$cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
then
rm -f "$dsttmp"
else
# Rename the file to the real destination.
$doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
# The rename failed, perhaps because mv can't rename something else
# to itself, or perhaps because mv is so ancient that it does not
# support -f.
{
# Now remove or move aside any old file at destination location.
# We try this two ways since rm can't unlink itself on some
# systems and the destination file might be busy for other
# reasons. In this case, the final cleanup might fail but the new
# file should still install successfully.
{
test ! -f "$dst" ||
$doit $rmcmd -f "$dst" 2>/dev/null ||
{ $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
{ $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
} ||
{ echo "$0: cannot unlink or rename $dst" >&2
(exit 1); exit 1
}
} &&
# Now rename the file to the real destination.
$doit $mvcmd "$dsttmp" "$dst"
}
fi || exit 1
trap '' 0
fi
done
# Local variables:
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
# time-stamp-time-zone: "UTC"
# time-stamp-end: "; # UTC"
# End:

View File

@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
#
# Copyright by The HDF Group.
# Copyright by the Board of Trustees of the University of Illinois.
@@ -7,7 +7,7 @@
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#

View File

@@ -7,7 +7,7 @@
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#

11147
bin/ltmain.sh Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,7 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl
require 5.003;
$indent=4;
use warnings;
#
# Copyright by The HDF Group.
@@ -10,7 +11,7 @@ $indent=4;
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
@@ -37,7 +38,7 @@ sub print_copyright ($) {
print $fh " * This file is part of HDF5. The full HDF5 copyright notice, including *\n";
print $fh " * terms governing use, modification, and redistribution, is contained in *\n";
print $fh " * the COPYING file, which can be found at the root of the source code *\n";
print $fh " * distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *\n";
print $fh " * distribution tree, or in https://www.hdfgroup.org/licenses. *\n";
print $fh " * If you do not have access to either file, you may request a copy from *\n";
print $fh " * help\@hdfgroup.org. *\n";
print $fh " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */\n";
@@ -63,8 +64,8 @@ sub print_startprotect ($$) {
$file =~ s/(\w*)\.h/$1/;
# Print the ifdef info
print $fh "\n#ifndef _${file}_H\n";
print $fh "#define _${file}_H\n";
print $fh "\n#ifndef ${file}_H\n";
print $fh "#define ${file}_H\n";
}
##############################################################################
@@ -244,8 +245,8 @@ sub create_init ($) {
print HEADER "/* Major error codes */\n";
print HEADER "/*********************/\n\n";
foreach $name (keys %major) {
print HEADER " "x(0*$indent),"assert(${name}_g==(-1));\n";
print HEADER " "x(0*$indent),"if((msg = H5E_create_msg(cls, H5E_MAJOR, \"${major{$name}}\"))==NULL)\n";
print HEADER " "x(0*$indent),"HDassert(${name}_g==(-1));\n";
print HEADER " "x(0*$indent),"if((msg = H5E__create_msg(cls, H5E_MAJOR, \"${major{$name}}\"))==NULL)\n";
print HEADER " "x(1*$indent),"HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, \"error message initialization failed\")\n";
print HEADER " "x(0*$indent),"if((${name}_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)\n";
print HEADER " "x(1*$indent),"HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, \"can't register error message\")\n";
@@ -260,8 +261,8 @@ sub create_init ($) {
# Iterate over all the minor errors in each section
for $name ( @{$section_list{$sect_name}}) {
print HEADER " "x(0*$indent),"assert(${name}_g==(-1));\n";
print HEADER " "x(0*$indent),"if((msg = H5E_create_msg(cls, H5E_MINOR, \"${minor{$name}}\"))==NULL)\n";
print HEADER " "x(0*$indent),"HDassert(${name}_g==(-1));\n";
print HEADER " "x(0*$indent),"if((msg = H5E__create_msg(cls, H5E_MINOR, \"${minor{$name}}\"))==NULL)\n";
print HEADER " "x(1*$indent),"HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, \"error message initialization failed\")\n";
print HEADER " "x(0*$indent),"if((${name}_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)\n";
print HEADER " "x(1*$indent),"HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, \"can't register error message\")\n";

View File

@@ -1,6 +1,7 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl
require 5.003;
use strict;
use warnings;
# Global settings
@@ -15,7 +16,7 @@ my @ctypes = ( () );
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
@@ -66,7 +67,7 @@ sub print_copyright ($) {
print $fh " * This file is part of HDF5. The full HDF5 copyright notice, including *\n";
print $fh " * terms governing use, modification, and redistribution, is contained in *\n";
print $fh " * the COPYING file, which can be found at the root of the source code *\n";
print $fh " * distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *\n";
print $fh " * distribution tree, or in https://www.hdfgroup.org/licenses. *\n";
print $fh " * If you do not have access to either file, you may request a copy from *\n";
print $fh " * help\@hdfgroup.org. *\n";
print $fh " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */\n";
@@ -92,8 +93,8 @@ sub print_startprotect ($$) {
$file =~ s/(\w*)\.h/$1/;
# Print the ifdef info
print $fh "\n#ifndef _${file}_H\n";
print $fh "#define _${file}_H\n";
print $fh "\n#ifndef ${file}_H\n";
print $fh "#define ${file}_H\n";
}
##############################################################################

View File

@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl
require 5.003;
use warnings;
# Global settings
# (The max_idx parameter is the only thing that needs to be changed when adding
@@ -7,7 +8,7 @@ require 5.003;
# is added (like support for 1.4, etc), the min_sup_idx parameter will
# need to be decremented. - QAK)
# Max. library "index" (0 = v1.0, 1 = 1.2, etc)
# Max. library "index" (0 = v1.0, 1 = 1.2, 2 = 1.4, 3 = 1.6, 4 = 1.8, 5 = 1.10, etc)
$max_idx = 5;
# Min. supported previous library version "index" (0 = v1.0, 1 = 1.2, etc)
@@ -24,7 +25,7 @@ $indent = 2;
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
@@ -51,7 +52,7 @@ sub print_copyright ($) {
print $fh " * This file is part of HDF5. The full HDF5 copyright notice, including *\n";
print $fh " * terms governing use, modification, and redistribution, is contained in *\n";
print $fh " * the COPYING file, which can be found at the root of the source code *\n";
print $fh " * distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *\n";
print $fh " * distribution tree, or in https://www.hdfgroup.org/licenses. *\n";
print $fh " * If you do not have access to either file, you may request a copy from *\n";
print $fh " * help\@hdfgroup.org. *\n";
print $fh " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */\n";
@@ -77,8 +78,8 @@ sub print_startprotect ($$) {
$file =~ s/(\w*)\.h/$1/;
# Print the ifdef info
print $fh "\n#ifndef _${file}_H\n";
print $fh "#define _${file}_H\n";
print $fh "\n#ifndef ${file}_H\n";
print $fh "#define ${file}_H\n";
}
##############################################################################
@@ -89,7 +90,8 @@ sub print_checkoptions ($) {
my $curr_idx; # Current API version index
# Print the option checking
print $fh "\n/* Issue error if contradicting macros have been defined. */\n";
print $fh "\n\n/* Issue error if contradicting macros have been defined. */\n";
print $fh "/* (Can't use an older (deprecated) API version if deprecated symbols have been disabled) */\n";
# Print the #ifdef
print $fh "#if (";
@@ -118,7 +120,30 @@ sub print_checkoptions ($) {
##############################################################################
# Print "global" API version macro settings
#
sub print_globalapivers ($) {
sub print_globalapidefvers ($) {
my $fh = shift; # File handle for output file
my $curr_idx; # Current API version index
# Print the descriptive comment
print $fh "\n\n/* If a particular default \"global\" version of the library's interfaces is\n";
print $fh " * chosen, set the corresponding version macro for API symbols.\n";
print $fh " *\n";
print $fh " */\n";
for $curr_idx ($min_sup_idx .. ($max_idx - 1)) {
# Print API version ifdef
print $fh "\n#if defined(H5_USE_1", ($curr_idx * 2), "_API_DEFAULT) && !defined(H5_USE_1", ($curr_idx * 2), "_API)\n";
# Print API version definition
print $fh " " x $indent, "#define H5_USE_1", ($curr_idx * 2), "_API 1\n";
# Print API version endif
print $fh "#endif /* H5_USE_1", ($curr_idx * 2), "_API_DEFAULT && !H5_USE_1", ($curr_idx * 2), "_API */\n";
}
}
##############################################################################
# Print "global" API symbol version macro settings
#
sub print_globalapisymbolvers ($) {
my $fh = shift; # File handle for output file
my $curr_idx; # Current API version index
@@ -130,15 +155,6 @@ sub print_globalapivers ($) {
print $fh " * API symbol, the individual API version macro takes priority.\n";
print $fh " */\n";
for $curr_idx ($min_sup_idx .. ($max_idx - 1)) {
# Print API version ifdef
print $fh "#if defined(H5_USE_1", ($curr_idx * 2), "_API_DEFAULT) && !defined(H5_USE_1", ($curr_idx * 2), "_API)\n";
# Print API version definition
print $fh " " x $indent, "#define H5_USE_1", ($curr_idx * 2), "_API 1\n";
# Print API version endif
print $fh "#endif /* H5_USE_1", ($curr_idx * 2), "_API_DEFAULT && !H5_USE_1", ($curr_idx * 2), "_API */\n\n";
}
# Loop over supported older library APIs and define the appropriate macros
for $curr_idx ($min_sup_idx .. ($max_idx - 1)) {
# Print API version ifdef
@@ -443,8 +459,9 @@ sub create_public ($) {
print_copyright(*HEADER);
print_warning(*HEADER);
print_startprotect(*HEADER, $file);
print_globalapidefvers(*HEADER);
print_checkoptions(*HEADER);
print_globalapivers(*HEADER);
print_globalapisymbolvers(*HEADER);
print_defaultapivers(*HEADER);
print_endprotect(*HEADER, $file);
@@ -478,7 +495,7 @@ for $file (@ARGV) {
}
}
close SOURCE;
# Create header files
print "Generating '", $prefix, "H5version.h'\n";
create_public($prefix);

215
bin/missing Executable file
View File

@@ -0,0 +1,215 @@
#! /bin/sh
# Common wrapper for a few potentially missing GNU programs.
scriptversion=2013-10-28.13; # UTC
# Copyright (C) 1996-2014 Free Software Foundation, Inc.
# Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
if test $# -eq 0; then
echo 1>&2 "Try '$0 --help' for more information"
exit 1
fi
case $1 in
--is-lightweight)
# Used by our autoconf macros to check whether the available missing
# script is modern enough.
exit 0
;;
--run)
# Back-compat with the calling convention used by older automake.
shift
;;
-h|--h|--he|--hel|--help)
echo "\
$0 [OPTION]... PROGRAM [ARGUMENT]...
Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due
to PROGRAM being missing or too old.
Options:
-h, --help display this help and exit
-v, --version output version information and exit
Supported PROGRAM values:
aclocal autoconf autoheader autom4te automake makeinfo
bison yacc flex lex help2man
Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and
'g' are ignored when checking the name.
Send bug reports to <bug-automake@gnu.org>."
exit $?
;;
-v|--v|--ve|--ver|--vers|--versi|--versio|--version)
echo "missing $scriptversion (GNU Automake)"
exit $?
;;
-*)
echo 1>&2 "$0: unknown '$1' option"
echo 1>&2 "Try '$0 --help' for more information"
exit 1
;;
esac
# Run the given program, remember its exit status.
"$@"; st=$?
# If it succeeded, we are done.
test $st -eq 0 && exit 0
# Also exit now if we it failed (or wasn't found), and '--version' was
# passed; such an option is passed most likely to detect whether the
# program is present and works.
case $2 in --version|--help) exit $st;; esac
# Exit code 63 means version mismatch. This often happens when the user
# tries to use an ancient version of a tool on a file that requires a
# minimum version.
if test $st -eq 63; then
msg="probably too old"
elif test $st -eq 127; then
# Program was missing.
msg="missing on your system"
else
# Program was found and executed, but failed. Give up.
exit $st
fi
perl_URL=http://www.perl.org/
flex_URL=http://flex.sourceforge.net/
gnu_software_URL=http://www.gnu.org/software
program_details ()
{
case $1 in
aclocal|automake)
echo "The '$1' program is part of the GNU Automake package:"
echo "<$gnu_software_URL/automake>"
echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:"
echo "<$gnu_software_URL/autoconf>"
echo "<$gnu_software_URL/m4/>"
echo "<$perl_URL>"
;;
autoconf|autom4te|autoheader)
echo "The '$1' program is part of the GNU Autoconf package:"
echo "<$gnu_software_URL/autoconf/>"
echo "It also requires GNU m4 and Perl in order to run:"
echo "<$gnu_software_URL/m4/>"
echo "<$perl_URL>"
;;
esac
}
give_advice ()
{
# Normalize program name to check for.
normalized_program=`echo "$1" | sed '
s/^gnu-//; t
s/^gnu//; t
s/^g//; t'`
printf '%s\n' "'$1' is $msg."
configure_deps="'configure.ac' or m4 files included by 'configure.ac'"
case $normalized_program in
autoconf*)
echo "You should only need it if you modified 'configure.ac',"
echo "or m4 files included by it."
program_details 'autoconf'
;;
autoheader*)
echo "You should only need it if you modified 'acconfig.h' or"
echo "$configure_deps."
program_details 'autoheader'
;;
automake*)
echo "You should only need it if you modified 'Makefile.am' or"
echo "$configure_deps."
program_details 'automake'
;;
aclocal*)
echo "You should only need it if you modified 'acinclude.m4' or"
echo "$configure_deps."
program_details 'aclocal'
;;
autom4te*)
echo "You might have modified some maintainer files that require"
echo "the 'autom4te' program to be rebuilt."
program_details 'autom4te'
;;
bison*|yacc*)
echo "You should only need it if you modified a '.y' file."
echo "You may want to install the GNU Bison package:"
echo "<$gnu_software_URL/bison/>"
;;
lex*|flex*)
echo "You should only need it if you modified a '.l' file."
echo "You may want to install the Fast Lexical Analyzer package:"
echo "<$flex_URL>"
;;
help2man*)
echo "You should only need it if you modified a dependency" \
"of a man page."
echo "You may want to install the GNU Help2man package:"
echo "<$gnu_software_URL/help2man/>"
;;
makeinfo*)
echo "You should only need it if you modified a '.texi' file, or"
echo "any other file indirectly affecting the aspect of the manual."
echo "You might want to install the Texinfo package:"
echo "<$gnu_software_URL/texinfo/>"
echo "The spurious makeinfo call might also be the consequence of"
echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might"
echo "want to install GNU make:"
echo "<$gnu_software_URL/make/>"
;;
*)
echo "You might have modified some files without having the proper"
echo "tools for further handling them. Check the 'README' file, it"
echo "often tells you about the needed prerequisites for installing"
echo "this package. You may also peek at any GNU archive site, in"
echo "case some other package contains this missing '$1' program."
;;
esac
}
give_advice "$1" | sed -e '1s/^/WARNING: /' \
-e '2,$s/^/ /' >&2
# Propagate the correct exit status (expected to be 127 for a program
# not found, 63 for a program that failed due to version mismatch).
exit $st
# Local variables:
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
# time-stamp-time-zone: "UTC"
# time-stamp-end: "; # UTC"
# End:

View File

@@ -7,7 +7,7 @@
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#

View File

@@ -7,7 +7,7 @@
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#

View File

@@ -4,7 +4,7 @@
## This file is part of HDF5. The full HDF5 copyright notice, including
## terms governing use, modification, and redistribution, is contained in
## the COPYING file, which can be found at the root of the source code
## distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
## distribution tree, or in https://www.hdfgroup.org/licenses.
## If you do not have access to either file, you may request a copy from
## help@hdfgroup.org.

View File

@@ -7,7 +7,7 @@
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#

View File

@@ -8,7 +8,7 @@
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#

View File

@@ -4,14 +4,12 @@
# Copyright by The HDF Group.
# All rights reserved.
#
# This file is part of HDF4. The full HDF4 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the files COPYING and Copyright.html. COPYING can be found at the root
# of the source code distribution tree; Copyright.html can be found at the
# root level of an installed copy of the electronic HDF4 document set and
# is linked from the top-level documents page. It can also be found at
# http://hdfgroup.org/HDF4/doc/Copyright.html. If you do not have
# access to either file, you may request a copy from help@hdfgroup.org.
# This file is part of HDF5. The full HDF5 copyright notice, including
# # terms governing use, modification, and redistribution, is contained in
# # the COPYING file, which can be found at the root of the source code
# # distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# # If you do not have access to either file, you may request a copy from
# # help@hdfgroup.org.
#
use warnings;
@@ -30,25 +28,23 @@ The contents of this directory are:
bin/ - Directory containing HDF5 pre-compiled utilities
include/ - Directory containing HDF5 include files
lib/ - Directory containing HDF5 libraries and settings
share/ - Directory containing example code in C, C++, and
Fortran using HDF5 and HDF5 HL library APIs. The
shell scripts provided with these examples will
compile and run them, and will also test the
share/ - Directory containing example code in C, C++, and
Fortran using HDF5 and HDF5 HL library APIs. The
shell scripts provided with these examples will
compile and run them, and will also test the
h5cc, h5c++, and h5fc compile scripts found
in the installed bin directory.
These binaries were built with the ZLIB and SZIP (version 2.1, Encoder
ENABLED) external libraries which are included in the lib directory for
convenience.
These binaries were built with the external libraries ZLIB and SZIP/Libaec
(version 1.0.4, Encoder ENABLED) which are included in the lib directory for
convenience. Libaec is an unrestricted open-source replacement for SZIP.
We also provide the ZLIB and SZIP source code on our ftp server at:
The official ZLIB and SZIP/Libaec pages are at:
ftp://ftp.hdfgroup.org/lib-external/
The official ZLIB and SZIP pages are at:
ZLIB: http://www.zlib.net/
SZIP: http://hdfgroup.org/doc_resource/SZIP/
ZLIB: https://git.savannah.gnu.org/cgit/gzip.git/
https://git.savannah.gnu.org/cgit/gzip.git/tree/COPYING
SZIP/Libaec: https://gitlab.dkrz.de/k202009/libaec
https://gitlab.dkrz.de/k202009/libaec/-/blob/master/Copyright.txt
";
@@ -76,9 +72,9 @@ to check:
LIBS - Libraries your application will link with
For further details refer to the INSTALL files in
ftp://ftp.hdfgroup.org/HDF5/current/src/unpacked/release_docs/
or in the ./release_docs/ directory of the HDF5 source code, which can be found
on the HDF Group ftp server at ftp://ftp.hdfgroup.org/HDF5/current/src/.
the ./release_docs/ directory of the HDF5 source code, which can be found
at https://support.hdfgroup.org/ftp/HDF5/current/src/.
Please send questions, comments, and suggestions to the appropriate
contact address from http://www.hdfgroup.org/about/contact.html

View File

@@ -4,14 +4,12 @@
# Copyright by The HDF Group.
# All rights reserved.
#
# This file is part of HDF4. The full HDF4 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the files COPYING and Copyright.html. COPYING can be found at the root
# of the source code distribution tree; Copyright.html can be found at the
# root level of an installed copy of the electronic HDF4 document set and
# is linked from the top-level documents page. It can also be found at
# http://hdfgroup.org/HDF4/doc/Copyright.html. If you do not have
# access to either file, you may request a copy from help@hdfgroup.org.
# This file is part of HDF5. The full HDF5 copyright notice, including
# # terms governing use, modification, and redistribution, is contained in
# # the COPYING file, which can be found at the root of the source code
# # distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# # If you do not have access to either file, you may request a copy from
# # help@hdfgroup.org.
#
use warnings;
@@ -91,7 +89,7 @@ elsif ($indirectory =~ /platypus/) {
$compilerstring2 = " gcc, g++, and gfortran 4.4.7)\n";
} else {
$line5 = " hdf5-$version-$outsubdir-shared.tar.gz - Includes C, C++, F90 and Java APIs (using";
$compilerstring2 = " gcc, g++, and gfortran 4.4.7 and java 1.8.0_51)\n";
$compilerstring2 = " gcc, g++, and gfortran 4.4.7 and java 1.7.0_99)\n";
}
}
elsif ($indirectory =~ /moohan/) {
@@ -100,10 +98,10 @@ elsif ($indirectory =~ /moohan/) {
$compilerstring1 = " gcc, g++, and gfortran 4.8.5)\n";
if ($indirectory =~ /32/) {
$line5 = " hdf5-$version-$outsubdir-shared.tar.gz - Includes C, C++, F90 and Java APIs (using";
$compilerstring2 = " gcc, g++, and gfortran 4.4.7)\n";
$compilerstring2 = " gcc, g++, and gfortran 4.8.5)\n";
} else {
$line5 = " hdf5-$version-$outsubdir-shared.tar.gz - Includes C, C++, F90 and Java APIs (using";
$compilerstring2 = " gcc, g++, and gfortran 4.8.5 and java 1.8.0_51)\n";
$compilerstring2 = " gcc, g++, and gfortran 4.8.5 and java 1.8.0_181)\n";
}
}
elsif ($indirectory =~ /emu/) {
@@ -112,30 +110,18 @@ elsif ($indirectory =~ /emu/) {
$line5 = " hdf5-$version-$outsubdir-shared.tar.gz - Includes C, C++, F90 APIs (using";
$compilerstring = " Sun C and C++ 5.12, Sun Fortran 95 8.6)\n";
}
elsif ($indirectory =~ /kite/) {
$line3 = " hfd5-$version-$outsubdir-static.tar.gz - Includes C, C++, F90 APIs (using";
$line5 = " hfd5-$version-$outsubdir-shared.tar.gz - Includes C, C++, F90 APIs (using";
$compilerstring = " Apple clang/clang++ 5.1 from Xcode 5.0.2,
gfortran 4.8.2)\n";
}
elsif ($indirectory =~ /quail/) {
$line3 = " hfd5-$version-$outsubdir-static.tar.gz - Includes C, C++, F90 APIs (using";
$line5 = " hfd5-$version-$outsubdir-shared.tar.gz - Includes C, C++, F90 APIs (using";
$compilerstring = " Apple clang/clang++ 6.0 from Xcode 5.1,
gfortran 4.9.2)\n";
}
elsif ($indirectory =~ /osx1010test/) {
$line3 = " hdf5-$version-$outsubdir-static.tar.gz - Includes C, C++, F90 APIs (using";
$line5 = " hdf5-$version-$outsubdir-shared.tar.gz - Includes C, C++, F90 APIs (using";
$compilerstring = " Apple clang/clang++ 6.1 from Xcode 6.1,
gfortran 4.9.2)\n";
}
elsif ($indirectory =~ /osx1011test/) {
$line3 = " hdf5-$version-$outsubdir-static.tar.gz - Includes C, C++, F90 APIs (using";
$line5 = " hdf5-$version-$outsubdir-shared.tar.gz - Includes C, C++, F90 APIs (using";
$compilerstring = " Apple clang/clang++ 7.0.2 from Xcode 7.0,
$compilerstring = " Apple clang/clang++ 7.3.0 from Xcode 7.3,
gfortran 5.2.0)\n";
}
elsif ($indirectory =~ /kite/) {
$line3 = " hfd5-$version-$outsubdir-static.tar.gz - Includes C, C++, F90 APIs (using";
$line5 = " hfd5-$version-$outsubdir-shared.tar.gz - Includes C, C++, F90 APIs (using";
$compilerstring = " Apple LLVM version 9.0.0 clang-900.39.2,
gfortran 7.4.0)\n";
}
print OUTFILE $line3;
print OUTFILE $compilerstring1."\n";

View File

@@ -7,7 +7,7 @@
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
@@ -39,29 +39,37 @@ USAGE()
{
cat << EOF
Usage: $0 -d <dir> [--docver BRANCHNAME] [-h] [--nocheck] [--private] <methods> ...
-d DIR The name of the directory where the releas(es) should be
-d DIR The name of the directory where the releas(es) should be
placed.
--docver BRANCHNAME This is added for 1.8 and beyond to get the correct
version of documentation files from the hdf5docs
repository. BRANCHNAME for v1.8 should be hdf5_1_8.
-h print the help page.
--nocheck Ignore errors in MANIFEST file.
--private Make a private release with today's date in version information.
--nocheck Ignore errors in MANIFEST file.
--private Make a private release with today's date in version information.
This must be run at the top level of the source directory.
The other command-line options are the names of the programs to use
for compressing the resulting tar archive (if none are given then
"tar" is assumed):
tar -- use tar and don't do any compressing.
gzip -- use gzip with "-9" and append ".gz" to the output name.
cmake-tgz -- create a tar file using the gzip default level with a build-unix.sh
tar -- use tar and don't do any compressing.
gzip -- use gzip with "-9" and append ".gz" to the output name.
bzip2 -- use bzip2 with "-9" and append ".bz2" to the output name.
zip -- convert all text files to DOS style and form a zip file for Windows use.
cmake-tgz -- create a tar file using the gzip default level with a build-unix.sh
command file and all other CMake files needed to build HDF5 source
using CMake on unix machines.
bzip2 -- use bzip2 with "-9" and append ".bz2" to the output name.
zip -- convert all text files to DOS style and form a zip file for Windows use.
cmake-zip -- convert all text files to DOS style and create a zip file inluding cmake
scripts and .bat files to build HDF5 source using CMake on Windows.
scripts and .bat files to build HDF5 source using CMake on Windows.
hpc-cmake-tgz
-- create a tar file using the gzip default level with a build-unix.sh
command file and all other CMake files needed to build HDF5 source
using CMake on unix machines, with HDF5options.cmake files for serial
and parallel builds on machines requiring batch jobs to run tests.
The default is for parallel build, with serial only build by changing
the HDF5options.cmake symlink to ser-HDF5options.cmake. More
information is available in the README_HPC file.
doc -- produce the latest doc tree in addition to the archive.
An md5 checksum is produced for each archive created and stored in the md5 file.
@@ -114,8 +122,8 @@ EOF
tar2zip()
{
if [ $# -ne 3 ]; then
echo "usage: tar2zip <tarfilename> <zipfilename>"
return 1
echo "usage: tar2zip <tarfilename> <zipfilename>"
return 1
fi
ztmpdir=/tmp/ztmpdir$$
mkdir -p $ztmpdir
@@ -127,23 +135,23 @@ tar2zip()
(cd $ztmpdir; tar xf -) < $tarfile
# sanity check
if [ ! -d $ztmpdir/$version ]; then
echo "untar did not create $ztmpdir/$version source dir"
# cleanup
rm -rf $ztmpdir
return 1
echo "untar did not create $ztmpdir/$version source dir"
# cleanup
rm -rf $ztmpdir
return 1
fi
# step 2: convert text files
# There maybe a simpler way to do this.
# options used in unix2dos:
# -k Keep the date stamp
# -k Keep the date stamp
# -q quiet mode
# grep redirect output to /dev/null because -q or -s are not portable.
find $ztmpdir/$version | \
while read inf; do \
if file $inf | grep "$inf\: .*text" > /dev/null 2>&1 ; then \
unix2dos -q -k $inf; \
fi\
done
while read inf; do \
if file $inf | grep "$inf\: .*text" > /dev/null 2>&1 ; then \
unix2dos -q -k $inf; \
fi\
done
# step 3: make zipball
# -9 maximum compression
# -y Store symbolic links as such in the zip archive
@@ -169,14 +177,14 @@ tar2zip()
# Note: do this in a temporary directory to avoid changing
# the original source directory which may be around.
# 2. add build-unix.sh script.
# 3. add SZIP.tar.gz, ZLib.tar.gz and cmake files to top level directory.
# 3. add LIBAEC.tar.gz, ZLib.tar.gz and cmake files to top level directory.
# 4. create gzipped tar file with these contents:
# build-unix.sh script
# hdf5-<version> source code directory extracted from tar file
# CTestScript.cmake cmake file copied from <hdf5 source code>/config/cmake/scripts
# HDF5config.cmake cmake file copied from <hdf5 source code>/config/cmake/scripts
# HDF5options.cmake cmake file copied from <hdf5 source code>/config/cmake/scripts
# SZip.tar.gz copied from /mnt/scr1/pre-release/hdf5/CMake
# LIBAEC.tar.gz copied from /mnt/scr1/pre-release/hdf5/CMake
# ZLib.tar.gz copied from /mnt/scr1/pre-release/hdf5/CMake
@@ -189,13 +197,13 @@ tar2zip()
#
# need function to create another temporary directory, extract the
# $tmpdir/$HDF5_VERS.tar into it, create build-VS*.bat files,
# add CTestScript.cmake, HDF5config.cmake, SZIP.tar.gz
# add CTestScript.cmake, HDF5config.cmake, LIBAEC.tar.gz
# ZLib.tar.gz, HDF5 examples, and then zip it.
tar2cmakezip()
{
if [ $# -ne 3 ]; then
echo "usage: tar2cmakezip <tarfilename> <zipfilename>"
return 1
echo "usage: tar2cmakezip <tarfilename> <zipfilename>"
return 1
fi
cmziptmpdir=/tmp/cmziptmpdir$$
cmziptmpsubdir=$cmziptmpdir/CMake-$HDF5_VERS
@@ -208,10 +216,10 @@ tar2cmakezip()
(cd $cmziptmpsubdir; tar xf -) < $tarfile
# sanity check
if [ ! -d $cmziptmpsubdir/$version ]; then
echo "untar did not create $cmziptmpsubdir/$version source dir"
# cleanup
rm -rf $cmziptmpdir
return 1
echo "untar did not create $cmziptmpsubdir/$version source dir"
# cleanup
rm -rf $cmziptmpdir
return 1
fi
# step 2: add batch file for building CMake on window
@@ -221,11 +229,14 @@ tar2cmakezip()
(cd $cmziptmpsubdir; echo "ctest -S HDF5config.cmake,BUILD_GENERATOR=VS201564 -C Release -V -O hdf5.log" > build-VS2015-64.bat; chmod 755 build-VS2015-64.bat)
(cd $cmziptmpsubdir; echo "ctest -S HDF5config.cmake,BUILD_GENERATOR=VS2017 -C Release -V -O hdf5.log" > build-VS2017-32.bat; chmod 755 build-VS2017-32.bat)
(cd $cmziptmpsubdir; echo "ctest -S HDF5config.cmake,BUILD_GENERATOR=VS201764 -C Release -V -O hdf5.log" > build-VS2017-64.bat; chmod 755 build-VS2017-64.bat)
(cd $cmziptmpsubdir; echo "ctest -S HDF5config.cmake,BUILD_GENERATOR=VS2019 -C Release -V -O hdf5.log" > build-VS2019-32.bat; chmod 755 build-VS2019-32.bat)
(cd $cmziptmpsubdir; echo "ctest -S HDF5config.cmake,BUILD_GENERATOR=VS201964 -C Release -V -O hdf5.log" > build-VS2019-64.bat; chmod 755 build-VS2019-64.bat)
# step 3: add SZIP.tar.gz, ZLib.tar.gz and cmake files
cp /mnt/scr1/pre-release/hdf5/CMake/SZip.tar.gz $cmziptmpsubdir
# step 3: add LIBAEC.tar.gz, ZLib.tar.gz and cmake files
cp /mnt/scr1/pre-release/hdf5/CMake/LIBAEC.tar.gz $cmziptmpsubdir
cp /mnt/scr1/pre-release/hdf5/CMake/ZLib.tar.gz $cmziptmpsubdir
cp /mnt/scr1/pre-release/hdf5/CMake/HDF5Examples-1.10.8-Source.tar.gz $cmziptmpsubdir
cp /mnt/scr1/pre-release/hdf5/CMake/HDF5Examples-1.10.17-Source.zip $cmziptmpsubdir
cp /mnt/scr1/pre-release/hdf5/CMake/hdf5_plugins-1_10_8.zip $cmziptmpsubdir
cp $cmziptmpsubdir/$version/config/cmake/scripts/CTestScript.cmake $cmziptmpsubdir
cp $cmziptmpsubdir/$version/config/cmake/scripts/HDF5config.cmake $cmziptmpsubdir
cp $cmziptmpsubdir/$version/config/cmake/scripts/HDF5options.cmake $cmziptmpsubdir
@@ -233,15 +244,15 @@ tar2cmakezip()
# step 4: convert text files
# There maybe a simpler way to do this.
# options used in unix2dos:
# -k Keep the date stamp
# -k Keep the date stamp
# -q quiet mode
# grep redirect output to /dev/null because -q or -s are not portable.
find $cmziptmpsubdir/$version | \
while read inf; do \
if file $inf | grep "$inf\: .*text" > /dev/null 2>&1 ; then \
unix2dos -q -k $inf; \
fi\
done
while read inf; do \
if file $inf | grep "$inf\: .*text" > /dev/null 2>&1 ; then \
unix2dos -q -k $inf; \
fi\
done
# step 3: make zipball
# -9 maximum compression
@@ -256,7 +267,7 @@ tar2cmakezip()
}
# Function name: tar2cmaketgz
# Convert the release tarball to a Windows zipball with files to run CMake build.
# Convert the release tarball to a gzipped tar file with files to run CMake build.
#
# Programmer: Larry Knox
# Creation date: 2017-02-20
@@ -268,14 +279,14 @@ tar2cmakezip()
# Note: do this in a temporary directory to avoid changing
# the original source directory which may be around.
# 2. add build-unix.sh script.
# 3. add SZIP.tar.gz, ZLib.tar.gz and cmake files to top level directory.
# 3. add LIBAEC.tar.gz, ZLib.tar.gz and cmake files to top level directory.
# 4. create gzipped tar file with these contents:
# build-unix.sh script
# hdf5-<version> source code directory extracted from tar file
# CTestScript.cmake cmake file copied from <hdf5 source code>/config/cmake/scripts
# HDF5config.cmake cmake file copied from <hdf5 source code>/config/cmake/scripts
# HDF5options.cmake cmake file copied from <hdf5 source code>/config/cmake/scripts
# SZip.tar.gz copied from /mnt/scr1/pre-release/hdf5/CMake
# LIBAEC.tar.gz copied from /mnt/scr1/pre-release/hdf5/CMake
# ZLib.tar.gz copied from /mnt/scr1/pre-release/hdf5/CMake
@@ -288,13 +299,13 @@ tar2cmakezip()
#
# need function to create another temporary directory, extract the
# $tmpdir/$HDF5_VERS.tar into it, create build-unix.sh,
# add CTestScript.cmake, HDF5config.cmake, SZIP.tar.gz
# add CTestScript.cmake, HDF5config.cmake, LIBAEC.tar.gz
# ZLib.tar.gz, HDF5 examples, and then tar.gz it.
tar2cmaketgz()
{
if [ $# -ne 3 ]; then
echo "usage: tar2cmaketgz <tarfilename> <tgzfilename>"
return 1
echo "usage: tar2cmaketgz <tarfilename> <tgzfilename>"
return 1
fi
cmgztmpdir=/tmp/cmgztmpdir$$
cmgztmpsubdir=$cmgztmpdir/CMake-$HDF5_VERS
@@ -307,25 +318,114 @@ tar2cmaketgz()
(cd $cmgztmpsubdir; tar xf -) < $tarfile
# sanity check
if [ ! -d $cmgztmpsubdir/$version ]; then
echo "untar did not create $cmgztmpsubdir/$version source dir"
# cleanup
rm -rf $cmgztmpdir
return 1
echo "untar did not create $cmgztmpsubdir/$version source dir"
# cleanup
rm -rf $cmgztmpdir
return 1
fi
# step 2: add build-unix.sh script
(cd $cmgztmpsubdir; echo "ctest -S HDF5config.cmake,BUILD_GENERATOR=Unix -C Release -V -O hdf5.log" > build-unix.sh; chmod 755 build-unix.sh)
# step 3: add SZIP.tar.gz, ZLib.tar.gz and cmake files
cp /mnt/scr1/pre-release/hdf5/CMake/SZip.tar.gz $cmgztmpsubdir
# step 3: add LIBAEC.tar.gz, ZLib.tar.gz and cmake files
cp /mnt/scr1/pre-release/hdf5/CMake/LIBAEC.tar.gz $cmgztmpsubdir
cp /mnt/scr1/pre-release/hdf5/CMake/ZLib.tar.gz $cmgztmpsubdir
cp /mnt/scr1/pre-release/hdf5/CMake/HDF5Examples-1.10.8-Source.tar.gz $cmgztmpsubdir
cp /mnt/scr1/pre-release/hdf5/CMake/HDF5Examples-1.10.17-Source.tar.gz $cmgztmpsubdir
cp /mnt/scr1/pre-release/hdf5/CMake/hdf5_plugins-1_10_8.tar.gz $cmgztmpsubdir
cp $cmgztmpsubdir/$version/config/cmake/scripts/CTestScript.cmake $cmgztmpsubdir
cp $cmgztmpsubdir/$version/config/cmake/scripts/HDF5config.cmake $cmgztmpsubdir
cp $cmgztmpsubdir/$version/config/cmake/scripts/HDF5options.cmake $cmgztmpsubdir
tar czf $DEST/CMake-$HDF5_VERS.tar.gz -C $cmgztmpdir . || exit 1
tar czf $DEST/CMake-$HDF5_VERS.tar.gz -C $cmgztmpdir . || exit 1
# cleanup
rm -rf $cmgztmpdir
}
# Function name: tar2hpccmaketgz
# Convert the release tarball to a gzipped tarfile with files to run CMake build
# and HDF5options.cmake files for parallel or serial only builds where build
# tests are run on compute nodes using batch scripts.
#
# Programmer: Larry Knox
# Creation date: 2019-01-28
#
# Modifications
#
# Steps:
# 1. untar the tarball in a temporary directory;
# Note: do this in a temporary directory to avoid changing
# the original source directory which may be around.
# 2. add build-unix.sh script.
# 3. add LIBAEC.tar.gz, ZLib.tar.gz and cmake files to top level directory.
# 4. create gzipped tar file with these contents:
# build-unix.sh script
# hdf5-<version> source code directory extracted from tar file
# CTestScript.cmake cmake file copied from <hdf5 source code>/config/cmake/scripts
# HDF5config.cmake cmake file copied from <hdf5 source code>/config/cmake/scripts
# HDF5options.cmake cmake file copied from <hdf5 source code>/config/cmake/scripts
# LIBAEC.tar.gz copied from /mnt/scr1/pre-release/hdf5/CMake
# ZLib.tar.gz copied from /mnt/scr1/pre-release/hdf5/CMake
#
# 5. For HPC-CMake tgz file the following are also needed in the top-level directory:
# README_HPC copied from release_docs
# ser-HDF5options.cmake copied from <hdf5 source code>/config/cmake/scripts/HPC
# par-HDF5options.cmake copied from <hdf5 source code>/config/cmake/scripts/HPC
# HDF5options.cmake symlink to par-HDF5options.cmake
#
# Parameters:
# $1 version
# $2 release tarball
# $3 output zipball file name
#
# Returns 0 if successful; 1 otherwise
#
# need function to create another temporary directory, extract the
# $tmpdir/$HDF5_VERS.tar into it, create build-unix.sh,
# add CTestScript.cmake, HDF5config.cmake, LIBAEC.tar.gz
# ZLib.tar.gz, HDF5 examples, and then tar.gz it.
tar2hpccmaketgz()
{
if [ $# -ne 3 ]; then
echo "usage: tar2hpccmaketgz <tarfilename> <tgzfilename>"
return 1
fi
cmgztmpdir=/tmp/cmgztmpdir$$
cmgztmpsubdir=$cmgztmpdir/HPC-CMake-$HDF5_VERS
mkdir -p $cmgztmpsubdir
version=$1
tarfile=$2
tgzfile=$3
# step 1: untar tarball in cmgztmpdir
(cd $cmgztmpsubdir; tar xf -) < $tarfile
# sanity check
if [ ! -d $cmgztmpsubdir/$version ]; then
echo "untar did not create $cmgztmpsubdir/$version source dir"
# cleanup
rm -rf $cmgztmpdir
return 1
fi
# step 2: add build-unix.sh script
(cd $cmgztmpsubdir; echo "ctest -S HDF5config.cmake,BUILD_GENERATOR=Unix -C Release -V -O hdf5.log" > build-unix.sh; chmod 755 build-unix.sh)
# step 3: add LIBAEC.tar.gz, ZLib.tar.gz and cmake files
cp /mnt/scr1/pre-release/hdf5/CMake/LIBAEC.tar.gz $cmgztmpsubdir
cp /mnt/scr1/pre-release/hdf5/CMake/ZLib.tar.gz $cmgztmpsubdir
cp /mnt/scr1/pre-release/hdf5/CMake/HDF5Examples-1.10.17-Source.tar.gz $cmgztmpsubdir
cp /mnt/scr1/pre-release/hdf5/CMake/hdf5_plugins-1_10_8.tar.gz $cmgztmpsubdir
cp $cmgztmpsubdir/$version/config/cmake/scripts/CTestScript.cmake $cmgztmpsubdir
cp $cmgztmpsubdir/$version/config/cmake/scripts/HDF5config.cmake $cmgztmpsubdir
cp $cmgztmpsubdir/$version/release_docs/README_HPC $cmgztmpsubdir
cp $cmgztmpsubdir/$version/config/cmake/scripts/HPC/ser-HDF5options.cmake $cmgztmpsubdir
cp $cmgztmpsubdir/$version/config/cmake/scripts/HPC/par-HDF5options.cmake $cmgztmpsubdir
(cd $cmgztmpsubdir; ln -s par-HDF5options.cmake HDF5options.cmake)
tar czf $DEST/HPC-CMake-$HDF5_VERS.tar.gz -C $cmgztmpdir . || exit 1
# cleanup
rm -rf $cmgztmpdir
}
@@ -347,7 +447,7 @@ check=yes
release_date=`date +%F`
today=`date +%Y%m%d`
pmode='no'
tmpdir="../#release_tmp.$$" # tmp work directory
tmpdir="../#release_tmp.$$" # tmp work directory
DOC_URL=https://git@bitbucket.hdfgroup.org/scm/hdffv/hdf5doc.git
CPPLUS_RM_NAME=cpplus_RM
MAINT_MODE_ENABLED=""
@@ -364,11 +464,11 @@ fi
RESTORE_VERSION()
{
if [ X-${VERS_OLD} != X- ]; then
echo restoring version information back to $VERS_OLD
rm -f config/lt_vers.am
cp $tmpdir/lt_vers.am config/lt_vers.am
bin/h5vers -s $VERS_OLD
VERS_OLD=
echo restoring version information back to $VERS_OLD
rm -f config/lt_vers.am
cp $tmpdir/lt_vers.am config/lt_vers.am
bin/h5vers -s $VERS_OLD
VERS_OLD=
fi
}
@@ -378,32 +478,32 @@ while [ -n "$1" ]; do
arg=$1
shift
case "$arg" in
-d)
DEST=$1
shift
;;
--nocheck)
check=no
;;
-h)
USAGE
exit 0
;;
--private)
pmode=yes
;;
-d)
DEST=$1
shift
;;
--nocheck)
check=no
;;
-h)
USAGE
exit 0
;;
--private)
pmode=yes
;;
--docver)
DOCVERSION=$1
shift
;;
-*)
echo "Unknown switch: $arg" 1>&2
USAGE
exit 1
;;
*)
methods="$methods $arg"
;;
-*)
echo "Unknown switch: $arg" 1>&2
USAGE
exit 1
;;
*)
methods="$methods $arg"
;;
esac
done
@@ -453,12 +553,12 @@ if [ "X$fail" = "Xyes" ]; then
echo ""
echo "Note! If you are running bin/release in a development branch"
echo "later than v 1.8 the MANIFEST check is expected to fail when"
echo "autogen.sh has not been run successfully. Either run autogen.sh "
echo "autogen.sh has not been run successfully. Either run autogen.sh "
echo "with /usr/hdf/bin/AUTOTOOLS at the beginning of PATH or add the"
echo "--nocheck argument to the bin/release command."
exit 1
else
echo "Continuing anyway..."
echo "Continuing anyway..."
fi
fi
@@ -492,7 +592,7 @@ test "$verbose" && echo " Running tar..." 1>&2
( \
cd $tmpdir; \
tar cf $HDF5_VERS.tar $HDF5_VERS/Makefile \
`sed 's/^\.\//hdf5-'$VERS'\//' $MANIFEST` || exit 1 \
`sed 's/^\.\//hdf5-'$VERS'\//' $MANIFEST` || exit 1 \
)
# Compress
@@ -500,56 +600,61 @@ MD5file=$HDF5_VERS.md5
cp /dev/null $DEST/$MD5file
for comp in $methods; do
case $comp in
tar)
cp -p $tmpdir/$HDF5_VERS.tar $DEST/$HDF5_VERS.tar
(cd $DEST; md5sum $HDF5_VERS.tar >> $MD5file)
;;
gzip)
test "$verbose" && echo " Running gzip..." 1>&2
gzip -9 <$tmpdir/$HDF5_VERS.tar >$DEST/$HDF5_VERS.tar.gz
(cd $DEST; md5sum $HDF5_VERS.tar.gz >> $MD5file)
;;
cmake-tgz)
test "$verbose" && echo " Creating CMake tar.gz file..." 1>&2
tar2cmaketgz $HDF5_VERS $tmpdir/$HDF5_VERS.tar $DEST/CMake-$HDF5_VERS.tar.gz 1>&2
(cd $DEST; md5sum CMake-$HDF5_VERS.tar.gz >> $MD5file)
tar)
cp -p $tmpdir/$HDF5_VERS.tar $DEST/$HDF5_VERS.tar
(cd $DEST; md5sum $HDF5_VERS.tar >> $MD5file)
;;
gzip)
test "$verbose" && echo " Running gzip..." 1>&2
gzip -9 <$tmpdir/$HDF5_VERS.tar >$DEST/$HDF5_VERS.tar.gz
(cd $DEST; md5sum $HDF5_VERS.tar.gz >> $MD5file)
;;
cmake-tgz)
test "$verbose" && echo " Creating CMake tar.gz file..." 1>&2
tar2cmaketgz $HDF5_VERS $tmpdir/$HDF5_VERS.tar $DEST/CMake-$HDF5_VERS.tar.gz 1>&2
(cd $DEST; md5sum CMake-$HDF5_VERS.tar.gz >> $MD5file)
;;
hpc-cmake-tgz)
test "$verbose" && echo " Creating HPC-CMake tar.gz file..." 1>&2
tar2hpccmaketgz $HDF5_VERS $tmpdir/$HDF5_VERS.tar $DEST/HPC-CMake-$HDF5_VERS.tar.gz 1>&2
(cd $DEST; md5sum HPC-CMake-$HDF5_VERS.tar.gz >> $MD5file)
;;
bzip2)
test "$verbose" && echo " Running bzip2..." 1>&2
bzip2 -9 <$tmpdir/$HDF5_VERS.tar >$DEST/$HDF5_VERS.tar.bz2
(cd $DEST; md5sum $HDF5_VERS.tar.bz2 >> $MD5file)
;;
zip)
test "$verbose" && echo " Creating zip ball..." 1>&2
tar2zip $HDF5_VERS $tmpdir/$HDF5_VERS.tar $DEST/$HDF5_VERS.zip 1>&2
(cd $DEST; md5sum $HDF5_VERS.zip >> $MD5file)
;;
bzip2)
test "$verbose" && echo " Running bzip2..." 1>&2
bzip2 -9 <$tmpdir/$HDF5_VERS.tar >$DEST/$HDF5_VERS.tar.bz2
(cd $DEST; md5sum $HDF5_VERS.tar.bz2 >> $MD5file)
;;
zip)
test "$verbose" && echo " Creating zip ball..." 1>&2
tar2zip $HDF5_VERS $tmpdir/$HDF5_VERS.tar $DEST/$HDF5_VERS.zip 1>&2
(cd $DEST; md5sum $HDF5_VERS.zip >> $MD5file)
;;
cmake-zip)
test "$verbose" && echo " Creating CMake-zip ball..." 1>&2
tar2cmakezip $HDF5_VERS $tmpdir/$HDF5_VERS.tar $DEST/CMake-$HDF5_VERS.zip 1>&2
(cd $DEST; md5sum CMake-$HDF5_VERS.zip >> $MD5file)
;;
doc)
doc)
if [ "${DOCVERSION}" = "" ]; then
DOCVERSION=master
fi
test "$verbose" && echo " Creating docs..." 1>&2
# Check out docs from git repo
(cd $tmpdir; git clone -q $DOC_URL ${DOCVERSION} > /dev/null) || exit 1
test "$verbose" && echo " Creating docs..." 1>&2
# Check out docs from git repo
(cd $tmpdir; git clone -q $DOC_URL ${DOCVERSION} > /dev/null) || exit 1
# Create doxygen C++ RM
(cd c++/src && doxygen cpp_doc_config > /dev/null ) || exit 1
# Replace version of C++ RM with just-created version
rm -rf $tmpdir/${DOCVERSION}/html/$CPPLUS_RM_NAME || exit 1
mv c++/src/$CPPLUS_RM_NAME $tmpdir/${DOCVERSION}/html/$CPPLUS_RM_NAME || exit 1
(cd c++/src && doxygen cpp_doc_config > /dev/null ) || exit 1
# Replace version of C++ RM with just-created version
rm -rf $tmpdir/${DOCVERSION}/html/$CPPLUS_RM_NAME || exit 1
mv c++/src/$CPPLUS_RM_NAME $tmpdir/${DOCVERSION}/html/$CPPLUS_RM_NAME || exit 1
# Compress the docs and move them to the release area
mv $tmpdir/${DOCVERSION} $tmpdir/${HDF5_VERS}_docs || exit 1
(cd $tmpdir && tar cf ${HDF5_VERS}_docs.tar ${HDF5_VERS}_docs) || exit 1
mv $tmpdir/${HDF5_VERS}_docs.tar $DEST || exit 1
;;
*)
echo "***Error*** Unknown method $comp"
exit 1
;;
mv $tmpdir/${DOCVERSION} $tmpdir/${HDF5_VERS}_docs || exit 1
(cd $tmpdir && tar cf ${HDF5_VERS}_docs.tar ${HDF5_VERS}_docs) || exit 1
mv $tmpdir/${HDF5_VERS}_docs.tar $DEST || exit 1
;;
*)
echo "***Error*** Unknown method $comp"
exit 1
;;
esac
done

View File

@@ -6,7 +6,7 @@
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#

5
bin/runbkgprog Executable file → Normal file
View File

@@ -1,5 +1,6 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl
require 5.003;
use warnings;
$indent=4;
#
@@ -10,7 +11,7 @@ $indent=4;
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#

View File

@@ -7,7 +7,7 @@
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#

View File

@@ -7,7 +7,7 @@
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
@@ -130,9 +130,9 @@ DISPLAYUSAGE()
set -
cat <<EOF
Usage: $PROGNAME [all] [checkout] [ftp <URL> [diff] [test] [srcdir] [release] [help]
[clean] [distclean] [echo] [deploy <dir>] [deploydir <dir>]
[zlib <zlib_path>] [releasedir <dir>] [srcdirname <dir>] [check-vfd]
[exec <command>] [module-load <module-list>] [op-configure <option>]
[clean] [distclean] [echo] [deploy <dir>] [deploydir <dir>]
[zlib <zlib_path>] [releasedir <dir>] [srcdirname <dir>] [check-vfd]
[exec <command>] [module-load <module-list>] [op-configure <option>]
[--<option>]
all: Run all commands (checkout, test & release)
[Default is all]
@@ -149,8 +149,8 @@ Usage: $PROGNAME [all] [checkout] [ftp <URL> [diff] [test] [srcdir] [release] [h
setenv <name> <value>:
Set environment variable <name> to <value>.
setenvN <N> <name> <value> ...:
Set environment variable with <N> values.
E.g., setenvN 3 x a b c is same as setenv x="a b c".
Set environment variable with <N> values.
E.g., setenvN 3 x a b c is same as setenv x="a b c".
srcdir: Use srcdir option (does not imply other commands)
"snapshot srcdir" is equivalent to "snapshot srcdir all"
"snapshot srcdir checkout" is equivalent to "snapshot checkout"
@@ -168,7 +168,7 @@ Usage: $PROGNAME [all] [checkout] [ftp <URL> [diff] [test] [srcdir] [release] [h
Use <dir> as the release directory
[Default is $ReleaseDir_default]
check-vfd:
Run make check-vfd instead of just make check.
Run make check-vfd instead of just make check.
exttest <testscript>;
Run testscript;
exec <command>:

View File

@@ -6,7 +6,7 @@
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#

View File

@@ -7,7 +7,7 @@
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#

148
bin/test-driver Executable file
View File

@@ -0,0 +1,148 @@
#! /bin/sh
# test-driver - basic testsuite driver script.
scriptversion=2013-07-13.22; # UTC
# Copyright (C) 2011-2014 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
# This file is maintained in Automake, please report
# bugs to <bug-automake@gnu.org> or send patches to
# <automake-patches@gnu.org>.
# Make unconditional expansion of undefined variables an error. This
# helps a lot in preventing typo-related bugs.
set -u
usage_error ()
{
echo "$0: $*" >&2
print_usage >&2
exit 2
}
print_usage ()
{
cat <<END
Usage:
test-driver --test-name=NAME --log-file=PATH --trs-file=PATH
[--expect-failure={yes|no}] [--color-tests={yes|no}]
[--enable-hard-errors={yes|no}] [--]
TEST-SCRIPT [TEST-SCRIPT-ARGUMENTS]
The '--test-name', '--log-file' and '--trs-file' options are mandatory.
END
}
test_name= # Used for reporting.
log_file= # Where to save the output of the test script.
trs_file= # Where to save the metadata of the test run.
expect_failure=no
color_tests=no
enable_hard_errors=yes
while test $# -gt 0; do
case $1 in
--help) print_usage; exit $?;;
--version) echo "test-driver $scriptversion"; exit $?;;
--test-name) test_name=$2; shift;;
--log-file) log_file=$2; shift;;
--trs-file) trs_file=$2; shift;;
--color-tests) color_tests=$2; shift;;
--expect-failure) expect_failure=$2; shift;;
--enable-hard-errors) enable_hard_errors=$2; shift;;
--) shift; break;;
-*) usage_error "invalid option: '$1'";;
*) break;;
esac
shift
done
missing_opts=
test x"$test_name" = x && missing_opts="$missing_opts --test-name"
test x"$log_file" = x && missing_opts="$missing_opts --log-file"
test x"$trs_file" = x && missing_opts="$missing_opts --trs-file"
if test x"$missing_opts" != x; then
usage_error "the following mandatory options are missing:$missing_opts"
fi
if test $# -eq 0; then
usage_error "missing argument"
fi
if test $color_tests = yes; then
# Keep this in sync with 'lib/am/check.am:$(am__tty_colors)'.
red='' # Red.
grn='' # Green.
lgn='' # Light green.
blu='' # Blue.
mgn='' # Magenta.
std='' # No color.
else
red= grn= lgn= blu= mgn= std=
fi
do_exit='rm -f $log_file $trs_file; (exit $st); exit $st'
trap "st=129; $do_exit" 1
trap "st=130; $do_exit" 2
trap "st=141; $do_exit" 13
trap "st=143; $do_exit" 15
# Test script is run here.
"$@" >$log_file 2>&1
estatus=$?
if test $enable_hard_errors = no && test $estatus -eq 99; then
tweaked_estatus=1
else
tweaked_estatus=$estatus
fi
case $tweaked_estatus:$expect_failure in
0:yes) col=$red res=XPASS recheck=yes gcopy=yes;;
0:*) col=$grn res=PASS recheck=no gcopy=no;;
77:*) col=$blu res=SKIP recheck=no gcopy=yes;;
99:*) col=$mgn res=ERROR recheck=yes gcopy=yes;;
*:yes) col=$lgn res=XFAIL recheck=no gcopy=yes;;
*:*) col=$red res=FAIL recheck=yes gcopy=yes;;
esac
# Report the test outcome and exit status in the logs, so that one can
# know whether the test passed or failed simply by looking at the '.log'
# file, without the need of also peaking into the corresponding '.trs'
# file (automake bug#11814).
echo "$res $test_name (exit status: $estatus)" >>$log_file
# Report outcome to console.
echo "${col}${res}${std}: $test_name"
# Register the test result, and other relevant metadata.
echo ":test-result: $res" > $trs_file
echo ":global-test-result: $res" >> $trs_file
echo ":recheck: $recheck" >> $trs_file
echo ":copy-in-global-log: $gcopy" >> $trs_file
# Local Variables:
# mode: shell-script
# sh-indentation: 2
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
# time-stamp-time-zone: "UTC"
# time-stamp-end: "; # UTC"
# End:

View File

@@ -7,7 +7,7 @@
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
##

View File

@@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl
##
# Copyright by The HDF Group.
# Copyright by the Board of Trustees of the University of Illinois.
@@ -7,11 +7,12 @@
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
##
require 5.003;
use warnings;
$Source = "";
##############################################################################
@@ -42,6 +43,7 @@ $Source = "";
"H5D_space_status_t" => "Ds",
"H5D_vds_view_t" => "Dv",
"H5FD_mpio_xfer_t" => "Dt",
"H5FD_splitter_vfd_config_t" => "Dr",
"herr_t" => "e",
"H5E_direction_t" => "Ed",
"H5E_error_t" => "Ee",
@@ -67,6 +69,7 @@ $Source = "";
"unsigned" => "Iu",
"unsigned int" => "Iu",
"uint32_t" => "Iu",
"uint64_t" => "UL",
"H5I_type_t" => "It",
"H5G_link_t" => "Ll", #Same as H5L_type_t now
"H5L_type_t" => "Ll",
@@ -97,6 +100,7 @@ $Source = "";
"unsigned long long" => "UL",
"void" => "x",
"FILE" => "x",
"H5_alloc_stats_t" => "x",
"H5A_operator_t" => "x",
"H5A_operator1_t" => "x",
"H5A_operator2_t" => "x",
@@ -120,7 +124,10 @@ $Source = "";
"H5FD_t" => "x",
"H5FD_class_t" => "x",
"H5FD_stream_fapl_t" => "x",
"H5FD_ros3_fapl_t" => "x",
"H5FD_hdfs_fapl_t" => "x",
"H5FD_file_image_callbacks_t" => "x",
"H5FD_mirror_fapl_t" => "x",
"H5G_iterate_t" => "x",
"H5G_info_t" => "x",
"H5I_free_t" => "x",
@@ -158,6 +165,14 @@ $Source = "";
"ssize_t" => "Zs",
);
##############################################################################
# Maximum length of H5TRACE macro line
# If the ColumnLimit in .clang-format is changed, this value will need to be updated
#
my $max_trace_macro_line_len = 110;
##############################################################################
# Print an error message.
#
@@ -190,6 +205,11 @@ sub argstring ($$$) {
# certain type qualifiers, and indirection.
$atype =~ s/^\bconst\b//;
$atype =~ s/\bH5_ATTR_UNUSED\b//g;
$atype =~ s/\bH5_ATTR_DEPRECATED_USED\b//g;
$atype =~ s/\bH5_ATTR_NDEBUG_UNUSED\b//g;
$atype =~ s/\bH5_ATTR_DEBUG_API_USED\b//g;
$atype =~ s/\bH5_ATTR_PARALLEL_UNUSED\b//g;
$atype =~ s/\bH5_ATTR_PARALLEL_USED\b//g;
$atype =~ s/\s+/ /g;
$ptr = length $1 if $atype =~ s/(\*+)//;
$atype =~ s/^\s+//;
@@ -230,7 +250,7 @@ sub rewrite_func ($$$$$) {
# Parse arguments
if ($args eq "void") {
$trace = "H5TRACE0(\"$rettype\",\"\");\n";
$trace = "H5TRACE0(\"$rettype\", \"\");\n";
} else {
# Split arguments. First convert `/*in,out*/' to get rid of the
# comma, then split the arguments on commas.
@@ -274,18 +294,60 @@ sub rewrite_func ($$$$$) {
}
}
}
# Compose the trace macro
$trace = "H5TRACE" . scalar(@arg_str) . "(\"$rettype\", \"";
$trace .= join("", @arg_str) . "\"";
my $len = 4 + length $trace;
for (@arg_name) {
if ($len + length >= 77) {
$trace .= ",\n $_";
$len = 13 + length;
$argtrace .= join("", @arg_str) . "\"";
# Add 4 for indenting the line
my $len = 4 + length($trace);
for my $i (0 .. $#arg_name) {
# Handle wrapping
# Be VERY careful here! clang-format and this script MUST agree
# on which lines get wrapped or there will be churn as each tries
# to undo the other's output.
#
# TWO cases must be handled:
# 1) The argument is that last one and ');' will be appended
# 2) The argument is NOT the last one and ',' will be appended
#
# NB: clang-format does NOT consider terminal newlines when
# counting columns for the ColumnLimit
#
# The extra '2' added after $len includes the ', ' that would be
# added BEFORE the argument.
#
my $adjust = ($i + 1 == scalar(@arg_str)) ? 2 : 1;
my $len_if_added = $len + 2 + length($arg_name[$i]) + $adjust;
# Wrap lines that will be longer than the limit
if ($len_if_added > $max_trace_macro_line_len) {
# Wrap line, with indention
$trace .= ",\n ";
$len = 13; # Set to 13, for indention
# Indent an extra space to account for extra digit in 'H5TRACE' macro
if (scalar(@arg_str) >= 10) {
$trace .= " ";
$len++;
}
} else {
$trace .= ", $_";
$len += 1 + length;
$trace .= ", ";
$len += 2; # Add 2, for ', '
}
# Append argument
$trace .= "$arg_name[$i]";
$argtrace .= ", $arg_name[$i]";
# Add length of appended argument name
$len += length($arg_name[$i]);
}
# Append final ');' for macro
$trace .= ");\n";
}
goto error if grep {/!/} @arg_str;
@@ -295,7 +357,7 @@ sub rewrite_func ($$$$$) {
# Ignored due to NO TRACE comment.
} elsif ($body =~ s/((\n[ \t]*)H5TRACE\d+\s*\(.*?\);)\n/"$2$trace"/es) {
# Replaced an H5TRACE macro.
} elsif ($body=~s/((\n[ \t]*)FUNC_ENTER\w*\s*(\(.*?\))?;??)\n/"$1$2$trace"/es) {
} elsif ($body=~s/((\n[ \t]*)FUNC_ENTER\w*[ \t]*(\(.*?\))?;??)\n/"$1$2$trace"/es) {
# Added an H5TRACE macro after a FUNC_ENTER macro.
} else {
errmesg $file, $name, "unable to insert tracing information";

536
bin/warnhist Executable file
View File

@@ -0,0 +1,536 @@
#!/usr/bin/env perl
require 5.003;
use warnings;
#
# Copyright by The HDF Group.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the files COPYING and Copyright.html. COPYING can be found at the root
# of the source code distribution tree; Copyright.html can be found at the
# root level of an installed copy of the electronic HDF5 document set and
# is linked from the top-level documents page. It can also be found at
# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
# access to either file, you may request a copy from help@hdfgroup.org.
#
# Quincey Koziol
# 9 Aug 2013
#
# Purpose: Given an input file containing the output from a build of the
# library, gather the file names and line numbers, alias
# identical types of warnings together into a single bin and
# report the number of warnings for each type of warning, each file
# and the total count of warnings
# Perl modules/settings
use strict;
use Getopt::Std;
# Global variables, for accumulating information
my $totalcount = 0;
my $notecount = 0;
my $dupcount = 0;
my %warn_count = ();
my $warncount;
my %warn_file = ();
my %warn_file_line = ();
my %warn_file_line_offset = ();
my %file_count = ();
my $filecount;
my $ignorecount = 0;
my @ignorenames;
my %ignored_files = ();
my %warn_file_indices = ();
my %file_warn_indices = ();
my @warn_match_strings;
my @file_match_strings;
my %file_warn = ();
my %file_warn_line = ();
my $current_warning = 0;
my $current_file = 0;
my $warn_index;
my $genericize = 1;
# Info about last name / line / offset for file
my $last_c_name;
my $last_fort_name;
my $last_fort_line;
my $last_fort_offset;
# Display usage
sub do_help {
print "Usage: 'warnhist [-h, --help] [-t <prefix>] [-w <n>] [-W] [-f <n>] [-F] [-s <warning string list>] [-S <file string list] [-l] [-u] [-i <name list>] [file]'\n";
print "\t-h, --help\tDisplay this usage\n";
print "\t-t <prefix>\tTrim pathname prefix from filenames, <prefix>\n";
print "\t-w <n>\tDisplay files for a given warning index list, <n>\n";
print "\t\t<n> can be a single value, a range, or a comma separated list\n";
print "\t\tFor example: '0' or '0,4' or '8-10' or '0,2-4,8-10,13'\n";
print "\t-W\tDisplay files for all warnings\n";
print "\t-f <n>\tDisplay warnings for a given file index list, <n>\n";
print "\t\t<n> can be a single value, a range, or a comma separated list\n";
print "\t\tFor example: '0' or '0,4' or '8-10' or '0,2-4,8-10,13'\n";
print "\t-F\tDisplay warnings for all files\n";
print "\t-s <warning string list>\tDisplay files for warnings which contain a string, <warning string list>\n";
print "\t\t<warning string list> is a comma separated list, with no spaces\n";
print "\t\tFor example: 'Wunused-dummy-argument' or 'Wunused-dummy-argument,Wunused-variable'\n";
print "\t-S <file string list>\tDisplay warnings for files which contain a string, <file string list>\n";
print "\t\t<file string list> is a comma separated list, with no spaces\n";
print "\t\tFor example: 'H5Fint' or 'H5Fint,H5Gnode'\n";
print "\t-l\tDisplay line nunbers for file/warning\n";
print "\t-u\tLeave 'unique' types in warnings, instead of genericizing them\n";
print "\t-i <name list>\tIgnore named files, <name list>\n";
print "\t\t<name list> is a comma separated list, with no spaces\n";
print "\t\tFor example: 'H5LTparse' or 'H5LTparse,H5LTanalyze'\n";
print "\tfile\tFilename containing build output\n";
print "\t\tIf no file is given, standard input is used.\n";
exit;
}
sub main::HELP_MESSAGE {
do_help();
}
# declare the Perl command line flags/options we want to allow
my %options=();
getopts("FWhut:w:f:s:S:i:l", \%options);
# Display usage, if requested
if($options{h}) {
do_help();
}
# Parse list of file names to ignore
if(exists $options{i}) {
@ignorenames = split /,/, $options{i};
#print STDERR @ignorenames;
}
# Parse list of warning indices to expand file names
if(exists $options{w}) {
my @tmp_indices;
@tmp_indices = split /,/, $options{w};
#print STDERR @tmp_indices;
for my $x (@tmp_indices) {
#print STDERR "x = '$x'\n";
if($x =~ /\-/) {
my $start_index;
my $end_index;
#print STDERR "matched = '$x'\n";
($start_index, $end_index) = split /\-/, $x;
#print STDERR "start_index = '$start_index', end_index = '$end_index'\n";
for my $y ($start_index..$end_index) {
#print STDERR "y = '$y'\n";
if(!exists $warn_file_indices{$y}) {
$warn_file_indices{$y} = $y;
}
}
}
else {
if(!exists $warn_file_indices{$x}) {
$warn_file_indices{$x} = $x;
}
}
}
#foreach (sort keys %warn_file_indices) {
# print STDERR "$_ : $warn_file_indices{$_}\n";
#}
}
# Parse list of warning strings to expand file names
if(exists $options{s}) {
@warn_match_strings = split /,/, $options{s};
# print STDERR @warn_match_strings;
}
# Parse list of file indices to expand warnings
if(exists $options{f}) {
my @tmp_indices;
@tmp_indices = split /,/, $options{f};
#print STDERR @tmp_indices;
for my $x (@tmp_indices) {
#print STDERR "x = '$x'\n";
if($x =~ /\-/) {
my $start_index;
my $end_index;
#print STDERR "matched = '$x'\n";
($start_index, $end_index) = split /\-/, $x;
#print STDERR "start_index = '$start_index', end_index = '$end_index'\n";
for my $y ($start_index..$end_index) {
#print STDERR "y = '$y'\n";
if(!exists $file_warn_indices{$y}) {
$file_warn_indices{$y} = $y;
}
}
}
else {
if(!exists $file_warn_indices{$x}) {
$file_warn_indices{$x} = $x;
}
}
}
#foreach (sort keys %warn_file_indices) {
# print STDERR "$_ : $warn_file_indices{$_}\n";
#}
}
# Parse list of warning strings for files to expand warnings
if(exists $options{S}) {
@file_match_strings = split /,/, $options{S};
# print STDERR @file_match_strings;
}
# Check if warnings should stay unique and not be "genericized"
if($options{u}) {
$genericize = 0;
}
PARSE_LINES:
while (<>) {
my $name;
my $line;
my $prev_line;
my $toss;
my $offset;
my $warning;
my $extra;
my $extra2;
# Retain last FORTRAN compile line, which comes a few lines before warning
if($_ =~ /.*\.[fF]90:.*/) {
($last_fort_name, $last_fort_line, $last_fort_offset) = split /\:/, $_;
($last_fort_line, $toss) = split /\./, $last_fort_line;
}
# Retain last C/C++ compile line, which possibly comes a few lines before warning
if($_ =~ /.*[A-Za-z0-9_]\.[cC]:.*/) {
($last_c_name, $toss) = split /\:/, $_;
}
# Retain C/C++ compile line, which comes with the line of warning
if($_ =~ /.*[A-Za-z0-9_]\.[chC]\(.*[0-9]\):.*#.*/) {
$last_c_name = $_;
}
# Skip lines that don't have the word "warning"
next if $_ !~ /[Ww]arning/;
# Skip warnings from linker
next if $_ =~ /ld: warning:/;
# Skip warnings from build_py and install_lib
next if $_ =~ /warning: (build_py|install_lib)/;
# Skip variables with the word 'warning' in them
next if $_ =~ /_warning_/;
# "Hide" the C++ '::' symbol until we've parsed out the parts of the line
while($_ =~ /\:\:/) {
$_ =~ s/\:\:/@@@@/g;
}
# Check for weird formatting of warning message
$line = "??";
$offset = "??";
if($_ =~ /^cc1: warning:.*/) {
$name = $last_c_name;
($toss, $toss, $warning, $extra, $extra2) = split /\:/, $_;
# Check for CMAKE build with warning on first line and no filename
} elsif($_ =~ /^\s*[Ww]arning:.*/) {
$name = $last_c_name;
($toss, $warning, $extra, $extra2) = split /\:/, $_;
# Check for FORTRAN warning output
} elsif($_ =~ /^Warning:.*/) {
$name = $last_fort_name;
$line = $last_fort_line;
$offset = $last_fort_offset;
($toss, $warning, $extra, $extra2) = split /\:/, $_;
# Check for improperly parsed filename or line
if($name =~ /^$/) {
print "Filename is a null string! Input line #$. is: '$_'";
next
}
if($line =~ /^$/) {
print "Line is a null string! Input line #$. is: '$_'";
next
}
# Check for non-GCC warning (Solaris/Oracle?)
} elsif($_ =~ /^\".*, line [0-9]+: *[Ww]arning:.*/) {
($name, $toss, $warning, $extra, $extra2) = split /\:/, $_;
($name, $line) = split /\,/, $name;
$name =~ s/^\"//g;
$name =~ s/\"$//g;
$line =~ s/^\s*line\s*//g;
# Check for Intel icc warning
} elsif($_ =~ /.*[A-Za-z0-9_]\.[chC]\(.*[0-9]\):.*#.*/) {
($last_c_name, $toss, $warning) = split /\:/, $last_c_name;
($name, $line) = split /\(/, $last_c_name;
$line =~ s/\)//g;
} else {
# Check for 'character offset' field appended to file & line #
# (This is probably specific to GCC)
if($_ =~ /^.*[0-9]+\:[0-9]+\:/) {
($name, $line, $offset, $toss, $warning, $extra, $extra2) = split /\:/, $_;
} else {
($name, $line, $toss, $warning, $extra, $extra2) = split /\:/, $_;
}
}
# Check for extra ':' followed by more text in original warning string,
# and append the ':' and text back onto the parsed warning
# (Use 'length $extra' idiom to avoid warning when $extra is undefined)
if(length $extra ) {
$warning = join ':', $warning, $extra;
}
if(length $extra2 ) {
$warning = join ':', $warning, $extra2;
}
# Restore the C++ '::' symbol now that we've parsed out the parts of the line
while($warning =~ /@@@@/) {
$warning =~ s/@@@@/\:\:/g;
}
# Trim leading '..' paths from filename
while($name =~ /^\.\.\//) {
$name =~ s/^\.\.\///g;
}
# Check for trimming prefix
if((exists $options{t}) && ($name =~ /$options{t}/)) {
$name =~ s/^$options{t}\///g;
}
# Check for ignored file
if(exists $options{i}) {
for my $x (@ignorenames) {
if($name =~ /$x/) {
$ignorecount++;
if(!(exists $ignored_files{$name})) {
$ignored_files{$name} = $name;
}
next PARSE_LINES;
}
}
}
# Check for improperly parsed warning (usually an undefined warning string)
if(!defined $warning) {
print "Warning Undefined! Input line is: '$_'";
next
}
# Get rid of leading & trailing whitespace
$warning =~ s/^\s//g;
$warning =~ s/\s$//g;
# Check for improperly parsed warning
if($warning =~ /^$/) {
print "Warning is a null string! Input line is: '$_'";
next
}
# Convert all quotes to '
$warning =~ s//'/g;
$warning =~ s//'/g;
$warning =~ s/"/'/g;
#
# These skipped messages & "genericizations" may be specific to GCC
# Skip supplemental warning message
if($warning =~ /near initialization for/) {
$notecount++;
next
}
# Skip C++ supplemental warning message
if($warning =~ /in call to/) {
$notecount++;
next
}
# Skip GCC warning that should be a note
if($_ =~ /\(this will be reported only once per input file\)/) {
$notecount++;
next
}
if($genericize) {
# Eliminate C/C++ "{aka <some type>}" and "{aka '<some type>'}" info
if($warning =~ /\s(\{|\()aka '?[A-Za-z_0-9\(\)\*\,\[\]\.\<\>\&\:\+\#]+[A-Za-z_0-9\(\)\*\,\[\]\.\<\>\&\:\+\#\ ]*'?(\}|\))/) {
$warning =~ s/\s(\{|\()aka '?[A-Za-z_0-9\(\)\*\,\[\]\.\<\>\&\:\+\#]+[A-Za-z_0-9\(\)\*\,\[\]\.\<\>\&\:\+\#\ ]*'?(\}|\))//g;
}
# Genericize C/C++ '<some type>', printf format '%<some format>', and
# "unknown warning group" into '-'
if($warning =~ /'[A-Za-z_0-9\(\)\*\,\[\]\.\<\>\&\:\+\#\-\=]+[A-Za-z_0-9\(\)\*\,\[\]\.\<\>\&\:\+\#\-\=\ ]*'/) {
$warning =~ s/'[A-Za-z_0-9\(\)\*\,\[\]\.\<\>\&\:\+\#\-\=]+[A-Za-z_0-9\(\)\*\,\[\]\.\<\>\&\:\+\#\-\=\ ]*'/'-'/g;
}
if($warning =~ /'%[\#0\-\ \+]*[,;\:_]?[0-9\*]*\.?[0-9\*]*[hjltzL]*[aAcdeEfFgGinosuxX]'/) {
$warning =~ s/'%[\#0\-\ \+]*[,;\:_]?[0-9\*]*\.?[0-9\*]*[hjltzL]*[aAcdeEfFgGinosuxX]'/'-'/g;
}
# Genericize C/C++ "<macro>" warnings into "-"
if($warning =~ /"[A-Za-z_0-9]*"/) {
$warning =~ s/"[A-Za-z_0-9]*"/"-"/g;
}
# Genericize [GCC?] C/C++ warning text about suggessted attribute
if($warning =~ /attribute=[A-Za-z_0-9]*\]/) {
$warning =~ s/=[A-Za-z_0-9]*\]/=-\]/g;
}
# Genericize FORTRAN "at (<n>)" into "at (-)", "REAL(<n>)" into "REAL(-)",
# and "INTEGER(<n>)" into "INTEGER(-)"
if($warning =~ /.*at\s\([0-9]+\).*/) {
$warning =~ s/at\s\([0-9]+\)/at \(-\)/g;
}
if($warning =~ /.*REAL\([0-9]+\).*/) {
$warning =~ s/REAL\([0-9]+\)/REAL\(-\)/g;
}
if($warning =~ /.*INTEGER\([0-9]+\).*/) {
$warning =~ s/INTEGER\([0-9]+\)/INTEGER\(-\)/g;
}
# Genericize standalone numbers in warnings
if($warning =~ /(\s|')-?[0-9]+(\s|')/) {
$warning =~ s/-?[0-9]+/-/g;
}
# Genericize unusual GCC/G++/GFORTRAN warnings that aren't handled above
if($warning =~ /\[deprecation\] [A-Za-z_0-9]*\([A-Za-z_,0-9]*\) in [A-Za-z_0-9]* has been deprecated.*/) {
$warning =~ s/[A-Za-z_0-9]*\([A-Za-z_,0-9]*\) in [A-Za-z_0-9]*/-\(-\) in -/g;
}
}
# <end possible GCC-specific code>
# Check if we've already seen this warning on this line in this file
# (Can happen for warnings from inside header files)
if( !exists $warn_file_line_offset{$warning}{$name}{$line}{$offset} ) {
# Increment count for [generic] warning
$warn_count{$warning}++;
$warn_file{$warning}{$name}++;
$warn_file_line{$warning}{$name}{$line}++;
$warn_file_line_offset{$warning}{$name}{$line}{$offset}++;
# Increment count for filename
$file_count{$name}++;
$file_warn{$name}{$warning}++;
$file_warn_line{$name}{$warning}{$line}++;
# Increment total count of warnings
$totalcount++;
}
else {
# Increment count of duplicate warnings
$dupcount++;
}
# print STDERR "name = $name\n";
# print STDERR "line = $line\n";
# print STDERR "offset = $offset\n";
# print STDERR "warning = \"$warning\"\n";
}
print "Total unique [non-ignored] warnings: $totalcount\n";
print "Ignored notes / supplemental warning lines [not counted in unique warnings]: $notecount\n";
print "Duplicated warning lines [not counted in unique warnings]: $dupcount\n";
print "Total ignored warnings: $ignorecount\n";
$warncount = keys %warn_count;
print "Total unique kinds of warnings: $warncount\n";
$filecount = keys %file_count;
print "Total files with warnings: $filecount\n\n";
# Print warnings in decreasing frequency
print "# of Warnings by frequency (file count)\n";
print "=======================================\n";
for my $x (sort {$warn_count{$b} <=> $warn_count{$a}} keys(%warn_count)) {
printf ("[%2d] %4d (%2d) - %s\n", $current_warning++, $warn_count{$x}, scalar(keys %{$warn_file{$x}}), $x);
if((exists $options{W}) || (exists $options{w}) || (exists $options{s})) {
my $curr_index = $current_warning - 1;
my $match = 0;
# Check for string from list in current warning
if(exists $options{s}) {
for my $y (@warn_match_strings) {
# print STDERR "y = '$y'\n";
if($x =~ /$y/) {
# print STDERR "matched warning = '$x'\n";
$match = 1;
last;
}
}
}
# Check if current warning index matches
if((exists $warn_file_indices{$curr_index}) && $curr_index == $warn_file_indices{$curr_index}) {
$match = 1;
}
if($match) {
for my $y (sort {$warn_file{$x}{$b} <=> $warn_file{$x}{$a}} keys(%{$warn_file{$x}})) {
printf ("\t%4d - %s\n", $warn_file{$x}{$y}, $y);
if(exists $options{l}) {
my $lines = join ", ", sort {$a <=> $b} keys %{$warn_file_line{$x}{$y}};
printf("\t\tLines: $lines \n");
}
}
}
}
}
# Print warnings in decreasing frequency, by filename
print "\n# of Warnings by filename (warning type)\n";
print "========================================\n";
for my $x (sort {$file_count{$b} <=> $file_count{$a}} keys(%file_count)) {
printf ("[%3d] %4d (%2d) - %s\n", $current_file++, $file_count{$x}, scalar(keys %{$file_warn{$x}}), $x);
if((exists $options{F}) || (exists $options{f}) || (exists $options{S})) {
my $curr_index = $current_file - 1;
my $match = 0;
# Check for string from list in current file
if(exists $options{S}) {
for my $y (@file_match_strings) {
# print STDERR "y = '$y'\n";
if($x =~ /$y/) {
# print STDERR "matched warning = '$x'\n";
$match = 1;
last;
}
}
}
# Check if current file index matches
if((exists $file_warn_indices{$curr_index}) && $curr_index == $file_warn_indices{$curr_index}) {
$match = 1;
}
if($match) {
for my $y (sort {$file_warn{$x}{$b} <=> $file_warn{$x}{$a}} keys(%{$file_warn{$x}})) {
printf ("\t%4d - %s\n", $file_warn{$x}{$y}, $y);
if(exists $options{l}) {
my $lines = join ", ", sort {$a <=> $b} keys %{$file_warn_line{$x}{$y}};
printf("\t\tLines: $lines \n");
}
}
}
}
}
# Print names of files that were ignored
# Check for ignored file
if(exists $options{i}) {
print "\nIgnored filenames\n";
print "=================\n";
for my $x (sort keys(%ignored_files)) {
print "$x\n";
}
}

View File

@@ -7,7 +7,7 @@
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#

View File

@@ -1,4 +1,4 @@
cmake_minimum_required (VERSION 3.10)
cmake_minimum_required (VERSION 3.12)
project (HDF5_CPP CXX)
add_subdirectory (src)

View File

@@ -1,13 +0,0 @@
Copyright by The HDF Group and
The Board of Trustees of the University of Illinois.
All rights reserved.
The files and subdirectories in this directory are part of HDF5.
The full HDF5 copyright notice, including terms governing use,
modification, and redistribution, is contained in the COPYING file
which can be found at the root of the source code distribution tree
or in https://support.hdfgroup.org/ftp/HDF5/releases. If you do
not have access to either file, you may request a copy from
help@hdfgroup.org.

View File

@@ -6,7 +6,7 @@
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
##
@@ -14,13 +14,19 @@
## Run automake to generate a Makefile.in from this file.
#
# Top-level HDF5-C++ Makefile(.in)
#
#
include $(top_srcdir)/config/commence.am
if BUILD_TESTS_CONDITIONAL
TEST_DIR = test
else
TEST_DIR=
endif
## Only recurse into subdirectories if C++ interface is enabled.
if BUILD_CXX_CONDITIONAL
SUBDIRS=src test
SUBDIRS=src $(TEST_DIR)
endif
DIST_SUBDIRS = src test examples

1551
c++/Makefile.in Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,4 +1,4 @@
cmake_minimum_required (VERSION 3.10)
cmake_minimum_required (VERSION 3.12)
project (HDF5_CPP_EXAMPLES CXX)
# --------------------------------------------------------------------
@@ -34,20 +34,54 @@ set (tutr_examples
foreach (example ${examples})
add_executable (cpp_ex_${example} ${HDF5_CPP_EXAMPLES_SOURCE_DIR}/${example}.cpp)
target_include_directories(cpp_ex_${example} PRIVATE "${HDF5_SRC_DIR};${HDF5_BINARY_DIR};$<$<BOOL:${HDF5_ENABLE_PARALLEL}>:${MPI_C_INCLUDE_DIRS}>")
TARGET_C_PROPERTIES (cpp_ex_${example} STATIC)
target_link_libraries (cpp_ex_${example} PRIVATE ${HDF5_CPP_LIB_TARGET} ${HDF5_LIB_TARGET})
target_include_directories (cpp_ex_${example} PRIVATE "${HDF5_SRC_DIR};${HDF5_SRC_BINARY_DIR};$<$<BOOL:${HDF5_ENABLE_PARALLEL}>:${MPI_C_INCLUDE_DIRS}>")
if (NOT BUILD_SHARED_LIBS)
TARGET_C_PROPERTIES (cpp_ex_${example} STATIC)
target_link_libraries (cpp_ex_${example} PRIVATE ${HDF5_CPP_LIB_TARGET} ${HDF5_LIB_TARGET})
else ()
TARGET_C_PROPERTIES (cpp_ex_${example} SHARED)
target_link_libraries (cpp_ex_${example} PRIVATE ${HDF5_CPP_LIBSH_TARGET} ${HDF5_LIBSH_TARGET})
if (MINGW AND HDF5_MINGW_STATIC_GCC_LIBS)
target_link_options (${HDF5_CPP_LIBSH_TARGET}
PRIVATE -static-libgcc -static-libstdc++
)
endif ()
endif ()
set_target_properties (cpp_ex_${example} PROPERTIES FOLDER examples/cpp)
#-----------------------------------------------------------------------------
# Add Target to clang-format
#-----------------------------------------------------------------------------
if (HDF5_ENABLE_FORMATTERS)
clang_format (HDF5_CPP_EXAMPLES_${example}_FORMAT cpp_ex_${example})
endif ()
endforeach ()
foreach (example ${tutr_examples})
add_executable (cpp_ex_${example} ${HDF5_CPP_EXAMPLES_SOURCE_DIR}/${example}.cpp)
target_include_directories(cpp_ex_${example} PRIVATE "${HDF5_SRC_DIR};${HDF5_BINARY_DIR};$<$<BOOL:${HDF5_ENABLE_PARALLEL}>:${MPI_C_INCLUDE_DIRS}>")
TARGET_C_PROPERTIES (cpp_ex_${example} STATIC)
target_link_libraries (cpp_ex_${example} PRIVATE ${HDF5_CPP_LIB_TARGET} ${HDF5_LIB_TARGET})
target_include_directories (cpp_ex_${example} PRIVATE "${HDF5_SRC_DIR};${HDF5_SRC_BINARY_DIR};$<$<BOOL:${HDF5_ENABLE_PARALLEL}>:${MPI_C_INCLUDE_DIRS}>")
if (NOT BUILD_SHARED_LIBS)
TARGET_C_PROPERTIES (cpp_ex_${example} STATIC)
target_link_libraries (cpp_ex_${example} PRIVATE ${HDF5_CPP_LIB_TARGET} ${HDF5_LIB_TARGET})
else ()
TARGET_C_PROPERTIES (cpp_ex_${example} SHARED)
target_link_libraries (cpp_ex_${example} PRIVATE ${HDF5_CPP_LIBSH_TARGET} ${HDF5_LIBSH_TARGET})
if (MINGW AND HDF5_MINGW_STATIC_GCC_LIBS)
target_link_options (${HDF5_CPP_LIBSH_TARGET}
PRIVATE -static-libgcc -static-libstdc++
)
endif ()
endif ()
set_target_properties (cpp_ex_${example} PROPERTIES FOLDER examples/cpp)
#-----------------------------------------------------------------------------
# Add Target to clang-format
#-----------------------------------------------------------------------------
if (HDF5_ENABLE_FORMATTERS)
clang_format (HDF5_CPP_EXAMPLES_${example}_FORMAT cpp_ex_${example})
endif ()
endforeach ()
if (BUILD_TESTING)
if (BUILD_TESTING AND HDF5_TEST_CPP AND HDF5_TEST_EXAMPLES AND HDF5_TEST_SERIAL)
include (CMakeTests.cmake)
endif ()

View File

@@ -5,7 +5,7 @@
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
@@ -16,81 +16,79 @@
##############################################################################
##############################################################################
# Remove any output file left over from previous test run
add_test (
NAME CPP_ex-clear-objects
COMMAND ${CMAKE_COMMAND}
-E remove
Group.h5
SDS.h5
SDScompound.h5
SDSextendible.h5
Select.h5
)
if (NOT "${last_test}" STREQUAL "")
set_tests_properties (CPP_ex-clear-objects PROPERTIES DEPENDS ${last_test})
endif ()
set (last_test "CPP_ex-clear-objects")
add_test (
NAME CPP_ex-clear-objects
COMMAND ${CMAKE_COMMAND}
-E remove
Group.h5
SDS.h5
SDScompound.h5
SDSextendible.h5
Select.h5
)
set_tests_properties (CPP_ex-clear-objects PROPERTIES FIXTURES_SETUP clear_cppex)
foreach (example ${examples})
if (HDF5_ENABLE_USING_MEMCHECKER)
add_test (NAME CPP_ex_${example} COMMAND $<TARGET_FILE:cpp_ex_${example}>)
else ()
add_test (NAME CPP_ex_${example} COMMAND "${CMAKE_COMMAND}"
-D "TEST_PROGRAM=$<TARGET_FILE:cpp_ex_${example}>"
-D "TEST_ARGS:STRING="
-D "TEST_EXPECT=0"
-D "TEST_SKIP_COMPARE=TRUE"
-D "TEST_OUTPUT=cpp_ex_${example}.txt"
#-D "TEST_REFERENCE=cpp_ex_${example}.out"
-D "TEST_FOLDER=${PROJECT_BINARY_DIR}"
-P "${HDF_RESOURCES_EXT_DIR}/runTest.cmake"
)
endif ()
if (NOT "${last_test}" STREQUAL "")
set_tests_properties (CPP_ex_${example} PROPERTIES DEPENDS ${last_test})
endif ()
set (last_test "CPP_ex_${example}")
endforeach ()
foreach (example ${examples})
if (HDF5_ENABLE_USING_MEMCHECKER)
add_test (NAME CPP_ex_${example} COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} $<TARGET_FILE:cpp_ex_${example}>)
else ()
add_test (NAME CPP_ex_${example} COMMAND "${CMAKE_COMMAND}"
-D "TEST_EMULATOR=${CMAKE_CROSSCOMPILING_EMULATOR}"
-D "TEST_PROGRAM=$<TARGET_FILE:cpp_ex_${example}>"
-D "TEST_ARGS:STRING="
-D "TEST_EXPECT=0"
-D "TEST_SKIP_COMPARE=TRUE"
-D "TEST_OUTPUT=cpp_ex_${example}.txt"
#-D "TEST_REFERENCE=cpp_ex_${example}.out"
-D "TEST_FOLDER=${PROJECT_BINARY_DIR}"
-P "${HDF_RESOURCES_EXT_DIR}/runTest.cmake"
)
endif ()
set_tests_properties (CPP_ex_${example} PROPERTIES FIXTURES_REQUIRED clear_cppex)
if (last_test)
set_tests_properties (CPP_ex_${example} PROPERTIES DEPENDS ${last_test})
endif ()
set (last_test "CPP_ex_${example}")
endforeach ()
#the following dependencies are handled by the order of the files
# SET_TESTS_PROPERTIES(CPP_ex_readdata PROPERTIES DEPENDS CPP_ex_create)
# SET_TESTS_PROPERTIES(CPP_ex_chunks PROPERTIES DEPENDS CPP_ex_extend_ds)
add_test (
NAME CPP_ex_tutr-clear-objects
COMMAND ${CMAKE_COMMAND}
-E remove
h5tutr_cmprss.h5
h5tutr_dset.h5
h5tutr_extend.h5
h5tutr_group.h5
h5tutr_groups.h5
h5tutr_subset.h5
)
if (NOT "${last_test}" STREQUAL "")
set_tests_properties (CPP_ex_tutr-clear-objects PROPERTIES DEPENDS ${last_test})
endif ()
set (last_test "CPP_ex_tutr-clear-objects")
add_test (
NAME CPP_ex_tutr-clear-objects
COMMAND ${CMAKE_COMMAND}
-E remove
h5tutr_cmprss.h5
h5tutr_dset.h5
h5tutr_extend.h5
h5tutr_group.h5
h5tutr_groups.h5
h5tutr_subset.h5
)
set_tests_properties (CPP_ex_tutr-clear-objects PROPERTIES FIXTURES_SETUP clear_cppex_tutr)
foreach (example ${tutr_examples})
if (HDF5_ENABLE_USING_MEMCHECKER)
add_test (NAME CPP_ex_${example} COMMAND $<TARGET_FILE:cpp_ex_${example}>)
else ()
add_test (NAME CPP_ex_${example} COMMAND "${CMAKE_COMMAND}"
-D "TEST_PROGRAM=$<TARGET_FILE:cpp_ex_${example}>"
-D "TEST_ARGS:STRING="
-D "TEST_EXPECT=0"
-D "TEST_SKIP_COMPARE=TRUE"
-D "TEST_OUTPUT=cpp_ex_${example}.txt"
#-D "TEST_REFERENCE=cpp_ex_${example}.out"
-D "TEST_FOLDER=${PROJECT_BINARY_DIR}"
-P "${HDF_RESOURCES_EXT_DIR}/runTest.cmake"
)
endif ()
if (NOT "${last_test}" STREQUAL "")
set_tests_properties (CPP_ex_${example} PROPERTIES DEPENDS ${last_test})
endif ()
set (last_test "CPP_ex_${example}")
endforeach ()
foreach (example ${tutr_examples})
if (HDF5_ENABLE_USING_MEMCHECKER)
add_test (NAME CPP_ex_${example} COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} $<TARGET_FILE:cpp_ex_${example}>)
else ()
add_test (NAME CPP_ex_${example} COMMAND "${CMAKE_COMMAND}"
-D "TEST_EMULATOR=${CMAKE_CROSSCOMPILING_EMULATOR}"
-D "TEST_PROGRAM=$<TARGET_FILE:cpp_ex_${example}>"
-D "TEST_ARGS:STRING="
-D "TEST_EXPECT=0"
-D "TEST_SKIP_COMPARE=TRUE"
-D "TEST_OUTPUT=cpp_ex_${example}.txt"
#-D "TEST_REFERENCE=cpp_ex_${example}.out"
-D "TEST_FOLDER=${PROJECT_BINARY_DIR}"
-P "${HDF_RESOURCES_EXT_DIR}/runTest.cmake"
)
endif ()
set_tests_properties (CPP_ex_${example} PROPERTIES FIXTURES_REQUIRED clear_cppex_tutr)
if (last_test)
set_tests_properties (CPP_ex_${example} PROPERTIES DEPENDS ${last_test})
endif ()
set (last_test "CPP_ex_${example}")
endforeach ()
#the following dependencies are handled by the order of the files
# SET_TESTS_PROPERTIES(CPP_ex_h5tutr_crtatt PROPERTIES DEPENDS CPP_ex_h5tutr_crtdat)
# SET_TESTS_PROPERTIES(CPP_ex_h5tutr_rdwt PROPERTIES DEPENDS CPP_ex_h5tutr_crtdat)

View File

@@ -6,7 +6,7 @@
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# distribution tree, or in https://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
##
@@ -49,8 +49,8 @@ CXX_API=yes
# Where to install examples
# Note: no '/' after DESTDIR. Explanation in commence.am
EXAMPLEDIR=${DESTDIR}$(exec_prefix)/share/hdf5_examples/c++
EXAMPLETOPDIR=${DESTDIR}$(exec_prefix)/share/hdf5_examples
EXAMPLEDIR=${DESTDIR}$(examplesdir)/c++
EXAMPLETOPDIR=${DESTDIR}$(examplesdir)
# How to build programs using h5c++
$(EXTRA_PROG): $(H5CPP)

1503
c++/examples/Makefile.in Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -6,7 +6,7 @@
* This file is part of HDF5. The full HDF5 copyright notice, including *
* terms governing use, modification, and redistribution, is contained in *
* the COPYING file, which can be found at the root of the source code *
* distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
* distribution tree, or in https://www.hdfgroup.org/licenses. *
* If you do not have access to either file, you may request a copy from *
* help@hdfgroup.org. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
@@ -16,11 +16,7 @@
* We will read from the file created by extend.cpp
*/
#ifdef OLD_HEADER_FILENAME
#include <iostream.h>
#else
#include <iostream>
#endif
using std::cout;
using std::endl;
@@ -28,203 +24,195 @@ using std::endl;
#include "H5Cpp.h"
using namespace H5;
const H5std_string FILE_NAME( "SDSextendible.h5" );
const H5std_string DATASET_NAME( "ExtendibleArray" );
const int NX = 10;
const int NY = 5;
const int RANK = 2;
const int RANKC = 1;
const H5std_string FILE_NAME("SDSextendible.h5");
const H5std_string DATASET_NAME("ExtendibleArray");
const int NX = 10;
const int NY = 5;
const int RANK = 2;
const int RANKC = 1;
int main (void)
int
main(void)
{
hsize_t i, j;
hsize_t i, j;
// Try block to detect exceptions raised by any of the calls inside it
try
{
/*
* Turn off the auto-printing when failure occurs so that we can
* handle the errors appropriately
*/
Exception::dontPrint();
try {
/*
* Turn off the auto-printing when failure occurs so that we can
* handle the errors appropriately
*/
Exception::dontPrint();
/*
* Open the file and the dataset.
*/
H5File file( FILE_NAME, H5F_ACC_RDONLY );
DataSet dataset = file.openDataSet( DATASET_NAME );
/*
* Open the file and the dataset.
*/
H5File file(FILE_NAME, H5F_ACC_RDONLY);
DataSet dataset = file.openDataSet(DATASET_NAME);
/*
* Get filespace for rank and dimension
*/
DataSpace filespace = dataset.getSpace();
/*
* Get filespace for rank and dimension
*/
DataSpace filespace = dataset.getSpace();
/*
* Get number of dimensions in the file dataspace
*/
int rank = filespace.getSimpleExtentNdims();
/*
* Get number of dimensions in the file dataspace
*/
int rank = filespace.getSimpleExtentNdims();
/*
* Get and print the dimension sizes of the file dataspace
*/
hsize_t dims[2]; // dataset dimensions
rank = filespace.getSimpleExtentDims( dims );
cout << "dataset rank = " << rank << ", dimensions "
<< (unsigned long)(dims[0]) << " x "
<< (unsigned long)(dims[1]) << endl;
/*
* Get and print the dimension sizes of the file dataspace
*/
hsize_t dims[2]; // dataset dimensions
rank = filespace.getSimpleExtentDims(dims);
cout << "dataset rank = " << rank << ", dimensions " << (unsigned long)(dims[0]) << " x "
<< (unsigned long)(dims[1]) << endl;
/*
* Define the memory space to read dataset.
*/
DataSpace mspace1(RANK, dims);
/*
* Define the memory space to read dataset.
*/
DataSpace mspace1(RANK, dims);
/*
* Read dataset back and display.
*/
int data_out[NX][NY]; // buffer for dataset to be read
dataset.read( data_out, PredType::NATIVE_INT, mspace1, filespace );
/*
* Read dataset back and display.
*/
int data_out[NX][NY]; // buffer for dataset to be read
dataset.read(data_out, PredType::NATIVE_INT, mspace1, filespace);
cout << "\n";
cout << "Dataset: \n";
for (j = 0; j < dims[0]; j++)
{
for (i = 0; i < dims[1]; i++)
cout << data_out[j][i] << " ";
cout << endl;
}
cout << "\n";
cout << "Dataset: \n";
for (j = 0; j < dims[0]; j++) {
for (i = 0; i < dims[1]; i++)
cout << data_out[j][i] << " ";
cout << endl;
}
/*
* dataset rank 2, dimensions 10 x 5
* chunk rank 2, dimensions 2 x 5
/*
* dataset rank 2, dimensions 10 x 5
* chunk rank 2, dimensions 2 x 5
* Dataset:
* 1 1 1 3 3
* 1 1 1 3 3
* 1 1 1 0 0
* 2 0 0 0 0
* 2 0 0 0 0
* 2 0 0 0 0
* 2 0 0 0 0
* 2 0 0 0 0
* 2 0 0 0 0
* 2 0 0 0 0
*/
* Dataset:
* 1 1 1 3 3
* 1 1 1 3 3
* 1 1 1 0 0
* 2 0 0 0 0
* 2 0 0 0 0
* 2 0 0 0 0
* 2 0 0 0 0
* 2 0 0 0 0
* 2 0 0 0 0
* 2 0 0 0 0
*/
/*
* Read the third column from the dataset.
* First define memory dataspace, then define hyperslab
* and read it into column array.
*/
hsize_t col_dims[1];
col_dims[0] = 10;
DataSpace mspace2( RANKC, col_dims );
/*
* Read the third column from the dataset.
* First define memory dataspace, then define hyperslab
* and read it into column array.
*/
hsize_t col_dims[1];
col_dims[0] = 10;
DataSpace mspace2(RANKC, col_dims);
/*
* Define the column (hyperslab) to read.
*/
hsize_t offset[2] = { 0, 2 };
hsize_t count[2] = { 10, 1 };
int column[10]; // buffer for column to be read
/*
* Define the column (hyperslab) to read.
*/
hsize_t offset[2] = {0, 2};
hsize_t count[2] = {10, 1};
int column[10]; // buffer for column to be read
/*
* Define hyperslab and read.
*/
filespace.selectHyperslab( H5S_SELECT_SET, count, offset );
dataset.read( column, PredType::NATIVE_INT, mspace2, filespace );
/*
* Define hyperslab and read.
*/
filespace.selectHyperslab(H5S_SELECT_SET, count, offset);
dataset.read(column, PredType::NATIVE_INT, mspace2, filespace);
cout << endl;
cout << "Third column: " << endl;
for (i = 0; i < 10; i++)
cout << column[i] << endl;
cout << endl;
cout << "Third column: " << endl;
for (i = 0; i < 10; i++)
cout << column[i] << endl;
/*
* Third column:
* 1
* 1
* 1
* 0
* 0
* 0
* 0
* 0
* 0
* 0
*/
/*
* Third column:
* 1
* 1
* 1
* 0
* 0
* 0
* 0
* 0
* 0
* 0
*/
/*
* Get creation properties list.
*/
DSetCreatPropList cparms = dataset.getCreatePlist();
/*
* Get creation properties list.
*/
DSetCreatPropList cparms = dataset.getCreatePlist();
/*
* Check if dataset is chunked.
*/
hsize_t chunk_dims[2];
int rank_chunk;
if( H5D_CHUNKED == cparms.getLayout() )
{
/*
* Get chunking information: rank and dimensions
*/
rank_chunk = cparms.getChunk( 2, chunk_dims);
cout << "chunk rank " << rank_chunk << "dimensions "
<< (unsigned long)(chunk_dims[0]) << " x "
<< (unsigned long)(chunk_dims[1]) << endl;
/*
* Check if dataset is chunked.
*/
hsize_t chunk_dims[2];
int rank_chunk;
if (H5D_CHUNKED == cparms.getLayout()) {
/*
* Get chunking information: rank and dimensions
*/
rank_chunk = cparms.getChunk(2, chunk_dims);
cout << "chunk rank " << rank_chunk << "dimensions " << (unsigned long)(chunk_dims[0]) << " x "
<< (unsigned long)(chunk_dims[1]) << endl;
/*
* Define the memory space to read a chunk.
*/
DataSpace mspace3( rank_chunk, chunk_dims );
/*
* Define the memory space to read a chunk.
*/
DataSpace mspace3(rank_chunk, chunk_dims);
/*
* Define chunk in the file (hyperslab) to read.
*/
offset[0] = 2;
offset[1] = 0;
count[0] = chunk_dims[0];
count[1] = chunk_dims[1];
filespace.selectHyperslab( H5S_SELECT_SET, count, offset );
/*
* Define chunk in the file (hyperslab) to read.
*/
offset[0] = 2;
offset[1] = 0;
count[0] = chunk_dims[0];
count[1] = chunk_dims[1];
filespace.selectHyperslab(H5S_SELECT_SET, count, offset);
/*
* Read chunk back and display.
*/
int chunk_out[2][5]; // buffer for chunk to be read
dataset.read( chunk_out, PredType::NATIVE_INT, mspace3, filespace );
cout << endl;
cout << "Chunk:" << endl;
for (j = 0; j < chunk_dims[0]; j++)
{
for (i = 0; i < chunk_dims[1]; i++)
cout << chunk_out[j][i] << " ";
cout << endl;
}
/*
* Chunk:
* 1 1 1 0 0
* 2 0 0 0 0
*/
}
} // end of try block
/*
* Read chunk back and display.
*/
int chunk_out[2][5]; // buffer for chunk to be read
dataset.read(chunk_out, PredType::NATIVE_INT, mspace3, filespace);
cout << endl;
cout << "Chunk:" << endl;
for (j = 0; j < chunk_dims[0]; j++) {
for (i = 0; i < chunk_dims[1]; i++)
cout << chunk_out[j][i] << " ";
cout << endl;
}
/*
* Chunk:
* 1 1 1 0 0
* 2 0 0 0 0
*/
}
} // end of try block
// catch failure caused by the H5File operations
catch( FileIException error )
{
error.printErrorStack();
return -1;
catch (FileIException error) {
error.printErrorStack();
return -1;
}
// catch failure caused by the DataSet operations
catch( DataSetIException error )
{
error.printErrorStack();
return -1;
catch (DataSetIException error) {
error.printErrorStack();
return -1;
}
// catch failure caused by the DataSpace operations
catch( DataSpaceIException error )
{
error.printErrorStack();
return -1;
catch (DataSpaceIException error) {
error.printErrorStack();
return -1;
}
return 0;
}

View File

@@ -6,7 +6,7 @@
* This file is part of HDF5. The full HDF5 copyright notice, including *
* terms governing use, modification, and redistribution, is contained in *
* the COPYING file, which can be found at the root of the source code *
* distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
* distribution tree, or in https://www.hdfgroup.org/licenses. *
* If you do not have access to either file, you may request a copy from *
* help@hdfgroup.org. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
@@ -17,11 +17,7 @@
* and read back fields' subsets.
*/
#ifdef OLD_HEADER_FILENAME
#include <iostream.h>
#else
#include <iostream>
#endif
using std::cout;
using std::endl;
@@ -29,175 +25,170 @@ using std::endl;
#include "H5Cpp.h"
using namespace H5;
const H5std_string FILE_NAME( "SDScompound.h5" );
const H5std_string DATASET_NAME( "ArrayOfStructures" );
const H5std_string MEMBER1( "a_name" );
const H5std_string MEMBER2( "b_name" );
const H5std_string MEMBER3( "c_name" );
const int LENGTH = 10;
const int RANK = 1;
const H5std_string FILE_NAME("SDScompound.h5");
const H5std_string DATASET_NAME("ArrayOfStructures");
const H5std_string MEMBER1("a_name");
const H5std_string MEMBER2("b_name");
const H5std_string MEMBER3("c_name");
const int LENGTH = 10;
const int RANK = 1;
int main(void)
int
main(void)
{
/* First structure and dataset*/
typedef struct s1_t {
int a;
float b;
double c;
} s1_t;
/* First structure and dataset*/
typedef struct s1_t {
int a;
float b;
double c;
} s1_t;
/* Second structure (subset of s1_t) and dataset*/
typedef struct s2_t {
double c;
int a;
} s2_t;
/* Second structure (subset of s1_t) and dataset*/
typedef struct s2_t {
double c;
int a;
} s2_t;
// Try block to detect exceptions raised by any of the calls inside it
try
{
/*
* Initialize the data
*/
int i;
s1_t s1[LENGTH];
for (i = 0; i< LENGTH; i++)
{
s1[i].a = i;
s1[i].b = i*i;
s1[i].c = 1./(i+1);
}
// Try block to detect exceptions raised by any of the calls inside it
try {
/*
* Initialize the data
*/
int i;
s1_t s1[LENGTH];
for (i = 0; i < LENGTH; i++) {
s1[i].a = i;
s1[i].b = i * i;
s1[i].c = 1. / (i + 1);
}
/*
* Turn off the auto-printing when failure occurs so that we can
* handle the errors appropriately
*/
Exception::dontPrint();
/*
* Turn off the auto-printing when failure occurs so that we can
* handle the errors appropriately
*/
Exception::dontPrint();
/*
* Create the data space.
*/
hsize_t dim[] = {LENGTH}; /* Dataspace dimensions */
DataSpace space( RANK, dim );
/*
* Create the data space.
*/
hsize_t dim[] = {LENGTH}; /* Dataspace dimensions */
DataSpace space(RANK, dim);
/*
* Create the file.
*/
H5File* file = new H5File( FILE_NAME, H5F_ACC_TRUNC );
/*
* Create the file.
*/
H5File *file = new H5File(FILE_NAME, H5F_ACC_TRUNC);
/*
* Create the memory datatype.
*/
CompType mtype1( sizeof(s1_t) );
mtype1.insertMember( MEMBER1, HOFFSET(s1_t, a), PredType::NATIVE_INT);
mtype1.insertMember( MEMBER3, HOFFSET(s1_t, c), PredType::NATIVE_DOUBLE);
mtype1.insertMember( MEMBER2, HOFFSET(s1_t, b), PredType::NATIVE_FLOAT);
/*
* Create the memory datatype.
*/
CompType mtype1(sizeof(s1_t));
mtype1.insertMember(MEMBER1, HOFFSET(s1_t, a), PredType::NATIVE_INT);
mtype1.insertMember(MEMBER3, HOFFSET(s1_t, c), PredType::NATIVE_DOUBLE);
mtype1.insertMember(MEMBER2, HOFFSET(s1_t, b), PredType::NATIVE_FLOAT);
/*
* Create the dataset.
*/
DataSet* dataset;
dataset = new DataSet(file->createDataSet(DATASET_NAME, mtype1, space));
/*
* Create the dataset.
*/
DataSet *dataset;
dataset = new DataSet(file->createDataSet(DATASET_NAME, mtype1, space));
/*
* Write data to the dataset;
*/
dataset->write( s1, mtype1 );
/*
* Write data to the dataset;
*/
dataset->write(s1, mtype1);
/*
* Release resources
*/
delete dataset;
delete file;
/*
* Release resources
*/
delete dataset;
delete file;
/*
* Open the file and the dataset.
*/
file = new H5File( FILE_NAME, H5F_ACC_RDONLY );
dataset = new DataSet (file->openDataSet( DATASET_NAME ));
/*
* Open the file and the dataset.
*/
file = new H5File(FILE_NAME, H5F_ACC_RDONLY);
dataset = new DataSet(file->openDataSet(DATASET_NAME));
/*
* Create a datatype for s2
*/
CompType mtype2( sizeof(s2_t) );
/*
* Create a datatype for s2
*/
CompType mtype2(sizeof(s2_t));
mtype2.insertMember( MEMBER3, HOFFSET(s2_t, c), PredType::NATIVE_DOUBLE);
mtype2.insertMember( MEMBER1, HOFFSET(s2_t, a), PredType::NATIVE_INT);
mtype2.insertMember(MEMBER3, HOFFSET(s2_t, c), PredType::NATIVE_DOUBLE);
mtype2.insertMember(MEMBER1, HOFFSET(s2_t, a), PredType::NATIVE_INT);
/*
* Read two fields c and a from s1 dataset. Fields in the file
* are found by their names "c_name" and "a_name".
*/
s2_t s2[LENGTH];
dataset->read( s2, mtype2 );
/*
* Read two fields c and a from s1 dataset. Fields in the file
* are found by their names "c_name" and "a_name".
*/
s2_t s2[LENGTH];
dataset->read(s2, mtype2);
/*
* Display the fields
*/
cout << endl << "Field c : " << endl;
for( i = 0; i < LENGTH; i++)
cout << s2[i].c << " ";
cout << endl;
/*
* Display the fields
*/
cout << endl << "Field c : " << endl;
for (i = 0; i < LENGTH; i++)
cout << s2[i].c << " ";
cout << endl;
cout << endl << "Field a : " << endl;
for( i = 0; i < LENGTH; i++)
cout << s2[i].a << " ";
cout << endl;
cout << endl << "Field a : " << endl;
for (i = 0; i < LENGTH; i++)
cout << s2[i].a << " ";
cout << endl;
/*
* Create a datatype for s3.
*/
CompType mtype3( sizeof(float) );
/*
* Create a datatype for s3.
*/
CompType mtype3(sizeof(float));
mtype3.insertMember( MEMBER2, 0, PredType::NATIVE_FLOAT);
mtype3.insertMember(MEMBER2, 0, PredType::NATIVE_FLOAT);
/*
* Read field b from s1 dataset. Field in the file is found by its name.
*/
float s3[LENGTH]; // Third "structure" - used to read float field of s1
dataset->read( s3, mtype3 );
/*
* Read field b from s1 dataset. Field in the file is found by its name.
*/
float s3[LENGTH]; // Third "structure" - used to read float field of s1
dataset->read(s3, mtype3);
/*
* Display the field
*/
cout << endl << "Field b : " << endl;
for( i = 0; i < LENGTH; i++)
cout << s3[i] << " ";
cout << endl;
/*
* Display the field
*/
cout << endl << "Field b : " << endl;
for (i = 0; i < LENGTH; i++)
cout << s3[i] << " ";
cout << endl;
/*
* Release resources
*/
delete dataset;
delete file;
} // end of try block
/*
* Release resources
*/
delete dataset;
delete file;
} // end of try block
// catch failure caused by the H5File operations
catch( FileIException error )
{
error.printErrorStack();
return -1;
}
// catch failure caused by the H5File operations
catch (FileIException error) {
error.printErrorStack();
return -1;
}
// catch failure caused by the DataSet operations
catch( DataSetIException error )
{
error.printErrorStack();
return -1;
}
// catch failure caused by the DataSet operations
catch (DataSetIException error) {
error.printErrorStack();
return -1;
}
// catch failure caused by the DataSpace operations
catch( DataSpaceIException error )
{
error.printErrorStack();
return -1;
}
// catch failure caused by the DataSpace operations
catch (DataSpaceIException error) {
error.printErrorStack();
return -1;
}
// catch failure caused by the DataSpace operations
catch( DataTypeIException error )
{
error.printErrorStack();
return -1;
}
// catch failure caused by the DataSpace operations
catch (DataTypeIException error) {
error.printErrorStack();
return -1;
}
return 0;
return 0;
}

View File

@@ -6,7 +6,7 @@
* This file is part of HDF5. The full HDF5 copyright notice, including *
* terms governing use, modification, and redistribution, is contained in *
* the COPYING file, which can be found at the root of the source code *
* distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
* distribution tree, or in https://www.hdfgroup.org/licenses. *
* If you do not have access to either file, you may request a copy from *
* help@hdfgroup.org. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
@@ -15,115 +15,105 @@
* This example writes a dataset to a new HDF5 file.
*/
#ifdef OLD_HEADER_FILENAME
#include <iostream.h>
#else
#include <iostream>
#endif
#include <string>
#include "H5Cpp.h"
using namespace H5;
const H5std_string FILE_NAME( "SDS.h5" );
const H5std_string DATASET_NAME( "IntArray" );
const int NX = 5; // dataset dimensions
const int NY = 6;
const int RANK = 2;
const H5std_string FILE_NAME("SDS.h5");
const H5std_string DATASET_NAME("IntArray");
const int NX = 5; // dataset dimensions
const int NY = 6;
const int RANK = 2;
int main (void)
int
main(void)
{
/*
* Data initialization.
*/
int i, j;
int data[NX][NY]; // buffer for data to write
for (j = 0; j < NX; j++)
{
for (i = 0; i < NY; i++)
data[j][i] = i + j;
}
/*
* 0 1 2 3 4 5
* 1 2 3 4 5 6
* 2 3 4 5 6 7
* 3 4 5 6 7 8
* 4 5 6 7 8 9
*/
/*
* Data initialization.
*/
int i, j;
int data[NX][NY]; // buffer for data to write
for (j = 0; j < NX; j++) {
for (i = 0; i < NY; i++)
data[j][i] = i + j;
}
/*
* 0 1 2 3 4 5
* 1 2 3 4 5 6
* 2 3 4 5 6 7
* 3 4 5 6 7 8
* 4 5 6 7 8 9
*/
// Try block to detect exceptions raised by any of the calls inside it
try
{
/*
* Turn off the auto-printing when failure occurs so that we can
* handle the errors appropriately
*/
Exception::dontPrint();
// Try block to detect exceptions raised by any of the calls inside it
try {
/*
* Turn off the auto-printing when failure occurs so that we can
* handle the errors appropriately
*/
Exception::dontPrint();
/*
* Create a new file using H5F_ACC_TRUNC access,
* default file creation properties, and default file
* access properties.
*/
H5File file( FILE_NAME, H5F_ACC_TRUNC );
/*
* Create a new file using H5F_ACC_TRUNC access,
* default file creation properties, and default file
* access properties.
*/
H5File file(FILE_NAME, H5F_ACC_TRUNC);
/*
* Define the size of the array and create the data space for fixed
* size dataset.
*/
hsize_t dimsf[2]; // dataset dimensions
dimsf[0] = NX;
dimsf[1] = NY;
DataSpace dataspace( RANK, dimsf );
/*
* Define the size of the array and create the data space for fixed
* size dataset.
*/
hsize_t dimsf[2]; // dataset dimensions
dimsf[0] = NX;
dimsf[1] = NY;
DataSpace dataspace(RANK, dimsf);
/*
* Define datatype for the data in the file.
* We will store little endian INT numbers.
*/
IntType datatype( PredType::NATIVE_INT );
datatype.setOrder( H5T_ORDER_LE );
/*
* Define datatype for the data in the file.
* We will store little endian INT numbers.
*/
IntType datatype(PredType::NATIVE_INT);
datatype.setOrder(H5T_ORDER_LE);
/*
* Create a new dataset within the file using defined dataspace and
* datatype and default dataset creation properties.
*/
DataSet dataset = file.createDataSet( DATASET_NAME, datatype, dataspace );
/*
* Create a new dataset within the file using defined dataspace and
* datatype and default dataset creation properties.
*/
DataSet dataset = file.createDataSet(DATASET_NAME, datatype, dataspace);
/*
* Write the data to the dataset using default memory space, file
* space, and transfer properties.
*/
dataset.write( data, PredType::NATIVE_INT );
} // end of try block
/*
* Write the data to the dataset using default memory space, file
* space, and transfer properties.
*/
dataset.write(data, PredType::NATIVE_INT);
} // end of try block
// catch failure caused by the H5File operations
catch( FileIException error )
{
error.printErrorStack();
return -1;
}
// catch failure caused by the H5File operations
catch (FileIException error) {
error.printErrorStack();
return -1;
}
// catch failure caused by the DataSet operations
catch( DataSetIException error )
{
error.printErrorStack();
return -1;
}
// catch failure caused by the DataSet operations
catch (DataSetIException error) {
error.printErrorStack();
return -1;
}
// catch failure caused by the DataSpace operations
catch( DataSpaceIException error )
{
error.printErrorStack();
return -1;
}
// catch failure caused by the DataSpace operations
catch (DataSpaceIException error) {
error.printErrorStack();
return -1;
}
// catch failure caused by the DataSpace operations
catch( DataTypeIException error )
{
error.printErrorStack();
return -1;
}
// catch failure caused by the DataSpace operations
catch (DataTypeIException error) {
error.printErrorStack();
return -1;
}
return 0; // successfully terminated
return 0; // successfully terminated
}

Some files were not shown because too many files have changed in this diff Show More