diff options
author | Martin Nowack <martin@se.inf.tu-dresden.de> | 2016-07-08 14:42:34 +0200 |
---|---|---|
committer | Martin Nowack <martin@se.inf.tu-dresden.de> | 2016-07-08 14:48:28 +0200 |
commit | 00cdc62b7a8df39d13f734ecc77077e427912f64 (patch) | |
tree | 46ab249dc52b28fdb2cc760a31534ae1333e5cb3 /tools | |
parent | 0d199e6174fa03893a64e3781368410368a1235c (diff) | |
download | klee-00cdc62b7a8df39d13f734ecc77077e427912f64.tar.gz |
Support gzip-based compression of raw_outstreams
Provide initial zlib-based compression support for raw_outstreams. Replacing llvm::raw_fd_outstreams with compressed_fd_outstreams automatically compresses data in gzip format before writing to file. Options added: * --compress-log to compress all query log files (e.g. *.pc, *.smt2) on the fly. Every query log file gets extended with .gz. * --debug-compress-instructions to compress logfile for instruction stream on the fly.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/kleaver/Makefile | 4 | ||||
-rw-r--r-- | tools/klee/Makefile | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/tools/kleaver/Makefile b/tools/kleaver/Makefile index 1631dda6..a2250fe0 100644 --- a/tools/kleaver/Makefile +++ b/tools/kleaver/Makefile @@ -32,3 +32,7 @@ include $(PROJ_SRC_ROOT)/MetaSMT.mk ifeq ($(HAVE_TCMALLOC),1) LIBS += $(TCMALLOC_LIB) endif + +ifeq ($(HAVE_ZLIB),1) + LIBS += -lz +endif diff --git a/tools/klee/Makefile b/tools/klee/Makefile index 676507e0..8d50403f 100644 --- a/tools/klee/Makefile +++ b/tools/klee/Makefile @@ -33,3 +33,7 @@ include $(PROJ_SRC_ROOT)/MetaSMT.mk ifeq ($(HAVE_TCMALLOC),1) LIBS += $(TCMALLOC_LIB) endif + +ifeq ($(HAVE_ZLIB),1) + LIBS += -lz +endif \ No newline at end of file |