From 52c93de37942a0dd7c742118fc8ef76eba68c626 Mon Sep 17 00:00:00 2001 From: Xuan Bai Date: Thu, 4 Nov 2004 18:57:57 -0500 Subject: [svn-r9507] Purpose: 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: --- windows/all.zip | Bin 439314 -> 442674 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/windows/all.zip b/windows/all.zip index f3d8e03..9242030 100755 Binary files a/windows/all.zip and b/windows/all.zip differ -- cgit v0.12