diff options
author | Xuan Bai <xuanbai@hdfgroup.org> | 2004-09-01 22:22:33 (GMT) |
---|---|---|
committer | Xuan Bai <xuanbai@hdfgroup.org> | 2004-09-01 22:22:33 (GMT) |
commit | bc7d82ab16a92b04c52a4b5c277b519cab01af38 (patch) | |
tree | 94b715fbf6153d646bcb43e625aab94ead557723 /windows | |
parent | 0f60918a110acc99333a7acc1879537bfe526287 (diff) | |
download | hdf5-bc7d82ab16a92b04c52a4b5c277b519cab01af38.zip hdf5-bc7d82ab16a92b04c52a4b5c277b519cab01af38.tar.gz hdf5-bc7d82ab16a92b04c52a4b5c277b519cab01af38.tar.bz2 |
[svn-r9185] 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:
Diffstat (limited to 'windows')
-rwxr-xr-x | windows/all.zip | bin | 334393 -> 336098 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/windows/all.zip b/windows/all.zip Binary files differindex 5422281..b709005 100755 --- a/windows/all.zip +++ b/windows/all.zip |