version 1.3, 2005/03/01 23:39:01
|
version 1.4, 2005/03/16 16:39:51
|
|
|
The compression logic is installed as a conditionally compiled option. | The compression logic is installed as a conditionally compiled option. |
To enable the compressed repository functionality: | To enable the compressed repository functionality: |
1. Install zlib | 1. Install zlib |
2. define PEGASUS_COMPRESS_REPOSITORY=on in the environment |
2. define PEGASUS_ENABLE_COMPRESSED_REPOSITORY=on in the environment |
3. build Pegasus. | 3. build Pegasus. |
| |
LIBZ INSTALLATION: | LIBZ INSTALLATION: |
|
|
------------ | ------------ |
| |
To enable the compressed repository functionality | To enable the compressed repository functionality |
define PEGASUS_COMPRESS_REPOSITORY in the environment, |
define PEGASUS_ENABLE_COMPRESSED_REPOSITORY in the environment, |
prior to building the tree. Then build the whole source tree. | prior to building the tree. Then build the whole source tree. |
| |
set PEGASUS_COMPRESS_REPOSITORY=on |
set PEGASUS_ENABLE_COMPRESSED_REPOSITORY=on |
export PEGASUS_COMPRESS_REPOSITORY=on |
export PEGASUS_ENABLE_COMPRESSED_REPOSITORY=on |
etc. | etc. |
| |
USAGE: | USAGE: |
|
|
set PEGASUS_COMPRESS_REPSOITORY to "build_non_compresed". | set PEGASUS_COMPRESS_REPSOITORY to "build_non_compresed". |
This is used by the CompareXmlCompressed repository test. | This is used by the CompareXmlCompressed repository test. |
| |
export PEGASUS_COMPRESS_REPOSITORY=on |
export PEGASUS_ENABLE_COMPRESSED_REPOSITORY=on |
export PEGASUS_COMPRESS_REPOSITORY=build_non_compressed |
export PEGASUS_ENABLE_COMPRESSED_REPOSITORY=build_non_compressed |
set PEGASUS_COMPRESS_REPOSITORY=on |
set PEGASUS_ENABLE_COMPRESSED_REPOSITORY=on |
set PEGASUS_COMPRESS_REPOSITORY=build_non_compressed |
set PEGASUS_ENABLE_COMPRESSED_REPOSITORY=build_non_compressed |
| |
TESTERS NOTE: | TESTERS NOTE: |
------------ | ------------ |
| |
If PEGASUS_COMPRESS_REPOSITORY is defined then the CompareXmlCompressed |
If PEGASUS_ENABLE_COMPRESSED_REPOSITORY is defined then the CompareXmlCompressed |
test is run. If it is not defined then the CompareXmlCompressed is not run. | test is run. If it is not defined then the CompareXmlCompressed is not run. |
| |
However if you have the zlibs installed and want to normally test | However if you have the zlibs installed and want to normally test |
everything with a regular repository but want to run the | everything with a regular repository but want to run the |
CompareXmlCompressed test then define PEGASUS_COMPRESS_REPOSITORY_TEST. |
CompareXmlCompressed test then define PEGASUS_ENABLE_COMPRESSED_REPOSITORY_TEST. |
This will cause the test to run, it will recompile the CIMRepository for | This will cause the test to run, it will recompile the CIMRepository for |
compression, run the test and then recompile CIMRepository for | compression, run the test and then recompile CIMRepository for |
non-compression. | non-compression. |