mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
52c93de379
New feature and update. Description: New feature: Implement run-time detection of the Szip encoder. Update: Fix bug in hdf5 library installation file hdf5\installhdf5lib.bat. Solution: 1. Add two new projects, testh5repack_detect_szip and testh5repack_detect_szipdll under hdf5\tools\testfiles directory, into HDF5 Windows workspace, and add them to the dependencies of "all" dummy project. The first one will generate an executable file testh5repack_detect_szip.exe, which can detect which Szip library (with or without encoder) was used when the HDF5 binaries were generated, and the detection output can be used with repacktest.bat to determine whether some HDF5 static dump tests need to be skipped. The second one will generate an executable file testh5repack_detest_szipdll.exe, which can detect which Szip library (with or without encoder) is used when running HDF5 tools tests, and the detection output can be used with repacktest.bat to dynamically skipped some HDF5 DLL dump tests. So in the future, we still need two sets of static binaries, one for Szip with encoder, and another one for without encoder. We can share the same DLL binaries for Szip with/without encoder. 2. hdf5\tools\repacktest.bat is updated accordingly to implement this new feature of dynamic discovery of encoder. 3. hdf5\src\H5pubconf.h is updated accordingly by removing "#define H5_SZIP_CAN_ENCODE 1", the previous Szip encoder macro. 4. Several Fortran DLL related files were not installed by hdf5\installhdf5lib.bat file. Without these files, there will be some trouble to link with Fortran DLL when using HDF5 binary distributions. Missed files include Module files for hdf5_fortrandll project and DLL outputs for hdf5_f90cstubdll project. Scripts were added in installhdf5lib.bat to copy these missed Fortran DLL related files to hdf5\hdf5lib directory. Platforms tested: Visual C++ 6.0 on Windows 2000/XP. Misc. update: |
||
---|---|---|
.. | ||
all.zip |