From df5ca9608dd549b7afb8c82fcaeb161c8c991435 Mon Sep 17 00:00:00 2001 From: Xuan Bai Date: Wed, 1 Sep 2004 17:27:31 -0500 Subject: [svn-r9187] Purpose: New feature. Description: Before this update, we use per_hdf_library convention to set environment variables for gzip and szip compression libraries, for example, HDF5_EXT_LIBS = zlib.lib szlib.lib. As some of HDF5 dump and repack tests should be skipped when gzip/szip are disabled. But we found it was very complicated to check whether gzip/szip were disabled in Windows with the per_hdf_library convention. Using per_external_library naming convention makes the checking much easier. So we decide to convert to per_external_library naming convention. A new environment variable H5_SZIP_CAN_ENCODE is added to check whether szip encoding is enabled. dumptest.bat and repacktest.bat batch files are also updated so these tests which use gzip/szip filters will be skipped when gzip/szip are disabled and will be tested when gzip/szip are enabled. Solution: Now we should set the following environment variables: HDF5_EXT_ZLIB = zlib.lib HDF5_EXT_SZIP = szlib.lib HDF5_EXT_ZLIB_DLL = c:\zlib114\dll\zlib.lib HDF5_EXT_SZIP_DLL = szlibdll.lib when we want to enable gzip/szip. Set H5_SZIP_CAN_ENCODE as 1 when szip encoding is enabled and as 0 when szip encoding is disabled. Platforms tested: Visual C++ 6.0 on Windows 2000/XP. (Will test with .NET after this check-in). Misc. update: --- windows/all.zip | Bin 342926 -> 344681 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/windows/all.zip b/windows/all.zip index 28deb8b..70ee1cd 100755 Binary files a/windows/all.zip and b/windows/all.zip differ -- cgit v0.12