[PATCH] D32048: ClamAV: Copy zlib into ClamAV benchmark

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 13 14:00:36 PDT 2017


MatzeB created this revision.
Herald added subscribers: mgorny, mcrosier.

Avoid the external zlib dependency in ClamAV by copying zlib-1.2.11
source into the benchmark.

External dependencies are problematic in benchmarks because:

- They are not compiled with the same compiler/flags as the rest of the benchmarks.
- They are an additional burden to setup when running the test-suite. While zlib is a really popular and ubiquitous library it is still sometimes missing in cross-compilation settings.
- No external dependencies simplifies the buildsystem.

This will unfortunately increase the overal compilatime of ClamAV and may therefore disrupt the history of CTMark data.


Repository:
  rL LLVM

https://reviews.llvm.org/D32048

Files:
  LICENSE.TXT
  MultiSource/Applications/ClamAV/CMakeLists.txt
  MultiSource/Applications/ClamAV/Makefile
  MultiSource/Applications/ClamAV/zlib/crc32.h
  MultiSource/Applications/ClamAV/zlib/deflate.h
  MultiSource/Applications/ClamAV/zlib/gzguts.h
  MultiSource/Applications/ClamAV/zlib/inffast.h
  MultiSource/Applications/ClamAV/zlib/inffixed.h
  MultiSource/Applications/ClamAV/zlib/inflate.h
  MultiSource/Applications/ClamAV/zlib/inftrees.h
  MultiSource/Applications/ClamAV/zlib/trees.h
  MultiSource/Applications/ClamAV/zlib/zconf.h
  MultiSource/Applications/ClamAV/zlib/zlib.h
  MultiSource/Applications/ClamAV/zlib/zutil.h
  MultiSource/Applications/ClamAV/zlib_adler32.c
  MultiSource/Applications/ClamAV/zlib_compress.c
  MultiSource/Applications/ClamAV/zlib_crc32.c
  MultiSource/Applications/ClamAV/zlib_deflate.c
  MultiSource/Applications/ClamAV/zlib_gzclose.c
  MultiSource/Applications/ClamAV/zlib_gzlib.c
  MultiSource/Applications/ClamAV/zlib_gzread.c
  MultiSource/Applications/ClamAV/zlib_gzwrite.c
  MultiSource/Applications/ClamAV/zlib_infback.c
  MultiSource/Applications/ClamAV/zlib_inffast.c
  MultiSource/Applications/ClamAV/zlib_inflate.c
  MultiSource/Applications/ClamAV/zlib_inftrees.c
  MultiSource/Applications/ClamAV/zlib_trees.c
  MultiSource/Applications/ClamAV/zlib_uncompr.c
  MultiSource/Applications/ClamAV/zlib_zutil.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32048.95200.patch
Type: text/x-patch
Size: 532260 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170413/19e91a2d/attachment-0001.bin>


More information about the llvm-commits mailing list