diff options
author | Xuan Bai <xuanbai@hdfgroup.org> | 2004-09-01 22:27:31 (GMT) |
---|---|---|
committer | Xuan Bai <xuanbai@hdfgroup.org> | 2004-09-01 22:27:31 (GMT) |
commit | df5ca9608dd549b7afb8c82fcaeb161c8c991435 (patch) | |
tree | b2c2958007f00bce859d1fd59e1e3b4c731c1b75 /windows | |
parent | cb7f03a26ff906175e5bf37af57547681683770f (diff) | |
download | hdf5-df5ca9608dd549b7afb8c82fcaeb161c8c991435.zip hdf5-df5ca9608dd549b7afb8c82fcaeb161c8c991435.tar.gz hdf5-df5ca9608dd549b7afb8c82fcaeb161c8c991435.tar.bz2 |
[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:
Diffstat (limited to 'windows')
-rwxr-xr-x | windows/all.zip | bin | 342926 -> 344681 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/windows/all.zip b/windows/all.zip Binary files differindex 28deb8b..70ee1cd 100755 --- a/windows/all.zip +++ b/windows/all.zip |